On Tue, Jan 29, 2013 at 8:54 AM, Hochhaus, Andrew
<
ahoc...@samegoal.com> wrote:
> On Mon, Nov 26, 2012 at 10:11 AM, David Greisen <
dgre...@gmail.com> wrote:
>> It takes a minimum of 2 second to perform the initial handshake - never had it take less. I don't know if this is a problem inherent to browserchannel or just of the sharejs's browserchannel implementation, but I was able to solve the problem by switching to sockjs. Handshakes now happen almost instantaneously, even for browser that have to use a fallback transport other than websockets.
>
> BrowserChannel performs a buffered proxy test with a 2 second timeout.
> The idea is that the server sends one chunk of '11111' then waits 2
> seconds and finally sends a second chunk of '2'. If the client gets
> '11111' alone, it continues on immediately knowing that no buffering
> proxy exists. However, if the client gets '111112' (after two seconds)
> it is behind a buffering proxy. My guess is that David is behind a
> buffering proxy but Stephan is not (hence the drastic startup
> differences).
Quite right. If I connect to
faster. I think varnish (which ShareJS.org is sitting behind) is
> You received this message because you are subscribed to the Google Groups "ShareJS" group.