Goodbye keep-alive sockets, hello web sockets

  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

Will it ever come to replace AJAX as the guy seems to think? Nah, I doubt it. AJAX still has (and I believe it will continue to have) great applications for web developers, but web sockets could go a long way towards saying goodbye to keep-alive sockets and the like. Thoughts?

Blog post: http://armstrongonsoftware.blogspot.com/2009/12/comet-is-dead-long-live-websockets.html
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

What's the difference between these and keep-alive ?

It looks like they do the same thing, but one doesn't keep track of as much information.
  • mk27
  • Proficient
  • Proficient
  • User avatar
  • Posts: 334

Post 3+ Months Ago

It's just a regular ol' tcp/ip net socket with alterations to the browser and server behavior. So the fact that they would refer to the socket is slightly confusing.

Which it's the server that's probably the biggest issue. Notice he was not using apache, he coded something to work with.

It's what should have been done a long time ago I guess -- before AJAX -- but at this point I wonder if it will really have much impact -- true, it will save on http header processing vs. AJAX, but in reality, a half Kb header is like nothing. No one sits there mowing out requests every 5 milliseconds.

So it will be a hard sell on performance issues, and a lot of work to implement.
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

More details on WebSockets (does say 'socket', but simply referred to by name).

http://www.jroller.com/tedgoddard/entry ... er_web_nor
  • alala
  • Newbie
  • Newbie
  • alala
  • Posts: 5

Post 3+ Months Ago

Thanks for your links.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 132 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.