Why enjit is so quick?
you can't be so quick if you just polling feed from friendfeed.com
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?That's a great question to wake up to. :)
The short answer is that enjit is quick because friendfeed does stuff right.
Friendfeed provides a realtime API over which consumers like enjit can use long-polling techniques to receive responses right when events occur instead of doing dumb polling like all of the other sites on the internet require.
If you'd like to play with the API on your own, you can find my implementation of the API consumer as used by enjit on github as twisted friends. All of enjit's interactions with friendfeed go through this library.
If you want to provide your own realtime services, check out my slosh project where you can quickly and easily provide the same type of API as part of another project.
Unfortunately, I can't currently provide access to my canonical slosh example, but I've got a few videos up at vimeo showing what I've been doing with it.
I’m thankful
The company and 1 other person say
this answers the question
Loading Profile...



EMPLOYEE