πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82005

Re: Which header compression implementation?

#82005
From: Philip from Giganews
Date: Thu, 15 Oct 2009 18:55
78 lines
5112 bytes
Tommy and Julien,

If you'd like a copy of our internal RFC for the XFEATURE command set, 
e-mail me at philip@giganews.com and I can send it to you.

The XFEATURE command set does support overview compression as well as 
compression of other commands.  The difference between XFEATURE and 
other schemes is that with XFEATURE, the server decides when compressed 
transfers are used.  XFEATURE itself is a way for clients to inform 
servers of capabilities they can handle, so that the server (which has 
knowledge about what size and type of data will be coming down the pipe) 
can optimize the stream for the data.  It encompasses compression, but 
also other ideas.  We weren't happy with the way compression was being 
implemented as client-initiated sequence.

We've been working with some larger clients to test out some of these 
ideas and see what is helpful and what isn't.  If any of this stuff is 
fruitful, we'll release it for further discussion, but right now, we're 
just implementing some ideas and seeing what people who implement 
clients think about them.

Philip
Giganews

Julien Γ‰LIE wrote:
> Hi Tommy,
> 
>> I was wondering which header compression implementation to support for a
>> newly build nntp server.
>>
>> 3) The giganews XFEATURE method, which no one really don't know much
>> about?
> 
> Maybe something like that:
> 
> http://www.giganews.com/accelerator.html
> http://www.giganews.com/blog/2008/07/why-you-should-be-using-giganews.html
> 
> "Compresses headers for up to 10 times faster header downloads"
> 
> %%%
> Compression Technology
> 
> The Giganews Accelerator sets itself apart from other Usenet compression
> technologies because the Accelerator's compression is done at the protocol
> level rather than the network level. By compressing at the protocol level,
> we can selectively compress the parts of the data stream where compression
> makes sense, and leave alone parts that do not benefit from compression.
> 
> Most binary article data is already compressed when it's uploaded,
> so compressing it for download doesn't actually save users any network
> traffic. Similarly, very small content, such as response messages, also get
> very little benefit out of compression because of their already small size.
> 
> Compression also requires CPU and time. CPU time is required on the server
> end to compress the data and on the client end, to decompress the data.
> 
> By selectively compressing only the compressible content, a user's CPU 
> can be
> used for downloading instead of needless decompression work.
> 
> Other Usenet compression technologies essentially compress the entire 
> network
> stream, using software like Stunnel, which compresses all data in and out.
> With that method, every bit of traffic requires more CPU to decompress,
> CPU that could be better spent on getting more traffic or decoding
> already downloaded data.
> %%%
> 
> 
>> So which one to choose for a most compatible reader implementation? I
>> think i go with the astraweb implementation since that one seems the most
>> clean. Diablo is doing things differently, but it seems to work for a lot
>> of readers. What about the response code? 221 224 225?
> 
> The right move should be to "standardize" header compression and define
> a new documented NNTP command...
> 
Technical Details
Message-ID: <msydnatA2ayP7UrXnZ2dnUVZ_sadnZ2d@giganews.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.ams.giganews.com!border2.nntp.ams.giganews.com!proxad.net!feeder2-2.proxad.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <c9f23$4abf6999$d468d01a$30930@nf16.news-service.com> <hb7p3v$l9s$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <msydnatA2ayP7UrXnZ2dnUVZ_sadnZ2d@giganews.com>
Subject: Re: Which header compression implementation?
Date: Thu, 15 Oct 2009 13:55:14 -0500
From: Philip from Giganews <support@giganews.com>
References: <c9f23$4abf6999$d468d01a$30930@nf16.news-service.com> <hb7p3v$l9s$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.ams.giganews.com!border2.nntp.ams.giganews.com!proxad.net!feeder2-2.proxad.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 15 Oct 2009 13:55:14 -0500
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <hb7p3v$l9s$1@news.trigofacile.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 78
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-W1wm9yRgkXcHElCQtmmFhjlcXxJ+Sh7dckiTRtYr4e/WZGBNV7xBE+p2LEDuct4rsqdoJnzRo1L8eqN!dOSvtdDtLxZmFmJs229yXWqdD8mLuFKdxOdTUmGhkyEskWl+eSqk9o8A0sfIkF6RBsb0ba3xsF2P!lK4=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.40
X-Original-Bytes: 4869