users@jersey.java.net

[Jersey] Re: Entity streams

From: Gili <cowwoc_at_bbs.darktech.org>
Date: Fri, 29 Apr 2011 12:16:29 -0700 (PDT)

Jakub,

Thank you for that link! Atmosphere is exactly what I had in mind. This
brings up the question: does this "Reverse-Ajax" model suffer from the
economies of scale problem mentioned by Roy Fielding in [1]?

[1] http://roy.gbiv.com/untangled/2008/economies-of-scale

Thanks,
Gili


Jakub Podlesak-2 wrote:
>
> Another problem here is even the StreamingOutput does not save you from
> running out of the Java threads.
> If you want a scalable solution, you would need to somehow re-use the
> threads to be able to serve
> all the long open connections. Some work in this area was done by Paul
> Sandoz and Jean-Francois Arcand
> with project Jersey and project Atmosphere. An example is available at
> [1].
>
> ~Jakub
>
> [1]http://atmosphere.java.net/nonav/xref/org/atmosphere/samples/twitter/TwitterResource.html#80
>
--
View this message in context: http://jersey.576304.n2.nabble.com/Entity-streams-tp6314573p6317967.html
Sent from the Jersey mailing list archive at Nabble.com.