Article View: news.software.nntp
Article #8912Re: Let's put compression into NNTP -- I am willing to pay
From: Harry Bochner
Date: Mon, 01 Jul 1996 00:00
Date: Mon, 01 Jul 1996 00:00
93 lines
5179 bytes
5179 bytes
In article <4qv03v$hvi@olivea.ATC.Olivetti.Com>, jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre) writes:
|> An alternative would be to have two channels. One channel is the standard
|> NNTP stream. Note that streaming mode is perfectly capable of checking
|> IDs for duplicates without the requirment to actually send the articles
|> on the same channel.
This in an idea that Ken Herron and I have talked about a bit in the past.
Here's a proposal I wrote last fall; I think it's still pretty relevant.
On Beyond Streaming ...
Getting large volumes of News through slow links faces two related
problems:
1) Long Round Trip Time (RTT)
2) Limited bandwidth
Standard NNTP degrades very badly when RTT is long, because of the
lock-step synchronous nature of the protocol. The existing streaming
patches for INN break out of this lock-step, and do a good job of
addressing problem (1). But it seems likely that problem (2), limited
total bandwidth, will soon be a problem for some sites as well, and
the existing streaming patches for INN do nothing to address this.
There are basically two strategies for dealing with limited bandwidth:
compression, and being more selective about what articles to send.
Both of these have some overhead associated with them, but both seem
like they could be very useful for some sites. So it would be useful
to have a protocol that supported these strategies as options. And,
of course, the protocol would have to be asynchronous, so that it
doesn't suffer when RTT is long.
This leads to two basic ideas:
A) The protocol should be more flexible, with a range of options that
can be negotiated during the initial handshaking. (And perhaps
renegotiated later?) This includes both options for the format of
articles transmitted (like compression), and options for the kinds of
information used to determine which articles to send. (More on this
below.)
B) The protocol should use two separate TCP channels, like ftp does,
instead of just one like standard NNTP and streaming NNTP do. This
means that selection of articles can be proceeding asynchronously on
the control channel even while articles are being transmitted on the
data channel, providing better asynchronous operation than streaming
NNTP. And it means that the data channel can be compressed without
confusing the operation of the control channel.
Selection of articles to transmit
The model used by NNTP assumes that the selection of articles to
transmit is performed entirely by the News server on the sending side,
with the selection criteria specified e.g. by the newsfeeds file of
INN. Thus the only information the protocol sends before sending the
article is the msg-id, so the receiving side can check whether it has
already seen that article.
It could be extremely useful for some sites, however, to have the
protocol send additional information, and have some of the article
selection take place on the receiving side.
The most useful additional information would be the Newsgroups field.
The simplest way to use this information would be to avoid
transmitting articles that would just be rejected as trash on the
receiving side. For sites that only carry selected groups in alt.*,
for instance, that can save a tremendous amount of traffic. It also
provides an easy solution to a perennial problem: allowing sites to
adjust what groups get sent to them without having to correspond with
the admin of the feeding site. The feeder could offer everything (or
everything within certain hierarchies), and let the receiver select
only those groups that are in its active file.
Sending the whole Newsgroups field also provides a solution to
something that's been discussed on the net recently, and to which
there's no solution currently. Suppose a site doesn't want to receive
anything from alt.binaries, even articles that are also posted to
misc.test, for instance. There's no easy way to set this up currently,
but the selection could be made on the receiving side if the
Newsgroups field were sent.
Other information that it might sometimes be useful to send in
addition to the msg-id are the article size, and the distribution
field. The options could be negotiated by having the sending side
list the types of information it has available, and the receiving
side specifying which of those it's interested in seeing.
--
Harry Bochner
bochner@das.harvard.edu
Technical Details
Message-ID:
<4r92ei$nr2@necco.harvard.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:
<4qs8mb$abu@fugue.clari.net> <4qv03v$hvi@olivea.ATC.Olivetti.Com>Show Full Headers
Complete Article Headers
Message-ID: <4r92ei$nr2@necco.harvard.edu> Subject: Re: Let's put compression into NNTP -- I am willing to pay Date: Mon, 01 Jul 1996 00:00:00 +0000 From: bochner@das.harvard.edu (Harry Bochner) References: <4qs8mb$abu@fugue.clari.net> <4qv03v$hvi@olivea.ATC.Olivetti.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: 163126272 Sender: bochner@das (Harry Bochner) Organization: Aiken Computation Lab, Harvard University Newsgroups: news.software.nntp