tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: Comet API question
Date Sun, 15 Apr 2007 15:25:22 GMT
Peter Rossbach wrote:
> Yes,  I want implement access filter. As filter detect overload, it set 
> a event retry timeout and  give back the event.
> Later the event comes back and mark as event type RETRY.

I think you have two solutions:
- do stuff to get notifications that some pool connection is available, 
and write the response using a thread of yours
- set timeout to a "short" value (you can do it with the NIO connector), 
and do processing when getting the timeout event; IMO this is too 
complex, and will have more latency

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message