Running grizzly 1.6.1 http on windows XP
SelectorThread server = new SelectorThread();
server.setPort(9999);
server.setDisplayConfiguration(verbose);
server.setAdapter(new StaticResourcesAdapter("."));
server.initEndpoint();
server.startEndpoint();
A file named index.html exists in the directory.
ab -c 100 -n 100000 -p file.out -k
http://ncampbell-pc:9999/ on RHEL
file.out is 512 bytes.
$ ab -c 100 -n 100000 -p file.out -k
http://ncampbell-pc:9999/
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd,
http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation,
http://www.apache.org/
Benchmarking ncampbell-pc (be patient)
Completed 10000 requests
apr_recv: Connection reset by peer (104)
Total of 12438 requests completed
I'm pretty sure I'm doing something naive, but I need your guidance.
-Noah