Opera Software showcased an almost unknown great feature that their flagship desktop product has: the support for persistent connections from the client to the server.
I think that’s great to have (it’ll be better to have in on every browser too) because the kind of applications you can build with that are in our everyday life (or should be
. See meebo, Gmail chat, JotLive and so on.
These applications are not AJAX, they take advantage of the so-called AJAX to go one step further and keep a persistent connection between client and server to stream data back and forth. Alex Russell, the author of Dojo rebranded this “pattern” as Comet and started a project to write an HTTP-based event routing bus, Cometd. Now there are Perl and Twisted implementations.
Guess what which web framework was supporting Comet before all this hype? Nevow, it’s obvious. See Athena to taste it.
Going back to the title of the post: Opera 9 does Comet on the client side, so they chose to implement the test server in… Twisted (here we go again!) and one of the Opera’s developers says:
Easy, simple and clean. Which is the same on the server. We have built a neat little demo IRC-like chat client that is open for testing. The server is built on Twisted, an event-driven networking framework written in Python. During initial testing we tried to put the server through pure, unadulterated load abuse, but were unable to bring it down, which says something about the advantages for this approach on the server as well.
We should learn to hype our stuff as the Rails community does…
















