[go-nuts] Re: Speeding up a concurrent "simple" web server

2017-10-12 Thread lee
That is good to know thanks. Just shows how different it is! On Thursday, October 12, 2017 at 1:03:37 PM UTC+1, Slawomir Pryczek wrote: > > AB is using HTTP/1.0, so it isn't able to do keepalives and it may be the > case that you're really benchmarking your TCP stack, instead of your > webserve

[go-nuts] Re: Speeding up a concurrent "simple" web server

2017-10-12 Thread Slawomir Pryczek
AB is using HTTP/1.0, so it isn't able to do keepalives and it may be the case that you're really benchmarking your TCP stack, instead of your webserver... as TCP connect is probably the bottleneck here :) Not sure how it works under the hood, but enabling tcp_reuse, and tcp_recycle might impro

[go-nuts] Re: Speeding up a concurrent "simple" web server

2017-10-11 Thread lee
Thanks Dave, I just used "hey" (I didn't realise that ab was quite so bad!), it looks much better! Summary: Total: 36.1492 secs Slowest: 0.3418 secs Fastest: 0.0002 secs Average: 0.0349 secs Requests/sec: 2766.3147 Total data: 459420 bytes Size/request: 45942 bytes Res