There is a working site written in Python (Django), and the database is MySQL.
Since the developers didn’t work hard on writing optimized code, the site was very heavy. And with attendance of ten thousand per day, at peak times, the server does not cope with the load and throws out those who did not have time to serve.
Here is the physical server system:
1. 2 cores at 1.8GHz
2. 2GB RAM
This is what the server is now deployed to:
mysql + nginx + fastcgi
So the question is : I would like to hear the opinions of experienced, experienced, or simply knowledgeable, on which you can still deploy this site, so that was as fast as possible, resource-intensive? Or is this bundle the fastest? Maybe someone did a speed comparison.
And it is also possible someone in the know how to optimize the server so that the giant number of queries in the database does not lie down the server, can some setting?
Thank.