We used BlazeDS's publish/subscribe feature to implement server-side PUSH.
However, we found it didn't work well with NIO, CPU wasn't stable, What's
even worse, CPU will constanly be 99.9%.
The system worked well with APR.

We're looking into NIO-related code in tomcat's latest codebase.

Anybody know the future of tomcat's NIO?
We know there is an existing NIO framework(called MINA) in Apache, will
tomcat reuse it?


On Fri, Jun 27, 2008 at 5:33 AM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]>
wrote:

> Ken Bowen wrote:
>
>> Hi All,
>>
>> I'm working on a project which has developed a need to push data from the
>> server to browsers.
>> In the short term, the numbers of browsers will be moderate, but in the
>> long term, it appears
>> that we will need to scale up to very large numbers, so the 'one thread
>> per connection' issues
>> of Comet and Pushlets will become significant.
>>
>> 1) Clearly using NIO will help.  My understanding is that NIO works ok
>> with Tomcat 6; is this correct?
>> Can it also be used in 5.5?
>>
> unfortunately not, and a backport is not on the horizon
>
>>
>> 2) Is there any analogue of Jetty 6 Continuations available in Tomcat?
>>  They sound like a good mechanism
>> for this problem.  Does anyone on the list have any experience with them?
>>
> Tomcat has a CometProcessor interface, which is a step further than
> continuations.
> Allows you to decouple the connection from the thread and writing to the
> response in an async manner
>
>>
>> More generally, does anyone have experience with a solution to our problem
>> (large-scale pushes from server to browser)?
>>
> sure do, just let us know what questions you might have
>
> Filip
>
>
>> Thanks in advance,
>> Ken Bowen
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to