Another massively important geek tool
Dec. 3rd, 2007 09:41 pmAlong with Pound and Merb, I found another very important geek toy this weekend: Juggernaut. Juggernaut is going to absolutely change the way the web works, and it's going to do it frigteningly fast. Because Juggernaut destroys the one major complaint we developers have about the web: it's statelessness.
Juggernaut creates a little javascript applet (not java, javascript) on the browser with a permanent TCP/IP connection to the server. Through this connection, it is possible for the server to send events to the client without being polled.
If you have no idea how important that is, don't worry about it. To those of us for whom time-critical events are just that, critical, it makes all the difference. Now, instead of constantly harassing the server and being out-of-date within seconds of the poll, you get real-time data from the server when the server thinks it's significant. It pulls the web into the 20th century: no more busy-waiting, no more collate-without-effect.
Now if only I had something that had a use for it.
Juggernaut creates a little javascript applet (not java, javascript) on the browser with a permanent TCP/IP connection to the server. Through this connection, it is possible for the server to send events to the client without being polled.
If you have no idea how important that is, don't worry about it. To those of us for whom time-critical events are just that, critical, it makes all the difference. Now, instead of constantly harassing the server and being out-of-date within seconds of the poll, you get real-time data from the server when the server thinks it's significant. It pulls the web into the 20th century: no more busy-waiting, no more collate-without-effect.
Now if only I had something that had a use for it.
no subject
Date: 2007-12-04 10:26 pm (UTC)On the other hand, Juggernaut is not broken because it doesn't try to use HTTP; instead it uses an ordinary "blind" but always connected protocol, the Flash XML protocol, to send events to the browser. This protocol is similar to many familiar ones: POP, IMAP, NNTP, FTP-COMMAND.
Ever use IM? IRC? A Muck? How about a visually oriented muck? With high powered Ajax like EXTJS or Scriptaculous, a large number of event-driven things like games and chats can now be written directly into the browser, but they lack an event model; they all polled. Now, they don't have to.
I suspect this technique is either going to show up in the next rev of JS, or we'll be seeing the flash-based solution become standard sometime pretty soon.
no subject
Date: 2007-12-05 09:47 am (UTC)...Or, you could just write a custom app. In C. Like you're supposed to. Honestly, I don't understand this fetish for re-implementing an entire fricking operating system inside a Web browser. Yes, you could probably write 'fsck' in JavaScript to run inside Firefox, but why???
<curmudge, curmudge...>