Bitcoin Forum
January 16, 2018, 09:59:05 PM *
News: Electrum users must upgrade to 3.0.5 if they haven't already. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Technical: Mt.Gox uses websocket natively for realtime order book/ticker/etc?  (Read 914 times)
MagicalTux
VIP
Hero Member
*
Offline Offline

Activity: 608


Working on new MtGox features


View Profile WWW
July 11, 2011, 10:39:16 PM
 #1

While working on the new Mt.Gox, we've been considering implementing websockets natively for everyone (with a fallback on long polling if not available).

Around 44% of our visitors in the past 30 days have native support for websocket (Chrome, Safari), and another 45% can enable it in their browser quite easily (Firefox+Opera). The remaining major part is MSIE, which should have support in near/less near future[1].



Since people in here have more of a technical background, let us know what you think (just spare me the usual "websocket is bad, use direct sockets" - we need something that works in web browsers... and check the new websocket framing in -06 and better first, it's no longer some weird \xff).

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1516139945
Hero Member
*
Offline Offline

Posts: 1516139945

View Profile Personal Message (Offline)

Ignore
1516139945
Reply with quote  #2

1516139945
Report to moderator
1516139945
Hero Member
*
Offline Offline

Posts: 1516139945

View Profile Personal Message (Offline)

Ignore
1516139945
Reply with quote  #2

1516139945
Report to moderator
nimnul
Sr. Member
****
Offline Offline

Activity: 255


View Profile WWW
July 15, 2011, 04:26:10 PM
 #2

Websocket is good, and fallback to flashsocket in IE and browsers with websockets disabled would be very nice. You should look for something like http://socket.io/ to perform transparent fallback for you.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!