Comet is dead long live websockets

Joe Armstrong - noreply@blogger.com (Joe Armstrong) - December 16, 2009

I’ve just had a chance to play with the implementation of websocketsin Googles Chrome browser.  This post started me off.After a small amount of experimentation I was able to make Erlang talk to a web page using pure asynchronous message passing.I think this means the death of the following technologies:cometlong-pollAJAXkeep-alive socketsAll the above are merely hacks, inadequate ways of



Categories: Blogs  Joe Armstrong  

Comments

anonymous avatar

It’s not actually a hack, the specification allows HTTP to act in a more old school way by not immediately terminating connections… an iframe is needed because only gecko supports readyState 3 and is really no different than a telnet call to the same port… really browsers are just picking up where they left off 10 frickin years ago…

Posted by Pedram Nimreezi on 22 Dec 2009 at 20:04



 


Add comment

Name:

Email:

URL:

Smileys

Remember my personal information

Notify me of follow-up comments?