phantomd
Chevereto Member
Hello together
to run a high frequented website, it's aswell important to take the most out of your hardware. I made some tests to compare apche vs. nginx. The following test is to deliver a simple index.html with the content hello world
I use the tool ab with the following parameters to perform the test: ab -n 10000 -c 100 it simulate 10000 requests with 100 parallel connections. here are the results
Apache
Nginx
as you can see nginx performs approx 2529 req/sek more than apache. Aswell the needed Time per request is nginx faster. This is only a overview about the webserver, with large sites there are many many more things to consiter for example the write rates of the sql database behind. If you would run a multiserver node in future i would suggest to use apache as portal server and nginx on the store servers. nginx is famous to deliver static content. Here a example how your multiserver installation could be:
I hope that chevereto 3 will work like this. The user will reach the portal server. Each upload a user make will be stored per roundrobin on each server behind in the cluster. So if there is a image request it would be delivered directly from the cluster servers behind
I hope my littel overview is helpfull
cheers
phantomd
to run a high frequented website, it's aswell important to take the most out of your hardware. I made some tests to compare apche vs. nginx. The following test is to deliver a simple index.html with the content hello world
I use the tool ab with the following parameters to perform the test: ab -n 10000 -c 100 it simulate 10000 requests with 100 parallel connections. here are the results
Apache
Nginx
as you can see nginx performs approx 2529 req/sek more than apache. Aswell the needed Time per request is nginx faster. This is only a overview about the webserver, with large sites there are many many more things to consiter for example the write rates of the sql database behind. If you would run a multiserver node in future i would suggest to use apache as portal server and nginx on the store servers. nginx is famous to deliver static content. Here a example how your multiserver installation could be:
I hope that chevereto 3 will work like this. The user will reach the portal server. Each upload a user make will be stored per roundrobin on each server behind in the cluster. So if there is a image request it would be delivered directly from the cluster servers behind
I hope my littel overview is helpfull
cheers
phantomd