Article View: news.software.nntp
Article #87275Re: draft-murchison-nntp-compress-02
From: Michael Baeuerle
Date: Wed, 02 Dec 2015 16:27
Date: Wed, 02 Dec 2015 16:27
53 lines
3129 bytes
3129 bytes
Michael Baeuerle wrote: > Julien ΓLIE wrote: > > > > [...] > > Then let's explicitly require Z_PARTIAL_FLUSH to be used, as it saves a > > few bytes. > > > > Are we sure that implementations of DEFLATE (other than zlib) know > > partial flushes? > > RFC 1951 does not mention partial or sync flushes... > > Why not specify it the way it was done for SSH? > <https://tools.ietf.org/html/rfc4253#section-6.2> > (only the flush related stuff, not the zlib container) > > The other option to use Z_SYNC_FLUSH and manually strip (on TX) and > append (on RX) the terminating "00 00 FF FF" sequence looks more > complicated for me. Z_PARTIAL_FLUSH should be simpler and "good enough" > for NNTP. If the data stream lost sync, the connection should be > terminated. Some statistics I had measured: ======================================================================== Some OVER and a LIST command: CMPR: --- Statistics ---------------- CMPR: Uncompressed TX bytes accepted: 293 CMPR: Uncompressed RX bytes provided: 286578 CMPR: TX compression ratio: 0.60 CMPR: RX compression ratio: 0.19 250 HEAD commands: CMPR: --- Statistics ---------------- CMPR: Uncompressed TX bytes accepted: 3247 CMPR: Uncompressed RX bytes provided: 285586 CMPR: TX compression ratio: 0.54 CMPR: RX compression ratio: 0.16 The same 250 HEAD commands pushed out with Z_SNYC_FLUSH instead of Z_PARTIAL_FLUSH: CMPR: --- Statistics ---------------- CMPR: Uncompressed TX bytes accepted: 3247 CMPR: Uncompressed RX bytes provided: 285586 CMPR: TX compression ratio: 0.83 CMPR: RX compression ratio: 0.16 ========================================================================
Technical Details
Message-ID:
<AABWXxpmm9cAABuV.A1.flnews@WStation3.stz-e.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<n229bp$tel$1@news.trigofacile.com> <n3d370$4bg$1@news.trigofacile.com> <AABWWsKcsJ8AAAGM.A1.flnews@WStation1.micha.freeshell.org> <n3fgba$vh4$1@news.trigofacile.com> <AABWW0vIXqsAAEWe.A1.flnews@WStation4.micha.freeshell.org> <n3fntl$8nu$1@news.trigofacile.com> <AABWXtQCnL0AAAo3.A1.flnews@WStation3.stz-e.de>Show Full Headers
Complete Article Headers
Message-ID: <AABWXxpmm9cAABuV.A1.flnews@WStation3.stz-e.de> Subject: Re: draft-murchison-nntp-compress-02 Date: Wed, 02 Dec 2015 16:27:00 +0000 From: Michael Baeuerle <michael.baeuerle@stz-e.de> References: <n229bp$tel$1@news.trigofacile.com> <n3d370$4bg$1@news.trigofacile.com> <AABWWsKcsJ8AAAGM.A1.flnews@WStation1.micha.freeshell.org> <n3fgba$vh4$1@news.trigofacile.com> <AABWW0vIXqsAAEWe.A1.flnews@WStation4.micha.freeshell.org> <n3fntl$8nu$1@news.trigofacile.com> <AABWXtQCnL0AAAo3.A1.flnews@WStation3.stz-e.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=fixed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 2 Dec 2015 16:27:00 -0000 Injection-Info: news.trigofacile.com; posting-account="test"; posting-host="business-092-079-177-146.static.arcor-ip.net:92.79.177.146"; logging-data="3764"; mail-complaints-to="abuse@trigofacile.com" User-Agent: flnews/0.13pre3 (for GNU/Linux) Cancel-Lock: sha1:rva8bcCTk7ZgzBROhi5tDMgT0ZQ= X-Received-Body-CRC: 4132827077 X-Received-Bytes: 3110