warvair / peerblock

Automatically exported from code.google.com/p/peerblock
Other
0 stars 1 forks source link

Real-time update #141

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Once we have a "real" automatic online-update feature built, we should
consider adding "real-time" updates to it. 

Apparently Norton Security 2010 has this (a feature called "pulse update").
 At first blush, I can see two primary ways to accomplish this - the first
would be to have PeerBlock poll much more often than it does now, the other
being to use "comet" style connections (I think they're called, in web/ajax
parlance at least), in which PeerBlock would send a request to the server
with a ridiculously long timeout, and then the server would simply not send
a request until there's something to send.  Need to be very careful about
implementing this though, as LOTS of server resources could be tied up
doing this - we appear to have somewhere on the order of 30-40,000 users
right now, and those numbers are only growing, so scalability is key. 
(That or else we'd need to enact some kind of a "donation reward" system,
in which only Donators get access to features like this which will cost us
lots of money to support...)

Original suggestion posted in Issue #140.

So at this point, I'm considering this a far-future thought.  If anyone has
experience doing this sort of thing in a highly-scalable manner, I'd love
to hear from you!

Original issue reported on code.google.com by peerbloc...@gmail.com on 4 Oct 2009 at 9:38