[Eventmachine-talk] #defer usage

snacktime
Mon, 21 Aug 2006 10:52:08 -0000

Right now the way my server application works is that I have #defer''s
sprinkled around the code where I have any blocking operations, which
at the moment are just database calls.  For each request, #defer is
used 2-3 times.  I was wondering if it might be better to just wrap
the whole operation in a single defer?  The complete request would be
received before calling #defer.

Chris