Socket way of communication very slow (up to 30s. to deliver)

40 views
Skip to first unread message

Dmitry Yefremov

unread,
Dec 25, 2013, 5:12:28 AM12/25/13
to ajax...@googlegroups.com
Hello,

I have tried the socket way of communication instead of HTTP polling. I have installed Ruby on my win32 based server system (used rubyinstaller-1.9.3-p484.exe).

Now I see no polling activity, and everything is fine except delays.

Delay from submitting the message till seeing it in the sender's browser chat window: 2-4 seconds with any browser.

Delay from seeing the message in the sender's browser till seeing it in other chater's browser:
- sending by Firefox v26, seeing in IE10:   10+-2 seconds
- sending by IE10, seeing in Firefox v26: 30+-8 (sic!) seconds.

Are these delays "by design", or maybe something's wrong with Ruby for win32?


Thank you for your suggestion in advance!
Dmitry,
Reply all
Reply to author
Forward
0 new messages