Article View: news.software.nntp
Article #23828Re: Feed external process from Diablo?
From: Anthony Kueh
Date: Mon, 01 Dec 1997 00:00
Date: Mon, 01 Dec 1997 00:00
48 lines
2404 bytes
2404 bytes
I know this is a little far fetched, but is there anyway that we Diablo can possibly create a compression mode using something like gzip? Basically here's the idea: Between two Diablo machines: Option 1: Before every article body is sent, it would be compressed, and then sent to the remote peers. Option 2: In the storage data structure (since it's different already), store the files in compressed mode and enable a flag to peer with other Diablo news servers in the compressed mode. If article is received from a standard NNTP server, the articles would be compressed before being written to the hard drive. I know both of these are CPU intensive. However, seeing that bandwidth these days (especially with news) is hard to come by, CPU costs (running FreeBSD or Linux) is fairly cheap. I would love to see this feature implemented. Any thoughts? -Tony Joe Greco wrote in message <65uooh$3ng$1@earth.execpc.com>... >In news.software.nntp article <3482BB13.5E77D8CE@spinne.com>, Jeff Garzik <jeff.garzik@spinne.com> wrote: >:Does anybody have any hacks or hints for feeding news (or just the >:article+offset info) from a Diablo server to an external process? > >I have a little process that will merrily sit and tail a Diablo queue >file. I use it to do analysis and stuff... those prototype reports, >for example. Or UUCP batching (still a requirement around here). > >:It seems silly to have to tail a file (wasting a descriptor), when >:Diablo could write directly to a pipe like an INN channel feed. > >A pipe is also "wasting a descriptor". The only waste is doing an >occasional read() to see if more data is available. select() is >nicer for that. > >... JG
Technical Details
Message-ID:
<65v39b$5lh$1@vixen.cso.uiuc.edu>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:
<3482BB13.5E77D8CE@spinne.com> <65uooh$3ng$1@earth.execpc.com>Show Full Headers
Complete Article Headers
Message-ID: <65v39b$5lh$1@vixen.cso.uiuc.edu> Subject: Re: Feed external process from Diablo? Date: Mon, 01 Dec 1997 00:00:00 +0000 From: "Anthony Kueh" <kueh@remove.me.for.no.spam.uiuc.edu> References: <3482BB13.5E77D8CE@spinne.com> <65uooh$3ng$1@earth.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-mail X-Deja-AN: 294284541 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: University of Illinois at Urbana-Champaign Newsgroups: news.software.nntp