Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] SDPY client gets overwhelmed when subscribing to high volume incoming messages

Hi,

On Mon, Jan 28, 2013 at 3:15 AM, Abhinav Rajan <abhinav.rajan0@xxxxxxxxx> wrote:
> Hello,
> Please find below a sample subscriber and a publisher. The subscriber
> becomes unresponsive and stops subscribing to messages after the count
> crosses two hundred thousand. Could you please let me know what I am doing
> wrong,

Not sure what you mean by "subscriber" but there is no subscription in
your code.

Your client opens a stream, send one chunk of data, does not close the stream.

Your server receives the stream open request, sends a reply, then
sends data frames every 1 *micro* second forever without closing the
stream.

I have no idea what you're trying to do by sending data frames every
microsecond.

--
Simone Bordet
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.


Back to the top