Thread View: news.software.nntp
3 messages
3 total messages
Started by Rick Boeth
Thu, 12 Jun 1997 00:00
In line compression/decompression of news
Author: Rick Boeth
Date: Thu, 12 Jun 1997 00:00
Date: Thu, 12 Jun 1997 00:00
14 lines
1057 bytes
1057 bytes
Is there any work being done to extend the NNTP protocol to allow data compression. For instance if the news readers could decompress the data locally the effective bandwidth across the network could be doubled. Servers could compress the data as it was received, spool it in a compressed format and transmit it in compressed format to compatible news readers. That would be a lot of cumulative bandwidth and the load would be transferred to a desktop machine that is oversized in most cases anyway. Thoughts? Rick Boeth
Re: In line compression/decompression of news
Author: Stefan Monnier
Date: Sat, 14 Jun 1997 00:00
Date: Sat, 14 Jun 1997 00:00
22 lines
1771 bytes
1771 bytes
Ian Stirling <000033A1D580.NO_UCE@mauve.demon.co.uk> writes:
> The actual implementation should be pretty simple, add things like
> zarticle, zheader, zxover (a little complex, would probably need
> to read and compress an uncompressed file.)
An alternative is to not change anything to compress the whole connection,
so the NNTP protocol stays exactly the same. I do that to do batch-reads
of a few newsgroups and get compression factors (with gzip --9) in the order
of 3. This kind of compression has the added benefit that it can take advantage
of inter-articles redundancy (and also of commands, of course).
Anyone knows what the compression factor of single articles is (on average) ?
(the advantage of the "zarticle" method is that since compression is done on an
article-by-article basis, articles can be stored in pre-compressed form. Which
is probably not so interesting with a one-article/one-file news spool, tho,
but who wants such a news-spool structure anyway).
Stefan
Re: In line compression/decompression of news
Author: Ian Stirling
Date: Sat, 14 Jun 1997 00:00
Date: Sat, 14 Jun 1997 00:00
39 lines
2991 bytes
2991 bytes
Rick Boeth <rboeth@corp.sprintmail.com> wrote: : Is there any work being done to extend the NNTP protocol to allow data : compression. For instance if the news readers could decompress the : data locally the effective bandwidth across the network could be : doubled. Servers could compress the data as it was received, spool : it in a compressed format and transmit it in compressed format to : compatible news readers. That would be a lot of cumulative bandwidth : and the load would be transferred to a desktop machine that is oversized : in most cases anyway. : Thoughts? The actual implementation should be pretty simple, add things like zarticle, zheader, zxover (a little complex, would probably need to read and compress an uncompressed file.) znewnews would probably be too much work, for too little gain. Of course, it won't buy the end users much, as their links are likely already compressed, either via v42, or PPP compression, or both. On my 486/99 (WOW, WHAT A FAST MACHINE :) Now, about people reading uncompressed. I see about .75 seconds /meg. (gzip -9) So, with 75% CPU loading, that implies 750K/second (text) and 187K (compressed) Assuming modemers get 4K/second, That implies I can support 45 readers, compressionwise. This may impact disk tuning, as it will quarter the size of many text articles. : Rick Boeth -- Ian Stirling. Designing a linux PDA, see http://www.mauve.demon.co.uk/ -----******* If replying by email, check notices in header *******------- Prosperity and ruin issue from the power of the tongue. Therefore, guard yourself against thoughtless speech.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads