🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23887

Re: Feed external process from Diablo?

#23887
From: Christopher Sedore
Date: Tue, 02 Dec 1997 00:00
58 lines
2947 bytes


> -----Original Message-----
> From:	Anthony Kueh 
> Subject:	Re: Feed external process from Diablo?
> 
> What kind of compression mechanism are you using? Also, is there a
> flag that
> you're setting (like the flags for streaming mode) during the
> handshake to
> tell the remote server that you're sending compressed data?
> 
> It would be interesting if this mechanism can be added into
> peering-type
> NNTP servers (ie. NNTPRelay, Diablo, Cyclone, etc). And then the
> peering
> system can feed to an innd server on the local ethernet for user
> access. Any
> thoughts?
> 
I use the same compression as gzip (from zlib).  I simply do a "mode
compress" after the mode stream, and do compression if I get a 203
response code (sometime later I should change to a new code).  Even the
streaming commands compress reasonably well (1.5:1 or 2:1 typically)

Writing a receiver would be fairly easy.  I've thought of writing a
daemon for INN/Diablo/Cyclone/whatever to allow reception of compressed
feeds.  Sending them requires messing with the guts more because you
have to flush the compressor to ensure that you don't stall the remote
end.  I may do a daemon here, but I wanted to try it first, and given
the way my code is organized, it was easier to integrate it rather than
externalize it.  I got to browsing Diablo source tonight to see how easy
it would be to add directly, but didn't really finish.

More efficiency could be gained yet by moving to a binary exchange
protocol using message-id hashes in fixed size message blocks instead of
variable length text commands.  This would both improve overall
performance and reduce bandwidth utilization.  I'm hoping for a few
hours to write up some code to try this, too.  

-Chris

[...]


> Christopher Sedore wrote in message
> >I implemented a compress-on-the-fly feed for NNTPRelay over
> >thanksgiving.  I haven't had a chance to try it on the binaries
> groups
> >yet, but I see rates of about 2.6:1 compression against a
> >!alt.bin*,!alt.sex* feed.  I compress the entire forward feed stream
> >(check, takethis, and articles).  Responses are not compressed.
> 
> 


Technical Details
Message-ID: <4E86915F977FD0119BCD08002BE28C4B065F9C@exchange.maxwell.syr.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-mail
References: <65v4k2$olp$1@roch.zetnet.co.uk> <65v91g$1jvm$1@newssvr03-int.news.prodigy.com> <4E86915F977FD0119BCD08002BE28C4B065DCE@exchange.maxwell.syr.edu> <65vl4i$nav$1@vixen.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <4E86915F977FD0119BCD08002BE28C4B065F9C@exchange.maxwell.syr.edu>
Subject: Re: Feed external process from Diablo?
Date: Tue, 02 Dec 1997 00:00:00 +0000
From: Christopher Sedore <cmsedore@maxwell.syr.edu>
References: <65v4k2$olp$1@roch.zetnet.co.uk> <65v91g$1jvm$1@newssvr03-int.news.prodigy.com> <4E86915F977FD0119BCD08002BE28C4B065DCE@exchange.maxwell.syr.edu> <65vl4i$nav$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-mail
X-Deja-AN: 294401828
Sender: Christopher Sedore <cmsedore@maxwell.syr.edu>
Newsgroups: news.software.nntp