synchronous controllers taking 6 seconds in Eventmachine config

Eric Wong normalperson at
Fri Sep 17 05:00:27 EDT 2010

Eric Wong <normalperson at> wrote:
> James Tucker <jftucker at> wrote:
> > If the request is sync, then you can close connection after body.each
> > returns, else you need to use the deferrable api callback in
> > deferrable bodies wiht the async api.
> The EM deferrable doesn't do keepalive right now, and may not ever
> because (I assume) it's used for long-polling and such.

Would supporting keepalive for people using "async.callback" help some
folks?   As of 0.97.0, it's possible to disable keepalive entirely
across all concurrency models, so perhaps allowing the app to specify
the "Connection" header is helpful, too...

Eric Wong

More information about the rainbows-talk mailing list