how many is the capacity of users online in RAM:8GB 4 Core Processor , 160GB SSD, 5TB Transfer?

My server use OpenLiteSpeed to run php.
My web application is Social media.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hey friend!

This is a great question, though I regret it is also one that cannot be answered clearly. Capacity is extremely relative to factors that cannot always be predicted. To give you a rough idea of what I’m talking about:

Let’s say /page1 uses 30% more resources than /page2 to load, perhaps by performing more database queries to build the page. This means /page1 has less capacity than /page2, but how can you predict the resources required for all pages and which pages will be visited by users simultaneously? You honestly can’t, at least not reasonably or reliably.

Every piece of software will be unique in how it performs, and users/crawlers will be difficult to predict. The best you can do, I would suggest, is get a rough idea by using something like loadimpact.com to simulate traffic, and then comparing the traffic against resource usage while running something like “htop” over SSH. This will only be a rough estimate, and should not be considered overly reliable for calculation.

Jarland

Hi @mokpost7,

You’re welcome to check OpenLiteSpeed benchmark results here and run the basic ab benchmark command to test. Basically, huge traffic isn’t a problem when serving cached pages. But if you have multiple non-cached pages, then a bottleneck could occur at the PHP or database level.

Best,
Eric

Submit an Answer