Re: [racket-users] Handling concurrent requests in the web server

2015-04-29 Thread Jay McCarthy
Hi Tim, I ran an experiment to test your servlet. The results are at this gist: https://gist.github.com/jeapostrophe/f7fd1e48be19300b7b15 You'll see that I ran it with serve/servlet, benchmarked with % ab -n 50 -c 5 http://localhost:9000/test 2>&1 | tee ab.log and that I got the expected numbe

Re: [racket-users] Handling concurrent requests in the web server

2015-04-28 Thread Neil Van Dyke
Tim Brown wrote on 04/28/2015 09:16 AM: Jay proved to me that the web-server was working with an experiment involving Apache Bench (ab); which is a nifty tool, I must say! I also like JMeter for this purpose, since JMeter can validate output, for performance stress-testing. Though JMeter is m

Re: [racket-users] Handling concurrent requests in the web server

2015-04-28 Thread Jay McCarthy
On Tue, Apr 28, 2015 at 9:16 AM, Tim Brown wrote: > David, > > Jay proved to me that the web-server was working with an experiment > involving Apache Bench (ab); which is a nifty tool, I must say! > > I'm still no wiser as to why the browser serialises GETs to a single > server. HTTP/1.1 > Hypot

Re: [racket-users] Handling concurrent requests in the web server

2015-04-28 Thread Tim Brown
David, Jay proved to me that the web-server was working with an experiment involving Apache Bench (ab); which is a nifty tool, I must say! I'm still no wiser as to why the browser serialises GETs to a single server. Hypothetically, if I wanted to AJAX the replies from my script into two divs -- I

Re: [racket-users] Handling concurrent requests in the web server

2015-04-28 Thread David T. Pierson
On Tue, Apr 28, 2015 at 12:38:54PM +0100, Tim Brown wrote: > Tinkering with network.pipelining settings has done me no good... so > going off-topic slightly -- how do I use Firefox to test web server > concurrency? [Choose to answer this or not, I'm about to JFGI] Rather than expect a single brows

Re: [racket-users] Handling concurrent requests in the web server

2015-04-28 Thread Tim Brown
Jay, On 28/04/15 11:53, Jay McCarthy wrote: I ran an experiment to test your servlet. The results are at this gist: Thanks for that experiment. I have reproduced your results. So... Racket /is/ serving concurrent requests. There is a bare possibility that it is working on OS X/my machine an