Hello Grant,
Very interesting. I'd like to try and reproduce the issue. Could you
please indicate the versions of the gems you are using ? (rack,
sinatra, thin, mongrel, ruote and also the ruby version).
Thanks in advance,
--
John Mettraux - http://jmettraux.wordpress.com
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,
Hello Grant,
ruote 0.9.x is not using EM, ruote 2.0 uses it if present.
I've played with your test case for a while and could reproduce the
issue with ruote 0.9.21 (trunk).
Sinatra 0.9.4 with thin 1.2.4 on ruby 1.8.7p72.
With ruote "trunk" :
running test.sh takes 30s, 60s, 60s. Adding "nada" as the output of
the "post /process" runs with the same times.
With ruote 0.9.20
running test.sh triggers a few stack level too deep at the beginning,
but test.sh always replies in like 0.035s, consistently, and the
"stack level too deep" vanishes.
That's weird.
It took me a bit of back and forth, some time and now I'm wondering.
Since you've left the issue sleep for 2.5 months, is it necessary to
find a solution ?
Ruote 2.0 is coming along well and the integration with sinatra[/thin]
is promising :
http://github.com/jmettraux/ruote-http
http://github.com/kennethkalmer/ruote-kit
Best regards, thanks for the feedback,