On 6/6/07, Qingshan Xie <xieq_49@xxxxxxxxx> wrote:
Hi, After KeepAlive On, multiple requests will be handled one at a time, or say "Sequentially". If there are 30 pages requested, could this "Sequential Processing"(like a queuing process) slow down the performance? On the other hand, without KeepAlive, 30 requests could be handled by 30 connections/threads simultaneously, it could be faster. Am I right? Can someone shed some lights on the above situation?
The HTTP spec and standard browser design limits the number of connections to (if I remember correctly) between 2 and 4. So you will never see 30 simultaneous connections. That would overwhelm a connection-per-thread server like apache. Instead you will see the same 2 to 4 connections being repeatedly setup and torn down, resulting in slower performance overall. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx