Article View: news.software.nntp
Article #46463Re: Diablo spool
From: Joe Greco
Date: Wed, 17 May 2000 00:00
Date: Wed, 17 May 2000 00:00
36 lines
2511 bytes
2511 bytes
In news.software.nntp article <1rln1b7snh.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: :[Olaf Titz] : :> or better, use a true hash function. Perhaps something as :> primitive as aabbccdd -> (bb^cc)+(aa^dd) mod n. :> This way, you avoid higher patterns that could be in the time part :> from the start. : :Hmm. I'm using 3 spools with the current scheme. This means that I :am vulnerable to bursts in traffic which always appear on the same :time of day or hour. If I have a peer which batches it up and sends :it every 30 minutes, his batch will always hit the same spool. This :isn't really a problem in my case, since most my traffic is :"realtime", but it may be a concern for leaf sites. One workaround is :to use a number of spools which is not divisible by 2, 3 or 5. 7 :spools would be nice. : :Using a hash feels risky though. Diablo will store all the traffic :from a 10 minute period into one directory on one spool. If the hash :function is only slightly repetitive occasionally, you can cause havoc :to the expiration times. On my feeder, each of my 3 spools is 4 GB, :so I can hold 3 hours of a full feed in total... I think I prefer the :deterministic algorithm, it being easier to reason about its :consequences. <AOL>M33 T00!</AOL> The other thing to remember is that this patch was really designed more for sites with Way Large Spools (like some of my multi-terabyte spools), not really so much for smaller sites who just want to use it as an alternative for striping on a transit server. It does work for both, but it is more important that it work well for the VLS sites. ... JG
Technical Details
Message-ID:
<3922a37d$0$26036@news.execpc.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<957925631.861148@news.netscum.dk> <877ld155f3.fsf@erlenstar.demon.co.uk> <8fo6dg$iel@bigred.inka.de> <1rln1b7snh.fsf@haey.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <3922a37d$0$26036@news.execpc.com> Subject: Re: Diablo spool Date: Wed, 17 May 2000 00:00:00 +0000 From: jgreco@ns.sol.net (Joe Greco) References: <957925631.861148@news.netscum.dk> <877ld155f3.fsf@erlenstar.demon.co.uk> <8fo6dg$iel@bigred.inka.de> <1rln1b7snh.fsf@haey.ifi.uio.no> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 624532818 Sender: jgreco@earth.execpc.com X-Trace: Tl\okXWcmLGI5[332>a9YKbfNiaEHUgJGRYcgIRLSUEME]B9A<U29]D2Jffm_D>j@KHFnVQ;I2EDGGhaMU<hZ^NGF4FfQ?Mh6UM Organization: sol.net Network Services - Milwaukee, WI Newsgroups: news.software.nntp X-Complaints-To: abuse@execpc.com