burstas / peerblock

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

Change auto-update interval #153

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have done some extensive cross-reading on this issue.
As PeerBlock works in tandem with Fakhir's blocklist subscription service
and extensively links there for it's core part (the block lists), this is
of the essence:

Fakhir himself is a collector, but also a provider of block lists. He
updates them every 24 hours.

PeerBlock has also an update function that automatically checks for updates
every 12 hours.

Logically, checking twice a day for something that only gets updated once a
day does not make sense.
On the contrary, it just adds bandwidth strain (and therefore: traffic
costs) on Fakhir's servers. Furthermore, the lists themselves don't tend to
change radically from one day to the other. The huge, main corpus of IPs
stays the same for very long periods of time (and probably never gets
changed, because - as in any complex system - one will lose oversight
fairly quickly once a certain brain breaking level of complexity is reached).

Suggested solution:
Update only once at startup of the program to insure latest set and update
only every 24-48 hours from then on.
Considering that about ~50,000 people are using several lists at once, this
should lighten the load on Fakhir's servers substantially.

Original issue reported on code.google.com by frederic...@gmail.com on 6 Oct 2009 at 7:07

GoogleCodeExporter commented 8 years ago
Hmm, I'm going to need to verify how this operates...  My recollection is that 
it
actually checks for list/program-updates once every N days (configurable), or 
when
you manually command it to check for updates by clicking the "Check Updates" 
button .
. . it simply will not check for list updates more often than once every 12 
hours
(even if you click the button), instead saying "No update needed".

If we are doing as you say though, you're right we should definitely fix that!

Original comment by peerbloc...@gmail.com on 6 Oct 2009 at 7:32

GoogleCodeExporter commented 8 years ago
After reviewing the code, we should in fact be automatically checking for 
updated
lists every N days, and no more often than once every 12 hours even if you 
click the
button.

Marking this Invalid (which actually sounds a bit harsh, doesn't it?), in order 
to
close it.  If I'm missing something here, feel free to comment back and we can 
always
re-open it if need be.

Original comment by peerbloc...@gmail.com on 20 Jan 2010 at 12:16