Article View: news.software.nntp
Article #82201Re: Overview compression
From: D. Stussy
Date: Tue, 24 Nov 2009 23:25
Date: Tue, 24 Nov 2009 23:25
38 lines
3240 bytes
3240 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:heftn6$l8m$1@news.trigofacile.com... > Hi D. Stussy, > > I'd like to see compression of the overview data - in its storage as well, > > not just for transmission to a client. > > I do not know how clients (like Forté Agent) behave. > Regarding INN, you can use ovdb with zlib support. How is this acceptable? "The ovdb database will take up more disk space for a given spool than the other overview methods." - ovdb(5) man page (Installation section, 3rd paragraph). So where's the advantage? The ovdb method suggests an overview allocation (~1.1kB/article) about 1/4 to 1/2 the size of the spool when the majority of the articles are small (<4kB) - e.g. a text-only server. Overview data in the traditional format .DAT files seems to be as small as about 200 bytes per article (non-replies). Only when replies are nested 15 deep does this approach the 1.1kB size of ovdb records. I can't judge how much space is allocated to the .IDX files or directory overhead offhand. Where there's a spool with alot of small messages, do we really need to keep all the "overview data" in the overview? With a sufficiently fast CPU (as compared to network I/O time), wouldn't a 2 field overview structure do: Group's message number and storage token? All other data would be retrieved on the fly from the storage manager by token (requesting headers only), parsed, and delivered to the client as requested. This would be about 50 bytes per article in actual overview storage (with the rest of the data from the stored article itself) assuming the article number and token are stored as text; less for binary article numbers and binary sm tokens (are these always hexidecimal numbers?) - 18 + 4 (32-bit article #'s) = 22 bytes/article (or 26 bytes for 64-bit article #s) fixed record size; one structure/file per group.
Technical Details
Message-ID:
<hehq17$i0o$1@snarked.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!news-in-02.newsfeed.easynews.com!easynews.com!easynews!news.he.net!news.snarked.org!not-for-mailReferences:
<ve2cg55op5kimgdb5shii30l4envl403fj@4ax.com> <he78bg$8h3$1@news.trigofacile.com> <igllg59th9kgf4an2tmedgg2qu07n2vb64@4ax.com> <hef0ct$ogt$1@news.trigofacile.com> <hef341$khd$1@snarked.org> <heftn6$l8m$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <hehq17$i0o$1@snarked.org> Subject: Re: Overview compression Date: Tue, 24 Nov 2009 15:25:27 -0800 From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> References: <ve2cg55op5kimgdb5shii30l4envl403fj@4ax.com> <he78bg$8h3$1@news.trigofacile.com> <igllg59th9kgf4an2tmedgg2qu07n2vb64@4ax.com> <hef0ct$ogt$1@news.trigofacile.com> <hef341$khd$1@snarked.org> <heftn6$l8m$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!news-in-02.newsfeed.easynews.com!easynews.com!easynews!news.he.net!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 38 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-118-30-21.lsanca.dsl-w.verizon.net X-Trace: snarked.org 1259105127 18456 71.118.30.21 (24 Nov 2009 23:25:27 GMT) X-Complaints-To: newsmaster+complaints@snarked.org NNTP-Posting-Date: Tue, 24 Nov 2009 23:25:27 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478