Hi all,
I am running a test using ab against a local naviserver instance with a
vanilla config, and I am seeing requests with http keepalive enabled
having a delay of ~38ms per request compared to non-keepalive. This
rather surprised me; is there a config setting to avoid that delay, or
is it otherwise to be expected?
My config:
ns_section "ns/servers"
ns_param default Naviserver
ns_section "ns/server/default"
ns_param minthreads 20
ns_section "ns/server/default/modules"
ns_param nscp nscp.so
ns_param nssock nssock.so
ns_param nslog nslog.so
ns_section "ns/server/default/module/nssock"
ns_param port 8080
Tests:
$ ab -n 30 -c 1 http://localhost:8080/hello.html
...
Time per request: 0.170 [ms] (mean)
$ ab -k -n 30 -c 1 http://localhost:8080/hello.html
...
Time per request: 38.666 [ms] (mean)
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel