[users@httpd] apache bench -k switch

2011-12-23 Thread S Ahmed
When I add the -k switch during my benchmarks, my requests per second increases substantially. Can someone explain to me what -k does? Is it simply re-using the sockets opened? Is it more or less realistic (mimics real world traffic) to have the -k switch?

Re: [users@httpd] apache bench -k switch

2011-12-23 Thread Mark Montague
On December 23, 2011 12:03 , S Ahmed sahmed1...@gmail.com wrote: When I add the -k switch during my benchmarks, my requests per second increases substantially. Can someone explain to me what -k does? From the ab man page: -k Enable the HTTP KeepAlive feature, i.e., perform