Ok John. I'm using the same os / ruby, so you should see the symptoms. I've made the test app available on github at: http://github.com/gmcinnes/Ruote--Sinatra--Thin-test-app
Run start_server.sh to start the thin server with ruote backing and then in a different place run test.sh (requires curl) to fire off a couple of requests to the thin server, and see the delays in question. Obviously if you don't have curl you can fire off requests any other way you find convenient, using the stuff in test.sh as a template. Let me know if you have any questions. Probably I've done something here to cause the problem, but I can't figure out what. I had things isolated to the point where thin hands off the request to EventMachine, and I know that ruote is using EM too, so I thought it might be some conflict, but now I'm not so sure... when I investigated today, I couldn't isolate that point. Best of luck, and let me know how I can help. Oh, and thanks! I have no idea how you get the time, but its much appreciated! Cheers, -grant On Oct 6, 7:53 pm, John Mettraux <[email protected]> wrote: > On Wed, Oct 7, 2009 at 1:04 AM, gmcinnes <[email protected]> wrote: > > > John, if you're still interested in this, I've finally found the time > > to break it out and create a minimal app that reproduces this. It's > > still happening with sinatra (0.9.2), ruote (0.9.20), thin (1.2.2). > > If you're interested, I can make it available however you prefer... > > just let me know. > > Hello Grant, > > I'm still interested. I will try your testcase on Snow Leopard with > ruby 1.8.7p72 unless told otherwise. > > Meanwhile ruote is moving on : > > http://github.com/jmettraux/ruote/tree/ruote2.0 > > There is an experiment with ruote 2.0 and sinatra at : > > http://github.com/jmettraux/ruote-http > > And Kenneth is working with sinatra as well : > > http://github.com/kennethkalmer/ruote-kit > > Looking forward to have a look at your test case. Best regards, > > -- > John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
