+ 1

Resources allocation of apache server for php based web application.

How many users can concurently access apache server if resources are limited? Or how much resource shall we allocoated per user if there are 1 million users are concurently trying to use same application

26th Dec 2016, 2:36 PM
Ashusen Tamang (अशुसेन)
Ashusen Tamang (अशुसेन) - avatar
1 Resposta
+ 1
Depends on how limited your resources are and what it is you're site/application is doing. 1 million users at the same time is going to require hardware that isn't limited, otherwise you're going to have problems. If you really want to know the answers you'll have to dome some homework, it's unlikely anyone is really going to be able to answer your question here. You'll need to look at all specs, the CPU, amount of RAM, data storage requirements, RAID, amount of Bandwidth, type of Database, redundancy and backups, etc... A basic apache server serving very basic / static information could handle a lot of requests pretty quickly, your phone could even do that but as soon as you want php and databases a lot more work will need to go into your choice of hardware. If you're simply doing this for fun and nothing serious, I'd simply play around testing it yourself, try the apache benchmark tool, https://httpd.apache.org/docs/2.4/programs/ab.html Good luck.
27th Dec 2016, 11:33 AM
xmillsa