1 Jun 2005 23:50
PATCH: Diablo-style hashfeeds
Miquel van Smoorenburg <list-inn-workers <at> news.cistron.nl>
2005-06-01 21:50:53 GMT
2005-06-01 21:50:53 GMT
I'm using INN to (help) feed a bunch of Diablo boxes. In the diablo world, it is common to split one full feed over several boxes using something called a "hashfeed". This patch adds that functionality to innd. ( Russ, did you look at the innfeed-refcount-arthandle patch I sent some time ago yet ? ) inn-2.4.2-hashfeed.patch diff -ruN inn-2.4.2/doc/pod/newsfeeds.pod inn-2.4.2-new/doc/pod/newsfeeds.pod --- inn-2.4.2/doc/pod/newsfeeds.pod 2004-12-22 05:21:19.000000000 +0100 +++ inn-2.4.2-new/doc/pod/newsfeeds.pod 2005-05-03 23:54:12.000000000 +0200 <at> <at> -382,6 +382,29 <at> <at> new process will run with. This flag can be used to raise the priority to normal if you're using the I<nicekids> parameter in F<inn.conf>. +=item B<Q> I<hashfeed> + +The hashfeed value for this site. The message-id of the article is +hashed using a quick (and dirty) hash method (31-bits sum of the value +of all characters). The hashfeed value must be given as value/mod +or as start-end/mod. If the message-id hash modulus "mod" plus one +equals "number" or is between "start" and "end", the article will be +fed to the site. + +Example: + + Q1/2 Feeds about 50% of the messages to this site + Q2/2 Feeds the other 50% of the messages(Continue reading)
RSS Feed