![](https://lemmy.world/pictrs/image/67125896-f584-4dfe-9359-a72951cc8645.jpeg)
![](https://lemmy.world/pictrs/image/f3189f30-f8c8-4c4f-b957-e3a7bfd1c784.png)
One of the large applications I was working on had the same issue, to solve it we ended up creating multiple smaller instances and started hosting a set of related API’s in each server.
for example read operations like list posts, comments etc could be in one server. write operations can be clusered in one server.
Later, whichever server is getting overloaded can be split up again. In our case 20% of API’s used around 3/4th of server resources, so we split those 20% API’s in 4 large servers and kept the remaining 80% API’s in 3 small servers.
This worked for us because the DB’s were maintained in seperate servers.
I wonder if a quasi micro-services approach will solve the issue here.
Edit 1: If done properly this approach can be cost effective, in some cases it might cost 10 to 20 percentage more in server costs, however it will lead to a visible improvement in performance.
I wish this was true, but most climate change deniers will never acknowledge that climate change is happening. Even if they do they will never acknowledge it’s because of human activity.
Human race is going to suffer immensely because of the greed of a small percentage of super rich assholes, politicians and the stupidity of half of humanity.
I fear what kind of world will my children live in when they become adults.