[PHP] how many requests can php serve?
Hi there, I am wondering how many requests at one time php can serve before the site brakes down. Someone told me that my site has been down yesterday for a while after I did anounce it through a university email list going to 2500 users. Maybe there is a smart artikle on that. Thanx for any help, Andy- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] how many requests can php serve?
On Wed, 17 Jul 2002, Andy wrote: I am wondering how many requests at one time php can serve before the site brakes down. Someone told me that my site has been down yesterday for a while after I did anounce it through a university email list going to 2500 users. It depends on: - Your network connection - Your hard drive - Your RAM - Your CPU - Your database - The design of your site - What the users are doing - Your caching strategy miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] how many requests can php serve?
ok .. you are right. But how about an average.. between 20 users per minute or similar is this a common rate on this data? : - Your network connection 100 MBit - Your hard drive pretty fast - Your RAM 256MB - Your CPU Celleron 900 - Your database mysql - The design of your site as good as it gets:-) - What the users are doing mainly displaying images 4 - 40 kb - Your caching strategy ? No cashing server site. Is there something like a benchmark available on such thing? Andy Miguel Cruz [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, 17 Jul 2002, Andy wrote: I am wondering how many requests at one time php can serve before the site brakes down. Someone told me that my site has been down yesterday for a while after I did anounce it through a university email list going to 2500 users. It depends on: - Your network connection - Your hard drive - Your RAM - Your CPU - Your database - The design of your site - What the users are doing - Your caching strategy miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] how many requests can php serve?
Ever tried the basic ab (apache benchmark)?? It comes with the unix distro of it.. not sure about windows..YOu can test say 1000 requests with as many as you want at the same time.. Works good for load testing a group of servers behind a load balancer.. On Wed, 17 Jul 2002, Andy wrote: ok .. you are right. But how about an average.. between 20 users per minute or similar is this a common rate on this data? : - Your network connection 100 MBit - Your hard drive pretty fast - Your RAM 256MB - Your CPU Celleron 900 - Your database mysql - The design of your site as good as it gets:-) - What the users are doing mainly displaying images 4 - 40 kb - Your caching strategy ? No cashing server site. Is there something like a benchmark available on such thing? Andy Miguel Cruz [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, 17 Jul 2002, Andy wrote: I am wondering how many requests at one time php can serve before the site brakes down. Someone told me that my site has been down yesterday for a while after I did anounce it through a university email list going to 2500 users. It depends on: - Your network connection - Your hard drive - Your RAM - Your CPU - Your database - The design of your site - What the users are doing - Your caching strategy miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] how many requests can php serve?
Andy wrote: ok .. you are right. But how about an average.. between 20 users per minute or similar is this a common rate on this data? : Is there something like a benchmark available on such thing? Apache comes with ab for load testing. Maybe that will provide you with a means of making meaningful comparisons. There will be a php aspect to it, php opposed to say 3-tier java, but also things like is php a cgi, apache module or actually compiled into apache. When I hear of sites going down I perhaps incorrectly start saying there is something wrong. They should get slower but with connection throttling etc they should never actually crash. Or am I in WonderWorld? HTH Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] how many requests can php serve?
On Wed, 17 Jul 2002, Chris Hewitt wrote: Apache comes with ab for load testing. Maybe that will provide you with a means of making meaningful comparisons. There will be a php aspect to it, php opposed to say 3-tier java, but also things like is php a cgi, apache module or actually compiled into apache. When I hear of sites going down I perhaps incorrectly start saying there is something wrong. They should get slower but with connection throttling etc they should never actually crash. Or am I in WonderWorld? Some resources are easily renewable and others aren't. If your log entries take up all your drive space (and you share a partition with other more valuable things), or you have a resource leak (memory, database connections, etc.), you can quickly grind your server to a halt. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php