Web server capacity planning
-
Hi all,
I would like to know how do you plan for a server hosting for a high traffic website/campaign. I am still trying to find the best logical calculation for CPU, RAM and bandwidth for cloud hosting like Azure/AWS. Is there any formula or any base calculations i could use if I have the concurrent connection numbers?
-
There really isn't. Every website has completely unique in its CPU and memory needs. And there are so many factors like CDN caching, web server, cache mechanisms and such that really make things complex. In the real world you need to do testing to see what kind of load is generated by what kind of traffic for a site.
-
What is it hosting?
Without SQL transactions even a modest linux server and host a high traffic website. As soon as you throw in SQL or another DB connection it can change things quite a bit. But for you static pages just loading dynamic content from the SQL DB you should implement caching as much as possible to reduce that load. -
@scottalanmiller said:
There really isn't. Every website has completely unique in its CPU and memory needs. And there are so many factors like CDN caching, web server, cache mechanisms and such that really make things complex. In the real world you need to do testing to see what kind of load is generated by what kind of traffic for a site.
We've suggested client to do a simulated test on the test server and see the required specs. Thanks a lot for the advice.
-
No problem. A simulation will tell you a lot.