[Eventmachine-talk] DistribuStream released

Tony Arcieri
Fri, 19 Oct 2007 12:21:28 -0000

It would''ve been easily repeatable several months ago, but
unfortunately we
weren''t sure about how the code was to be released at that time.

One way or another I''d like to remove the threaded components.  If I
run
into the same problem again when I do so I''ll let you know.

On 10/19/07, Francis Cianfrocca <garbagecat10 at gmail.com>
wrote:
>
> On 10/19/07, Tony Arcieri <tony at clickcaster.com> wrote:
> >
> > We observed it while running LineAndTextProtocol and HttpClient in the
> > same Reactor.  I can see if I can revert the codebase to when we were
> > experiencing the problem (months and months ago), but I think the
better
> > approach is to start removing some of the threaded components in our
current
> > codebase and if the problem comes up again we can have a look then.
> >
> > We were also trying to use Kirk''s evented Mongrel at one
point, however
> > it looks like due to the way the Mongrel API works we can''t
use it properly
> > for what we want to do.  Mongrel has a method you call to
synchronously
> > consume the request body (for example, in a POST or PUT request), but
in the
> > evented Mongrel this is stubbed out and the whole request has been
consumed
> > (including the body) before we even get access to the header
information.
> > We''re using the header information to authenticate file
transfers, so it''s
> > somewhat pointless and wasteful if we can''t get access to
that information
> > before the entire transfer has occurred.
> >
> > Francis, does your HTTP server let you check the header of a POST or
PUT
> > request before the body is consumed?
>
>  No, but it wouldn''t be a stretch to add it.
>
> Was the stalling easily repeatable? Could you reproduce it now if you had
> to?
>
> _______________________________________________
> Eventmachine-talk mailing list
> Eventmachine-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/eventmachine-talk
>



--
Tony Arcieri
ClickCaster, Inc.
tony at clickcaster.com
720-227-0129 ext. 202
-------------- next part --------------
An HTML attachment was scrubbed...