Long polling connection timeout

Nov 25, 2010 at 9:21 AM

Hello. First, thank you for great product.

Now, the questions. We are trying to use Laharsub server as a stock quotes feeder. Everything works perfect ( we also changed the code accordingly to your recommendations ).

The problem is that when the quotes rate is high, opening and closing HTTP connections starts eating the great amount of traffic. As I understand, WCF nature of the server handles automatically HTTP requests and responses. Anyhow, is there a way, for server to keep the connection open for, say, 30 sec, and write to the output buffer all the messages from publishers ? Thank you in advance.

Coordinator
Dec 5, 2010 at 1:37 AM

Korneli, I have started working on a notification streaming feature that will enable the server to keep sending messages to the client using a single HTTP long poll response. The feature is #1 on the list of upcoming Laharsub enhancements (http://laharsub.codeplex.com/wikipage?title=Future%20plans). Client side implementation is actually already implemented in changeset http://laharsub.codeplex.com/SourceControl/changeset/changes/5afbb112a0ac. The feature will be part of the next binary release of Laharsub.