🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
85 messages
85 total messages Page 1 of 2 Started by Curt Welch Thu, 16 Dec 1999 00:00
Page 1 of 2 • 85 total messages
Header-Only feeds (was: A nice side benefit of WebReader)
#42260
Author: Curt Welch
Date: Thu, 16 Dec 1999 00:00
215 lines
12719 bytes
uomini@fractals.com (Robert Uomini) wrote:
> Sorry about the munged message. Here it is in its entirety:
>
> One nice benefit of the transparent HTML technology, even if you
> don't post HTML articles, is that it can potentially save significant
> disk space on news servers worldwide. Here's how:
>
> When you post an article which makes use of the technology, only the
> NNTP header

The article header has nothing to do with NNTP.  You are confusing
two different standards.

> (including the URL of the article) is sent to Usenet. So,
> if a news server knows that all the clients it serves understand
> transparent HTML, there's no need to send a synopsis of the article;
> the body of the article becomes redundant. This technique works even
> if the article consists of plain text, as long as it's wrapped in the
> standard <HTML><BODY>...</BODY></HTML> tags.

No, you can't wrap plan text in that and have it come out correctly.
You have to include <PRE> tags and do escape processing on
the <, > and & characters to make it display correctly.

But if it's plain text the best way is to just make the server know
that and give it a type of text/plain instead of text/html and then
it works fine. (at least it works fine for web browsers, don't know
if your webreader can support text/plain correctly).

> Think of the disk space which can be saved...

I wonder if this idea might actually be useful.  Not for the stupid
HTML support that webreader seems to tout, but just as the basis for
restructuring how Usenet works to deal with the bandwidth issue.  I've
been thinking about this as I've read this thread and thought it might
be worth while to discusse it.  So here are some of my thoughs on the
issue (mostly created as I wrote this).

I've added news.software.nntp to the newsgroups and set followup
to n.s.n and n.s.r because I think to work, this has to be mostly done
at the server level and not the newsreader level.

What I'm thinking about is creating a standard to allow header-only feeds
to become the norm.  I use this internally on my servers where my front-end
servers get header-only feeds and are able to process all the NNTP commands
locally but go to the back-end servers for the actual articles.  And
lots of other sites have done this with Diablo as well (I use my own
custom servers instead of Diablo).

It's a great technique because a header-only server can keep up with a full
feed with with only a small fraction of the CPU power, disk space, and
bandwidth, yet it offloads a large percentage of the user load from the
back-end servers.

So maybe it would make sense to try and transform Usenet so everyone was
passing around header-only versions of the articles.  The full version of
the article would remain only on central servers, normally the server it
was posted on.

I think the only protocol change that needs to be made is a new article
header which would both indicate that the article was a "header-only"
article, and tell where to go to get the article.

I'm thinking Body: would be a good candidate for this.  I'm not sure what
syntax would be best for the content of this header however.  A URL could
work, but it strikes me that you don't want to allow the full range
of URLs.  I'm thinking we would just use NNTP to get the articles from the
remote server like the way DIABLO works.  So all you need is a host name
and an optional username/password and port.  Maybe the URL syntax is the
way to go but have a well defined standard for what's allowed and what's
not allowed.

A header only feed at todays news volume levels is only around 1GB/day
and 100Kbps of bandwidth.  That's two orders of magnatude smaller than
a full feed.

Only the largest ISPs seem to be able to run a news server these days
and even some the largest seem to be cutting back their feeds because
they can't justify the cost of a full feed.  Just about all ISPs would
be able to justify running their own header-only server.

So how does the net convert to this?  I'm thinking it would work something
like this.  We do it all at the server level.  We build servers that have
the fetures needed to support the function.  For any article posted localy,
the server adds the Body: header and is willing to accept connections from
anywhere for people to read those articles.  You might even set up a
seperate server to hold just the articles posted locally and the Body:
headers would point everyone to that server (and of course your main
server(s) would have to feed all local articles there as well).

These "new" servers would be able to accept both normal articles and
header-only articles with Body: headers.  When a user requests an article
that the server only has the header for, the server makes a connection
to the remote site and gets the article and sends it to the user.  But
it also caches the article for other users -- i.e., it acts like a
caching server.

When feeding, you could configure these "new" servers do do a few
different things.  For compatibility with current servers, they must have
the option of doing full article feeds.  They would send the entire article
even it was posted localy.  But they would still add Body: headers to local
articles they were willing to serve to the world.

For downstream feeds that were both able and willing to take the
header-only articles, only the header for the local articles would be
passed.  And if the server had articles with Body: headers, only the header
of those articles would be feed, even if the entire article happened to be
on the server.

The third feed option is a complete header-only feed.  Any article which
already had the Body: header would be feed as is.  But articles without
the Body: header would have one added and the feeding server would then
be acting as the "body server" for all those articles.  This of course
would only be done on a limited basis because no one would be willing to
server all of Usenet to the world for free.

And since the servers are able to deal with a mix of full articles and
header only articles, there's always the options of controling what's feed
as a full article and what's feed as header-only.  For example, if you have
the bandwidth, you can accept full articles for all the small articles,
but get header-only copies of articles over a certain size.

It seems to me that any ISP willing to outsource their news might prefer to
run a header-only feed from the outsourcer.  It's a small simple box to run
(compared to a normal news server), gives their users fast xover response,
and acts as an article cache so articles read by their users only need to
tranist their external links once.  And since they are paying for the
service, the outsourcer in this case will be willing to act as the master
server for all articles without Body: headers.  This is very similar to
running one of the caching servers that already exist today, but then we
have the option of making that local server act as the store house for the
locally posted articles.

The problem with this of course is why would any usenet site be willing to
act as an article server to the world for their local articles.  Under the
current system, when a user posts an article, you only have to send it out
to your feeds once.  But if you act as a server, you will most likely have
to send it out a lot more.  Maybe even thousands of times.

In this system, you are serving the article not to every user that reads
it, but to every usenet server where at least one user reads it.  And in
theory, you would only send it to each of those servers at most once.

And some sites could set up caching servers to be used by groups of
servers. Say for example an ISP that sells/provides news feeds could act as
a central caching server for all their down-stream feeds.  They could send
out header only feeds to their down-stream customers where the Body: lines
were all modified to point back to their server.  When their server
receives a request for the article, it once again sees that it's only got
the header and then chains back to the orignal site.

People would be willing to set up their servers as "body-servers" to the
world if overall it meant they would be able to reduce their bandwith
usage.  So the question is, would it reduce the overall volume if we all
switched to this or not?  I'm not sure.

But, a very good side effect of this system is that sites now become more
responsiple for what there user's post.  Not as much in terms of
responsibility for the content, but more so in terms of responsibility of
the bandwidth costs of distributing the post.  Part of the problem with the
current Usenet design is that costs don't get allocated correctly.  People
pay to read news, not to post it.  But posting is what costs the most
money.

So why don't we charge users to post?  Because it's not "our" money they
spend when they do that.  A single post costs hundreds of dollars in
bandwidth usage to distribute throughout the world, but it costs the local
site almost nothing.  So we don't charge.  So the user doesn't get charged
based on what they really "cost" usenet.

But in this new header-only system, we pay very little for the incomming
feed, and pay a lot for the outgoing articles posted by our users.  So
now we are motivated to control how much they post, or charge more based
on the volume they post.  And that's the way it should work, unlike what
we have today.  They people who post should carry a substantial portion
of the cost instead of all the readers.

I'd think that retention time would be overall much better with this new
system as well.  Or overall, we would need a lot less disk space to get
the same amount of retention.  The retention for the headers would take
1/100 of what it takes now.  And local posts generally take a lot less
space so they could be retained for much longer periods.

If posting ends up costing the person doing the post more, overall volume
should go down, and quality should go up.  Spam should go down as well
because it will become very expensive to bulk post hundreds or thousand
articles.

At first, when both the old a new systems are still in use, spammers will
obviously prefer to spam in the old system (i.e. send out full articles).
But if this new system works, then that would just motivate the net to
force a conversion to the "new" system.

One problem I see is that when you read news with this new system, you end
up getting news from lots of different places.  And like the web, you will
end up getting errors from some percentage of those - or get very slow
performance etc.  You need lots of servers to be working correctly, not
just your local server.  If it becomes too hard to read news, say because
every third article is not available, then this just won't work.

Then there's the issue that when you post an article, the header will
propigate much faster than it has in the past.  So then, you get lots of
people trying to read the article in a very short period of time.  So the
problem isn't that you have to serve the article to 1000 other sites, but
that you have to do most of that within 5 minutes of posting the article?
It's hard to know how much of a problem that would really be without
actually trying it.

What other problems are there with this idea?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42243
Author: Curt Welch
Date: Thu, 16 Dec 1999 00:00
79 lines
5210 bytes
miquels@cistron.nl (Miquel van Smoorenburg) wrote:
> In article <19991216152219.196$Pi_-_@newsreader.com>,
> Curt Welch <curt@kcwc.com> wrote:
> >I'm thinking Body: would be a good candidate for this.  I'm not sure
> >what syntax would be best for the content of this header however.  A URL
> >could work, but it strikes me that you don't want to allow the full
> >range of URLs.  I'm thinking we would just use NNTP to get the articles
> >from the remote server like the way DIABLO works.
>
> Or http, and you could use existing proxy cache solutions like squid...
>
> >The third feed option is a complete header-only feed.  Any article which
> >already had the Body: header would be feed as is.  But articles without
> >the Body: header would have one added and the feeding server would then
> >be acting as the "body server" for all those articles.  This of course
> >would only be done on a limited basis because no one would be willing to
> >server all of Usenet to the world for free.
>
> Header-only feeds are fine. If you want to get the body, simply
> get it from the news server that fed you the header in the first
> place. If that server doesn't have it, it asks the one _it_ got
> the headers from. Etc.

Interesting idea.  I talked about that as an option, but didn't think
about that as the standard way to do it.

It has the advantage that you only need to support access to your servers
by your peers.

If you get the article for the first time and you are far away from
the source, then there well be a long delay as the request chains back
though 10 servers.  But maybe in practice this well seldom happen becase
most articles will have made it at least part way up the chain?

But as the standard way of doing it, it strikes me as the wrong way to
go.  You end up forcing all those servers to cache your article -- or
from the other point of view, you end up caching lots of articles for
your downstream feeds and their downstreem feeds even though none of your
users wanted to see the article.  That's what we do today in effect so
it's no worse in that regard to how Usenet works now, but would it
be any better that what we already do?

But maybe that's a good way to get your cache pre-populated with the
stuff that most people want to read?

But the problem with that is that the more header-only feeds you send
out, the more work you are going to generate for yourself as you serve
all those article requests.  The load becomes a function not of how much
news your users are generating, but just a function of how good you are
at peering.  So good peers will end up being forced to cache news for
a very large number of sites.  That I think just won't work.  It will
encourge people to be bad peers.

I guess in the end each server should have config options for how it wants
to try and get the article.  It can always talk to some pre-defined
master server (which is basically how Diablo works now), or it can
be told to use the Body: header server if present, or some combination
of those based on newsgroup or server name etc.  Maybe the server
will be configued to use the Body: server from the article only if
it's one of the "known" good servers and otherwise it will just
default to some known good master server (which you will probably
have to pay for the right to access).

Thinking about this we probably need a "non-recurse" function for
the article get.  That is, a new NNTP command (or argument) for ARTICLE
which means give me the article only if you have the entire article already
cached.  i.e., if you just have the header, don't try to get the article,
just tell me you don't have it.  Or maybe a STAT command that indicates
whether the server has the article or only the header.  With those, a
server can be more inteligent about what it does as it tries to fetch the
article from multiple places and won't be forced to wait a long time as one
server spends a few minutes trying to make connections to other servers
that you have already tried etc.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42264
Author: Miquel van Smoorenburg
Date: Thu, 16 Dec 1999 00:00
25 lines
2091 bytes
In article <19991216152219.196$Pi_-_@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:
>I'm thinking Body: would be a good candidate for this.  I'm not sure what
>syntax would be best for the content of this header however.  A URL could
>work, but it strikes me that you don't want to allow the full range
>of URLs.  I'm thinking we would just use NNTP to get the articles from the
>remote server like the way DIABLO works.

Or http, and you could use existing proxy cache solutions like squid...

>The third feed option is a complete header-only feed.  Any article which
>already had the Body: header would be feed as is.  But articles without
>the Body: header would have one added and the feeding server would then
>be acting as the "body server" for all those articles.  This of course
>would only be done on a limited basis because no one would be willing to
>server all of Usenet to the world for free.

Header-only feeds are fine. If you want to get the body, simply
get it from the news server that fed you the header in the first
place. If that server doesn't have it, it asks the one _it_ got
the headers from. Etc.

Mike.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42285
Author: Robert Uomini
Date: Fri, 17 Dec 1999 00:00
69 lines
3508 bytes
In article <19991216152219.196$Pi_-_@newsreader.com>, curt@kcwc.com (Curt 
Welch) writes:
>
>
>uomini@fractals.com (Robert Uomini) wrote:
>> Sorry about the munged message. Here it is in its entirety:
>>
>> One nice benefit of the transparent HTML technology, even if you
>> don't post HTML articles, is that it can potentially save significant
>> disk space on news servers worldwide. Here's how:
>>
>> When you post an article which makes use of the technology, only the
>> NNTP header
>
>The article header has nothing to do with NNTP.  You are confusing
>two different standards.
>

OK, OK...then let's call it the RFC 850 header, if you want to be precise.

>> (including the URL of the article) is sent to Usenet. So,
>> if a news server knows that all the clients it serves understand
>> transparent HTML, there's no need to send a synopsis of the article;
>> the body of the article becomes redundant. This technique works even
>> if the article consists of plain text, as long as it's wrapped in the
>> standard <HTML><BODY>...</BODY></HTML> tags.
>
>No, you can't wrap plan text in that and have it come out correctly.
>You have to include <PRE> tags and do escape processing on
>the <, > and & characters to make it display correctly.
>

You're right; I was thinking of REALLY "plain" text @:-)

>But if it's plain text the best way is to just make the server know
>that and give it a type of text/plain instead of text/html and then
>it works fine. (at least it works fine for web browsers, don't know
>if your webreader can support text/plain correctly).
>

It does; the Sun rendering engine will support text/plain.

>> Think of the disk space which can be saved...
>
>I wonder if this idea might actually be useful.  Not for the stupid
>HTML support that webreader seems to tout, but just as the basis for
>restructuring how Usenet works to deal with the bandwidth issue.  I've
>been thinking about this as I've read this thread and thought it might
>be worth while to discusse it.  So here are some of my thoughs on the
>issue (mostly created as I wrote this).
>

YES!! This is the point I've been trying to make, and not too successfully. OK, 
so forget about HTML and focus on elimination of redundant articles, everyone. 
Does the technology make sense now??

The stuff I deleted looks very interesting, and it looks like Curt has a good 
grip on it. I'm saving his article to read more carefully tomorrow.

Bob
-- 
Robert Uomini
The Fractal Images Company (http://www.fractals.com)
Voice: 510-528-0258
Fax:   510-528-0243



Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42286
Author: greg
Date: Fri, 17 Dec 1999 00:00
51 lines
4043 bytes
In article <873dt1feib.fsf@erlenstar.demon.co.uk>,
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
><greg@apple2.com> writes:

>> Are you talking about article requests being forwarded back
>> along the Path until it finds the first server that has it,
>> then causing the body to be emitted along that same path back
>> to the client?

> No, we're (or at least the original poster is) talking about having
> the request go to the originating server directly (if not satisfied
> from some local cache).

Okay, I'm just saying that to avoid overloading the originating server, 
check multiple levels of cache, denoted by a reverse traversal of the 
Path header, for a cache before finally reaching the originating server.  
Then the next request with common parents before reaching the 
originating server can find the article at the point where those paths 
intersect.  A cooperative caching mechanism as it were.

And one can make the interim caching optional or temporally dependent 
(expire bodies before articles) so that one site can't demand all sites 
between it and every originator cache the articles, but hub sites can 
cache practically everything.

I hate to think of how such a system could be used in a Big-Brotherish 
fashion.  Not only would turn Usenet from carrying free speech into 
carrying only worthy speech (or worse, only popular speech), but would 
also enable the possibility of setting up witch hunts for people who 
read certain articles.  Imagine accidentally reading an article 
purporting to have illegal content, the request goes directly to the 
originating server, and suddenly you find yourself under arrest because 
the posting was part of a sting operation and they were able to trace 
the request for the article back to you.  Just because you hit n to read 
the next article without checking the headers first.

I don't even want to start to think how spammers could use this to their 
advantage.

Yes, I'd rather the request be relayed through the servers rather than 
the client requesting the article from the server directly.  And have 
the servers only know that the server one hop away wants the full 
article, not all the servers.

-- 
 --     ---                          <greg@apple2.com>
  --   -- -- ------------------------------------------------------------------
   -- --   ---              <http://www.war-of-the-worlds.org/>
    ---         (Not associated with Quake Clan Deimos, War Machine of Mars)

Re: Header-Only feeds
#42289
Author: Curt Welch
Date: Fri, 17 Dec 1999 00:00
71 lines
4426 bytes
joemac@optonline.SPAMBLOCKnet.invalid (Joe Mac) wrote:
> curt@kcwc.com wrote:
>
> >What I'm thinking about is creating a standard to allow header-only
> >feeds to become the norm.
>
> >What other problems are there with this idea?
>
> The biggest problem is simply that there's no redundancy.

Yeah, that's a good point.

> As you state, all this would be transparent to the client.  In fact, I
> wouldn't even add a "Body:" header, just use the message-ID or path to
> trace to the originating server and pull the article from there via the
> message-ID.

> This might require some clarification of indication of
> source in a m-id or path... If either indicates it's my server or a
> server in my farm, I know I have the full article.

Well that's complex because at first, most articles won't be served
by any host.  And the names in the path many times aren't valid hosts
names and even when they are, they don't want other servers probing them
all the time trying to pull articles from them.  Even if this is a good
idea, it will take many many years just to get a majority of the net
using the system, and there will be systems that aren't converted to
support it running 20 years from now.  So you clearly need a way to have
the current system working smoothly with the new system.

One of the main points of the Body: header is to clearly label articles
which are known to be served by some host.  You could do it with some
tricky way of labling path hosts or message-ids but that just makes it
obscure and even more non-obvious.  For example, any host name which began
with "body." (like www.) in the path could be assumed to be a valid
"body-server". but a host needs to have the option in my opion of whether
it's willing to be a server for it's down stream feeds.  So to control
that, it needs to put different names in the path, like news.big.net, vs
body.news.big.net. But you don't want two different path names because all
your feeds aren't likely to correctly alias their feeds to you, so then you
start putting double host names in, like news.big.net!body.news.big.net.
It just gets to be a mess I think.  Not to mention that you have no easy
option to add support for other protocols like HTTP for fetching the
articles.

I think a new header is much simpler and obvious.

On the redundancy issue, I'm thinking the Body: header needs the ability to
support a list of servers.  If the orginal posting site did run a farm of
redundant servers, then they can go ahead and list them all on the orginal
Body: header.  And the header can work like the Path header as well.  If
the article passes though a server that's willing to act as a body server
for the article, then it can add it's name to the list as well.

And maybe when trying to fetch an article, the standard algorithm will be
to try the servers in the order listed in the body header.  So if a server
adds it's name to the header, it would have the option of adding it to
the end of the list if it simply was willing to act as a "backup" server
for the article, or to the beginning of the list, if it wanted it's
downstream users to use it first before trying the original headers.

> I'd imagine the first place for this sort of implementation would be the
> binary groups.

For sure.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42292
Author: Brad Knowles
Date: Fri, 17 Dec 1999 00:00
125 lines
7372 bytes
In article <19991216152219.196$Pi_-_@newsreader.com>, curt@kcwc.com 
(Curt Welch) wrote:

> I'm thinking Body: would be a good candidate for this.  I'm not sure what
> syntax would be best for the content of this header however.  A URL could
> work, but it strikes me that you don't want to allow the full range
> of URLs.  I'm thinking we would just use NNTP to get the articles from the
> remote server like the way DIABLO works.  So all you need is a host name
> and an optional username/password and port.  Maybe the URL syntax is the
> way to go but have a well defined standard for what's allowed and what's
> not allowed.

    How about something like 
<nntp://news.your.dom.ain[:port]?user=name?pass=snark/message-id>?  Or 
does the URL syntax allow for userids and passwords already?  And where 
would this syntax be defined?

> A header only feed at todays news volume levels is only around 1GB/day
> and 100Kbps of bandwidth.  That's two orders of magnatude smaller than
> a full feed.

    Last I checked, a text-only feed was about 1GB/day, or roughly 
100Kbps bandwidth.  Are you saying that the headers of the binary 
articles are roughly as large as the bodies of the non-binary articles?

> For downstream feeds that were both able and willing to take the
> header-only articles, only the header for the local articles would be
> passed.

    I think we'd have to have a different way to identify an article 
that a server wanted to send as header only, as opposed to the entire 
body, and conversely I think we'd need a way to say "Nope, I don't want 
the header only, I only want the article if you've got the entire body" 
or "Nope, I don't want the entire article from you, I want only the 
headers".  That way you could choose to accept or refuse an article 
based on whether or not it would be complete or header-only.

    Also, instead of manually configuring feeds to be pure header-only 
or full articles, I think we ought to mix the feeds, and offer full 
articles for small messages (say, anything smaller than 32KB), and 
headers only for larger articles.  Of course, this break-over should be 
configurable per peer, and while you could control the size of the 
largest article you'd offer the full body of, the receiver would always 
have control over whether or not to accept a full-body article from you.


    This would give us the best of both worlds -- we get the largest 
majority of the articles (which cost the least volume & bandwidth) just 
like we always have, and only the binaries (or other large articles) end 
up having to be header-only fed and then cached from the server of 
origin (or a willing upstream server).


    However, these sorts of things imply that you might need a more 
complex method of offering articles -- instead of just "I have 
<message-id>, do you want it?", the communications would need to be at 
least "I have <message-id>, the headers only are Y bytes, the full body 
is X bytes -- do you want it, and if so how do you want it?"  And would 
you then want to include things like the contents of either the 
"Distribution:" and/or "Newsgroup:" headers in the offer?

> But in this new header-only system, we pay very little for the incomming
> feed, and pay a lot for the outgoing articles posted by our users.  So
> now we are motivated to control how much they post, or charge more based
> on the volume they post.  And that's the way it should work, unlike what
> we have today.  They people who post should carry a substantial portion
> of the cost instead of all the readers.

    It'd sure cut down on the amount of spam out there.  And the amount 
of illegal MP3s, entire VideoCDs, DVDs, etc....  I like this part.

> If posting ends up costing the person doing the post more, overall volume
> should go down, and quality should go up.  Spam should go down as well
> because it will become very expensive to bulk post hundreds or thousand
> articles.

    Yup.  Very nice effect.

> One problem I see is that when you read news with this new system, you 
> end up getting news from lots of different places.

    I think that would only be true of the binary articles, or whatever 
it is that ended up getting fed as header-only in most cases, whereas 
the smaller articles would basically be unchanged.

    There would be very strong incentive to keep spam below this size 
limit, otherwise it wouldn't get very far off the local server.  
Besides, regardless of whether it gets off the local server as a 
complete article or header-only, they'd still have to pay by the byte.


    Alternatively, the limit could be a technical content limit -- any 
plain text article gets offered as a full body, but articles posted as 
HTML or with attachments (regardless of how small they are) get fed as 
header-only.

> Then there's the issue that when you post an article, the header will
> propigate much faster than it has in the past.  So then, you get lots of
> people trying to read the article in a very short period of time.  So the
> problem isn't that you have to serve the article to 1000 other sites, but
> that you have to do most of that within 5 minutes of posting the article?
> It's hard to know how much of a problem that would really be without
> actually trying it.

    I'd be inclined to have a server turn around and offer the full body 
to its peers, if it was requested to go get a copy of that article by a 
user.

    This could be reflected in the "Body:" header by listing both the 
original posting server as well as the X number of servers that have 
most recently seen this complete article, and therefore if another 
server wanted a copy of it they could do their own calculations to 
decide where to first try to pull the article from.  Then you simply 
operate the list of "recent" servers as a queue, or a stack, or whatever 
your favourite algorithm is.  And you could always fall back to the 
original posting server, if all else failed.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42295
Author: Andrew Gierth
Date: Fri, 17 Dec 1999 00:00
53 lines
3467 bytes
>>>>> "Brad" == Brad Knowles <brad@shub-internet.org> writes:

 >> The basic flaw is that the origin site of an article ends up with
 >> bandwidth and server costs that _increase_ based on the popularity
 >> of the article.

 Brad>     Let's think about this again.  Today, we have a full feed
 Brad> averaging somewhere close to 85GB/day, and the proposed
 Brad> header-only or full text plus header-only solution would cut
 Brad> this to say 2GB per day.

Uh, Brad, people do actually _read_ some of the articles.

A quick sampling of some data plus some dubious estimates suggests to
me that, at a site which averages around 1500 concurrent connections,
you'd expect at least 60% of the articles to be read at least once
(assuming current expiry behaviour, along the lines of a week for
binaries and a couple of weeks for text). I don't have good data on
the distribution, by size, of those articles, but the data I have
suggests that the proportion of articles read is *higher* for the
binaries than the text articles. How much this relates to the nature
of the userbase I can't tell.

So for a site of that size, we're not talking about cutting an 85GB
feed to 2GB, but to more than 52GB. At present, the extra 33GB or less
of feed is the price that the site pays to be able to serve up any
article that a user requests without having to do a (possibly slow or
unreliable) offsite fetch, and to participate in a system that does
not impose a "popularity penalty" on sites that originate articles.

 Brad>     A popular article that was 1MB in size would have to be
 Brad> read by more than 84,992 servers in a single day, in order to
 Brad> make up that difference of 83GB.

Apples and oranges; you're adding incoming and outgoing bandwidth,
which doesn't usually make sense.

Oh, just for fun, consider what happens to a site like Jay Denebeim's,
running some popular high-traffic moderated groups from the wrong side
of a dialup line.

 Brad>     Of course, if a server had 100 popular 1MB articles, they'd
 Brad> only need to be read by 850 servers (on average) in a day in
 Brad> order to make up for the 83GB that otherwise would have been
 Brad> saved.

Yup; and there are, I reckon, between 20000 and 200000 news servers in
the world.

-- 
Andrew.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42296
Author: Brad Knowles
Date: Fri, 17 Dec 1999 00:00
62 lines
4224 bytes
In article <871z8lhkdt.fsf@erlenstar.demon.co.uk>, Andrew Gierth 
<andrew@erlenstar.demon.co.uk> wrote:

> A quick sampling of some data plus some dubious estimates suggests to
> me that, at a site which averages around 1500 concurrent connections,
> you'd expect at least 60% of the articles to be read at least once
> (assuming current expiry behaviour, along the lines of a week for
> binaries and a couple of weeks for text).

    Perhaps, but in terms of the number of different articles that are 
read, my belief is that the vast majority of them are the text articles, 
while the binaries comprise more volume, they also tend to have a lot of 
the same articles that tend to get read over and over.

>                                            I don't have good data on
> the distribution, by size, of those articles, but the data I have
> suggests that the proportion of articles read is *higher* for the
> binaries than the text articles.

    I don't believe that.  If you can show me some stats that 
demonstrate how many unique articles are read and how many times each 
article is read, then I might be willing to concede.

> Apples and oranges; you're adding incoming and outgoing bandwidth,
> which doesn't usually make sense.

    Well, in a sense, it does.  Most commercial WAN connectivity is 
symmetric in nature, so if you need tens of Mbps in order to satisfy the 
inbound bandwidth requirements for web surfers, then this leaves you 
with relatively large amounts of unused outbound bandwidth.  Those sites 
would then be able to make better use of that outbound bandwidth by 
shifting to an on-demand pull for the larger binary articles.

> Oh, just for fun, consider what happens to a site like Jay Denebeim's,
> running some popular high-traffic moderated groups from the wrong side
> of a dialup line.

    Are they text groups or binary groups?  What size binary groups?  
The mechanisms I've proposed for the distribution of binary articles 
would allow the possibility of doing a full binary outbound feed across 
a dial-up line to your provider, which would then pass those articles on 
as header-only feeds to most of it's peers.  The dial-up customer might 
pay bandwidth utilization charges from the server side, but their 
dial-up line would not necessarily be saturated.

> Yup; and there are, I reckon, between 20000 and 200000 news servers in
> the world.

    But what's the locality of reference, and if you have hierarchies of 
news caching servers (like web caching servers today), just how many 
servers really would go pull the article from it's source, versus being 
able to get a copy of it from a closer, faster, lower latency, and 
probably less expensive peer?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42297
Author: Ade Lovett
Date: Fri, 17 Dec 1999 00:00
75 lines
3941 bytes
On 17 Dec 1999 22:22:05 GMT, Curt Welch <curt@kcwc.com> wrote:
>
> [huge snip]
>
>But lets look at this volume issue another way.  Lets think about all
>servers in the world which get the news.software.nntp group.  Let's say
>there are N of them (reader boxes that is - let's just pretend there are
>not tranist servers for this).  For any aticle (like this one) posted to
>the group in the current full-feed system, it will end up being transmited,
>and received exactly N times.  Once for each server. (also ignoring the
>problems which cause the same article to sometimes be transmitted to the
>same box twice).

>With the header-only system, the header takes the same path, but the body  
>is only transmitted to the servers that had someone which read the article.
>Who knows what percent that would be, but it has to be less than N.


Only true in a perfect world.  The big assumption that you're making
here is the cache on one of your N servers is sufficiently large to
hold the bodies for all the articles which it maintains in its local
header index - if it's not, then you have to purge the cache of bodies
somehow.

You have two choices for this purging:

  1.  purge the body, but leave the header in place.

  2.  purge the article header at the same time as the body.

(1) can result in a situation where an article is requested multiple
times by the same header-only server.  (2) is probably a non-starter :)

The worst-case situtation for (1) is that the caches are such that
a header-only site has to request the article every time an individual
reader accesses it, until either the header expires on the local system,
or the entire article goes away on the source system.

I won't even start on the potential for DoS cache-thrashing attacks.


>Now because the price structure of the net is not distance sensitive (we
>pay the same to send a byte next door as we do to send it around the
>world),

Again, not true.  There are plenty of real-world examples where the
cost of sending a byte of traffic varies with the destination.

Just because it doesn't cost either of the two endpoints any extra
to send their bytes, there are plenty of intermediaries who would say
otherwise.

Think about the price differential between, say a 155Mbit pipe US
coast-to-coast, and a similar pipe across the Atlantic.


> [snip]
>
>Overall I think I'm talking myself into believing that this would be a
>good thing for usenet....

Possibly, though not as much as you'd imagine at first glance.

Factor in all the unfortunate side-effects of the real world, some of
which are continuously changing, and it may still be worth it.

The modelling work in itself would be an interesting project.

-aDe

-- 
Ade Lovett, Supernews Inc., San Jose, CA.
mailto:ade@supernews.com   http://www.supernews.com

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42303
Author: Ross Presser
Date: Fri, 17 Dec 1999 00:00
18 lines
1537 bytes
alt.distinguished.jgreco@ns.sol.net (Joe Greco).wrote.posted.offered:

>Every byte received on the Internet has one transmitted to match.

A good thing, too, or we'd have huge byte jams somewhere, with enormous 
terabyte piles of data accumulating and never going anywhere.  The 
routers would become so heavy with the weight of untransmitted bytes 
they would collapse into black holes.

:)

-- 
Ross Presser
ross_presser@imtek.com
"And if you're the kind of person who parties with a bathtub full of
pasta, I suspect you don't care much about cholesterol anyway."

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42305
Author: Robert Uomini
Date: Fri, 17 Dec 1999 00:00
18 lines
1452 bytes
Another benefit/feature of header-only feeds is that the hosting server 
controls the life of the article, more so than it does today.

For example, an article today may be available for a couple of weeks max. But 
the user can download it and keep it forever. With transparent HTML, the user 
is saving a link only. Once the link is gone, so goes the article unless a 
mechanism is provided to download the actual page.

Bob
-- 
Robert Uomini
The Fractal Images Company (http://www.fractals.com)
Voice: 510-528-0258
Fax:   510-528-0243



Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42310
Author: Andrew Gierth
Date: Fri, 17 Dec 1999 00:00
87 lines
5190 bytes
>>>>> "Brad" == Brad Knowles <brad@shub-internet.org> writes:

 >> A quick sampling of some data plus some dubious estimates suggests
 >> to me that, at a site which averages around 1500 concurrent
 >> connections, you'd expect at least 60% of the articles to be read
 >> at least once (assuming current expiry behaviour, along the lines
 >> of a week for binaries and a couple of weeks for text).

 Brad>     Perhaps, but in terms of the number of different articles
 Brad> that are read, my belief is that the vast majority of them are
 Brad> the text articles, while the binaries comprise more volume,
 Brad> they also tend to have a lot of the same articles that tend to
 Brad> get read over and over.

I might have guessed the same, but the evidence I found when I actually
went out and looked contradicted that.

 >> I don't have good data on the distribution, by size, of those
 >> articles, but the data I have suggests that the proportion of
 >> articles read is *higher* for the binaries than the text articles.

 Brad>     I don't believe that.  If you can show me some stats that
 Brad> demonstrate how many unique articles are read and how many
 Brad> times each article is read, then I might be willing to concede.

I don't have those stats.

What I *do* have is access to a one-article-per-file spool that is
_not_ mounted noatime, so it's possible to tell which articles have
been read since they were received (by testing for atime > mtime).

I took a random sample of articles from this spool (selecting based on
the MD5 of the message-id, which is about as random as it gets) and
looked at the proportion that had been accessed (just under 60%). This
is obviously a lower bound, since it doesn't take into account that the
article may be read between now and when it expires, but excluding
the most recent articles from the sample didn't change the proprtions
much, suggesting that most articles are read, if at all, quite soon
after arrival.

Eliminating the small articles (<51200 bytes) from the sample resulted
in a big jump in the proportion accessed, from under 60% to over 77%.

 >> Oh, just for fun, consider what happens to a site like Jay Denebeim's,
 >> running some popular high-traffic moderated groups from the wrong side
 >> of a dialup line.

 Brad>     Are they text groups or binary groups?

text. But the principle is the same.

 Brad> The mechanisms I've proposed for the distribution of binary
 Brad> articles would allow the possibility of doing a full binary
 Brad> outbound feed across a dial-up line to your provider, which
 Brad> would then pass those articles on as header-only feeds to most
 Brad> of it's peers.  The dial-up customer might pay bandwidth
 Brad> utilization charges from the server side,

exactly. The situation is pretty much parallel to that of providing
personal webspace to dialup customers, which I used as the basis for
calculations in another post.

 >> Yup; and there are, I reckon, between 20000 and 200000 news
 >> servers in the world.

 Brad>     But what's the locality of reference,

Are you prepared to bet your site's entire outgoing bandwidth on
how good the locality of reference of the rest of Usenet is?

 Brad> and if you have hierarchies of news caching servers (like web
 Brad> caching servers today), just how many servers really would go
 Brad> pull the article from it's source, versus being able to get a
 Brad> copy of it from a closer, faster, lower latency, and probably
 Brad> less expensive peer?

Note that there's nothing stopping this from being implemented on a
local basis, e.g. a regional bandwidth provider maintaining a large
spool, giving out header feeds to customers or topologically close
sites, and allowing those sites to fetch articles. The problems only
start when you expect the article fetch to go all the way back to the
originating site.

-- 
Andrew.

Re: Header-Only feeds
#42311
Author: Robert Uomini
Date: Fri, 17 Dec 1999 00:00
49 lines
2607 bytes
In article <8E9ED3DE1pk90dsq7@167.206.112.6>, 
joemac@optonline.SPAMBLOCKnet.invalid (Joe Mac) writes:
>
>
>curt@kcwc.com wrote:
>
>>What I'm thinking about is creating a standard to allow header-only
>>feeds to become the norm.  
>
>>What other problems are there with this idea?
>
>The biggest problem is simply that there's no redundancy. And I'm not 
>talking one or two servers carrying the full article, but many, as it is 
>today (but not all). 
>
>How to solve that...
>
>You'd have to have some level of chaining amongst peer servers (sort of a 
>server farm), say a grouping of five or more so if one article is posted on 
>one of those servers, it is posted to all of them.  When a non-peer 
>requests a full body for an article, the originator in the farm could be 
>tried, if it isn't available each server in turn could be tried. That would 
>reduce the risk of any one server going down and losing the article.  
>

Yes, this is the way WebReader works now, but with two servers specified, a 
primary and a secondary.

>As you state, all this would be transparent to the client.  In fact, I 
>wouldn't even add a "Body:" header, just use the message-ID or path to 
>trace to the originating server and pull the article from there via the 
>message-ID.  This might require some clarification of indication of source 
>in a m-id or path... If either indicates it's my server or a server in my 
>farm, I know I have the full article.
>

This would require the posting server to also host the article bodies, not a 
good idea in all cases.

Bob
-- 
Robert Uomini
The Fractal Images Company (http://www.fractals.com)
Voice: 510-528-0258
Fax:   510-528-0243



Re: Header-Only feeds
#42314
Author: Brad Knowles
Date: Fri, 17 Dec 1999 00:00
23 lines
2085 bytes
In article <87yaaugcyo.fsf@erlenstar.demon.co.uk>, Andrew Gierth 
<andrew@erlenstar.demon.co.uk> wrote:

> You're thinking about this purely from a "consumer" point of view.
> Don't forget the other side of the coin: the ISP ends up facing
> heavier, and completely unpredictable, costs for serving up their
> local posts to the rest of the world.

    Hmm.  So you're saying that a single popular binary article that 
would be posted with the pull-on-demand method could wipe out the 
bandwidth savings from not taking a full feed, and make bandwidth 
utilization projections much less reliable?

    Interesting.  I had never considered that issue.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42319
Author: greg
Date: Fri, 17 Dec 1999 00:00
24 lines
2507 bytes
In article <87so11fhzp.fsf@erlenstar.demon.co.uk>,
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:

> Note that there's nothing stopping this from being implemented on a
> local basis, e.g. a regional bandwidth provider maintaining a large
> spool, giving out header feeds to customers or topologically close
> sites, and allowing those sites to fetch articles. The problems only
> start when you expect the article fetch to go all the way back to the
> originating site.

Are you talking about article requests being forwarded back along the 
Path until it finds the first server that has it, then causing the body 
to be emitted along that same path back to the client?

Assuming Path-reversability, would that work?  Would this be IWANT vs. 
IHAVE?

-- 
 --     ---                          <greg@apple2.com>
  --   -- -- ------------------------------------------------------------------
   -- --   ---              <http://www.war-of-the-worlds.org/>
    ---         (Not associated with Quake Clan Deimos, War Machine of Mars)

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42320
Author: Andrew Gierth
Date: Fri, 17 Dec 1999 00:00
30 lines
1895 bytes
>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:

 Curt> I keep getting confused on the syntax of the news: url.  But I
 Curt> think it's like the other ones so it's something like:

 Curt>   news:[//[user[.password]@]host[:port]/]message-id|newsgroup-name

actually, it's not.

The original definition of news: allows for only

  news:message@id
  news:news.group.name

The inclusion of a host is a nonstandard perversion.

In any case, plaintext passwords in URLs suck _really hard_, because they
get exposed in all sorts of situations.

 >> And where would this syntax be defined?

 Curt> I tend to go to http://www.w3.org/ to start looking for that type of stuff.
 Curt> There's an RFC that defines urls isn't there?

RFC1738.

-- 
Andrew.

Re: Header-Only feeds
#42321
Author: Joe Mac
Date: Fri, 17 Dec 1999 00:00
41 lines
2523 bytes
curt@kcwc.com wrote:

>What I'm thinking about is creating a standard to allow header-only
>feeds to become the norm.  

>What other problems are there with this idea?

The biggest problem is simply that there's no redundancy. And I'm not 
talking one or two servers carrying the full article, but many, as it is 
today (but not all). 

How to solve that...

You'd have to have some level of chaining amongst peer servers (sort of a 
server farm), say a grouping of five or more so if one article is posted on 
one of those servers, it is posted to all of them.  When a non-peer 
requests a full body for an article, the originator in the farm could be 
tried, if it isn't available each server in turn could be tried. That would 
reduce the risk of any one server going down and losing the article.  

This could lead to more dependable servers as if I have a problem with my 
article bodies showing up at your client but my headers make it there fine, 
my server's at fault. I'd complain to my admins, etc. Or switch to a more 
reliable server on a different ISP, forcing ISPs to keep their servers 
running fine or track down people posting too much junk and slowing the 
server down.

As you state, all this would be transparent to the client.  In fact, I 
wouldn't even add a "Body:" header, just use the message-ID or path to 
trace to the originating server and pull the article from there via the 
message-ID.  This might require some clarification of indication of source 
in a m-id or path... If either indicates it's my server or a server in my 
farm, I know I have the full article.

I'd imagine the first place for this sort of implementation would be the 
binary groups.

-- 
Joe Mac

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42324
Author: Robert Uomini
Date: Fri, 17 Dec 1999 00:00
38 lines
2443 bytes
In article <83bogl$am9$1@enterprise.cistron.net>, miquels@cistron.nl (Miquel 
van Smoorenburg) writes:
>
>
>In article <19991216152219.196$Pi_-_@newsreader.com>,
>Curt Welch <curt@kcwc.com> wrote:
>>I'm thinking Body: would be a good candidate for this.  I'm not sure what
>>syntax would be best for the content of this header however.  A URL could
>>work, but it strikes me that you don't want to allow the full range
>>of URLs.  I'm thinking we would just use NNTP to get the articles from the
>>remote server like the way DIABLO works.
>
>Or http, and you could use existing proxy cache solutions like squid...
>
>>The third feed option is a complete header-only feed.  Any article which
>>already had the Body: header would be feed as is.  But articles without
>>the Body: header would have one added and the feeding server would then
>>be acting as the "body server" for all those articles.  This of course
>>would only be done on a limited basis because no one would be willing to
>>server all of Usenet to the world for free.
>
>Header-only feeds are fine. If you want to get the body, simply
>get it from the news server that fed you the header in the first
>place. If that server doesn't have it, it asks the one _it_ got
>the headers from. Etc.
Unless it's down, which is why specifying alternate servers in the news header 
i sthe way to go.

Bob 
-- 
Robert Uomini
The Fractal Images Company (http://www.fractals.com)
Voice: 510-528-0258
Fax:   510-528-0243



Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42325
Author: Andrew Gierth
Date: Fri, 17 Dec 1999 00:00
35 lines
2571 bytes
>>>>> "Robert" == Robert Uomini <uomini@fractals.com> writes:

 Robert> I disagree. If you make the server handle the fetching of
 Robert> "remote" articles, then that would turn it inot more of a
 Robert> bottleneck than it is now. By letting the newsreader fetch
 Robert> the article, you're distributing the load and leaving the
 Robert> news server more CPU cycles for other stuff.

And potentially multiplying the bandwidth usage by orders of
magnitude.

This approach is _completely disastrous_ both for bandwidth at the
reading site and at the originating site unless caching is mandatory,
whether it's done in the news server or in a web-cache (which
introduces exactly the same bottlenecks).

(Currently, once you have more than a certain number of users, running
a local news server _saves_ bandwidth compared to letting your users
read news from external sources, even if you're taking in a full
feed.)

 Robert> I think you should specify a URL and define the level of
 Robert> support, e.g., HTML 3.2, etc., for compatibility reasons.

You seem to have missed the point; there's no question that this idea
is basically pointless for text posts, all the discussion here (.nntp)
is based around whether it can help deal with the problem of binary
traffic.  Forget about text/plain or text/html; the content types that
this mechanism needs to handle are things like audio/mp3, video/mpeg,
or application/x-iso-filesystem-image (or whatever).

-- 
Andrew.

Re: Header-Only feeds
#42326
Author: Brad Knowles
Date: Fri, 17 Dec 1999 00:00
67 lines
4366 bytes
In article <19991216221539.666$8m@newsreader.com>, curt@kcwc.com (Curt 
Welch) wrote:

>                                                  Even if this is a good
> idea, it will take many many years just to get a majority of the net
> using the system, and there will be systems that aren't converted to
> support it running 20 years from now.

    I don't think that's necessarily true.  I think we could get this 
stuff rolled out pretty quickly, if we had a small number of motivated 
people working with the three or four major news spool/transit server 
programs, and each making the corresponding changes on their system.


    I think ISPs would have a strong incentive to pay some pretty big 
money for features like this, so that they could stop transiting all 
that binary content across their relatively expensive WAN lines.

    I think satellite news providers would likewise be interested in 
something like this, because it could allow them to take an absolutely 
full feed at their servers, send header-only feeds to their customers, 
and then when one customer requests a particular article it could be 
retrieved and transmitted to all satellite receivers at all customer 
sites, so that if someone else also asks for the same article, the 
probability is high that it would already have been received and they 
wouldn't need to retrieve it again via satellite.

    I think this would allow them to greatly increase the efficiency of 
the satellite connection (they have as much a problem with the volume 
increase in binaries as ISPs do, if not more of a problem), and the 
caching effect should help ensure that most of the most frequently 
accessed articles are already stored on the local hard drive of the 
satellite receiver box.

>                                        So you clearly need a way to have
> the current system working smoothly with the new system.

    Granted, you do have to have full interoperability with the current 
system, and that will continue for a considerable period of time.

> On the redundancy issue, I'm thinking the Body: header needs the ability 
> to support a list of servers.

    I think we're on the same wavelength here.

> And maybe when trying to fetch an article, the standard algorithm will be
> to try the servers in the order listed in the body header.  So if a 
> server
> adds it's name to the header, it would have the option of adding it to
> the end of the list if it simply was willing to act as a "backup" server
> for the article, or to the beginning of the list, if it wanted it's
> downstream users to use it first before trying the original headers.

    I think this is a very good idea, although I think you want a 
mechanism for limiting the number of machines that could be body 
servers, and clearly identifying those machines which should never be 
eliminated from the list (because they're at the originating site) from 
those that have added themselves to the list after the fact.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Header-Only feeds
#42328
Author: Curt Welch
Date: Fri, 17 Dec 1999 00:00
78 lines
4874 bytes
Simon Lyall <simon@darkmere.gen.nz> wrote:
> In news.software.nntp Brad Knowles <brad@shub-internet.org> wrote:
> >    A popular article that was 1MB in size would have to be read by more
> >than 84,992 servers in a single day, in order to make up that difference
> >of 83GB.
>
> You are spreading stuff out over the whole day, what will happen is that
> the 1000 or so large sites around the world will have enough people who
> grab whole alt.binaries.* groups that they will grab the article within
> 10 minutes.

Yeah, it's important to think about the "bursting" effect what would happen
shortly after the article was posted.  For small sites, it's not just
the total bytes you might have to serve, but how fast you might have
to serve them.

With current usenet, limited bandwidth or server performance may
mean a delay on when your users see an article, or when their posted
articles get out to the world.  It may take hours for large articles
to make it to all the corners of the world.  And the user don't try
to read it until it gets there.

But with a header-only system, the headers will fly around the world
in seconds.  Then wham! all of a sudden thousands of users may be trying
to get a copy of the same article.

> 1GB / 600 seconds = 1.6MB/s = 16Mb/s
>
> Which is a lot to hit you suddenly.

And that's just a single 1MB article.  Imaging a 100 part posting with
each part being 1MB hitting your server from a well connected user within
10 minutes.  Your bandwidth requirements would shoot up to 1600 Mb/s to
server it in a timely manner!

But, like I talked about in my other recent long post, network operators
will end up setting up caching servers just to save their own bandwidth
costs, so with that happening all over the world, the number of hits
on the orginating server will end up being much smaller.  But how much
smaller???

Also, I guess if a server doesn't have the bandwidth to respond to all the
reqeusts, and the Body: header ends up listing many possible servers,
reading systems will end up getting the body from others servers anyway.
Maybe in general, reading systems will need to (should?) keep track of
which Body servers they have the best "luck" with in the past, so when
fetching a new body, they know which server to try first.  And in general,
that would allow them to find the servers which work the best for them,
and at the same time, cause the overall "load" of serving articles to
spread evenly across all the cahcing body servers?

Or is this just getting to complex to work???

> Checking my daily stats I have 700 posts for a total of 14MB today.
> If 2000 sites download those over the next 24 hours then thats 1.4
> Milllion "hits" and 28GB transfered at a nice 2.5MB/s average.

28GB in a day is a lot nicer than 85GB in a day for a full feed.  You
didn't mention how much bandwidth you are using for your feeds now
so this is hard to compare.  Also, 1.4 million hits(/articles) fed
is higher than a full outgoing feed but it's bascially the same size.

And with a lot of caching servers around the world working, you number
of hits may be a lot less.  Or may be a lot higher???

This also demonstrates the true cost your users are placing on
Usenet.  Whether you pay that bandwidth bill or not, someone is paying
it now.  They are currently paying more than you would have to pay
(as demonstrated by my example in my other long post).  So to me, it
seems resonable that you pay that bill instead of, say me, because
I just paid to move those articles in and out of my system, and chances
are, none of my users saw any of them.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42330
Author: Joe Greco
Date: Fri, 17 Dec 1999 00:00
20 lines
1987 bytes
In news.software.nntp article <brad-B57E0B.13443917121999@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote:
:    Well, in a sense, it does.  Most commercial WAN connectivity is 
:symmetric in nature, so if you need tens of Mbps in order to satisfy the 
:inbound bandwidth requirements for web surfers, then this leaves you 
:with relatively large amounts of unused outbound bandwidth.  Those sites 
:would then be able to make better use of that outbound bandwidth by 
:shifting to an on-demand pull for the larger binary articles.

Most commercial ISP's are smart enough to use their outbound bandwidth
for Web and FTP hosting while using their inbound bandwidth for dialup
and DSL access, often subsidizing the pricing of one based on the 
success of the other.  Thinking that you have an empty channel in the
other direction is going to get you in trouble...  it just means that
a lot of folks will have to buy additional bandwidth.

Every byte received on the Internet has one transmitted to match.

... JG

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42331
Author: Brad Knowles
Date: Fri, 17 Dec 1999 00:00
34 lines
2497 bytes
In article <874sdihsk0.fsf@erlenstar.demon.co.uk>, Andrew Gierth 
<andrew@erlenstar.demon.co.uk> wrote:

> The basic flaw is that the origin site of an article ends up with
> bandwidth and server costs that _increase_ based on the popularity of
> the article.

    Let's think about this again.  Today, we have a full feed averaging 
somewhere close to 85GB/day, and the proposed header-only or full text 
plus header-only solution would cut this to say 2GB per day.

    A popular article that was 1MB in size would have to be read by more 
than 84,992 servers in a single day, in order to make up that difference 
of 83GB.


    Of course, if a server had 100 popular 1MB articles, they'd only 
need to be read by 850 servers (on average) in a day in order to make up 
for the 83GB that otherwise would have been saved.


    Now, what happens when the bandwidth required for a full feed 
doubles in six months?  A single popular 1MB article would have to be 
read by more than 169,984 servers, or a hundred popular 1MB articles 
would have to be read by more than 1700 servers (on average).

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42333
Author: Brad Knowles
Date: Fri, 17 Dec 1999 00:00
20 lines
1807 bytes
In article <19991216223728.072$QK@newsreader.com>, curt@kcwc.com (Curt 
Welch) wrote:

>   news:[//[user[.password]@]host[:port]/]message-id|newsgroup-name
> 
> With the < > missing from the Message-ID which BTW, sucks.
> 
> or is it user:password?  I forget.

    Man, you better hope that neither the username nor the password have 
.'s or :'s in them.  Unless you force them to use an escape mechanism....

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42335
Author: Curt Welch
Date: Fri, 17 Dec 1999 00:00
69 lines
4245 bytes
uomini@fractals.com (Robert Uomini) wrote:
> In article <19991216152219.196$Pi_-_@newsreader.com>, curt@kcwc.com (Curt
> Welch) writes:
> >
> >
> >I've added news.software.nntp to the newsgroups and set followup
> >to n.s.n and n.s.r because I think to work, this has to be mostly done
> >at the server level and not the newsreader level.
> >
>
> I disagree. If you make the server handle the fetching of "remote"
> articles, then that would turn it inot more of a bottleneck than it is
> now.

No, it's guaranteed to be less of a bottleneck than it is now for the
server.  You may not realize just how much work news servers are currently
doing.  They push a _lot_ of data very quickly.

> By letting the newsreader fetch the article, you're distributing the
> load and leaving the news server more CPU cycles for other stuff.

Sure that's nice.  But then you don't get any caching effect.  i.e., 100
clients of a single server end up having to each fetch the orginal article
from some site in Austraila intead of one fecth from the server, and then
having the server send it out 100 times to its clients.  Theres no question
about it, we have to have caching if this is going to work.

But even more important is the issue of compatibility with current
software. If the server doesn't know about this, and you post a header-only
article to usenet.  Then 99.9% of the current users will not be able to
read the article.  You have a realy tough chicken and egg problem.  People
won't use it because it doesn't work, but if people aren't useing it, then
there's no motivation for others to update software to support it.  In
short, what will happen is that you will never get it adapted by the Usenet
community as a whole.

Your transparent HTML has this problem but you haven't yet comprehended the
full nature of the the problem you are facing.  You will.  But at least
with that a transparent HTML posting "works" with todays usenet because of
the text only body you send out. If you were to try and get a header-only
system working at the newsreader level, the hurdel would be 10 times as
tough.  It would never work without suport at the server level.  And if the
header-only standard is done at the server level, you don't need to deal
with the newsreaders at all, so why would you bother (since it's both not
needed and not desired).

Transpartent HTML can work at the newsreader level, header-only feeds just
can't.

> >I think the only protocol change that needs to be made is a new article
> >header which would both indicate that the article was a "header-only"
> >article, and tell where to go to get the article.
> >
>
> Why not just specify in the header the location of the article body? If
> such a header field exists, then there is no message body. This is the
> way WebReader does it.

Isn't that what I said?

"a new article header which would both ..., and tell where to go to get the
article." is the same thing as "specify the location of the body in the
header".  Sorry if my geek talk isn't as clear as it should be...

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42336
Author: Jeremy
Date: Fri, 17 Dec 1999 00:00
24 lines
1721 bytes
Robert Uomini <uomini@fractals.com> wrote:

> I disagree. If you make the server handle the fetching of "remote"
> articles, then that would turn it inot more of a bottleneck than it is
> now. By letting the newsreader fetch the article, you're distributing
> the load and leaving the news server more CPU cycles for other stuff.

You're also ensuring that every single client that wants to read the article
is going to fetch it from the remote server.  You've just multiplied the
bandwidth cost by the number of users, for any given ISP.  It doesn't
scale.

> Why not just specify in the header the location of the article body? If
> such a header field exists, then there is no message body. This is the
> way WebReader does it.

Hmm, maybe because you *patented* that "technology", ensuring that it
can't be used in the real world until someone goes to the expense of
squashing your silly patent?

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42339
Author: Robert Uomini
Date: Fri, 17 Dec 1999 00:00
48 lines
2659 bytes
In article <19991216152219.196$Pi_-_@newsreader.com>, curt@kcwc.com (Curt 
Welch) writes:
>
>
>I've added news.software.nntp to the newsgroups and set followup
>to n.s.n and n.s.r because I think to work, this has to be mostly done
>at the server level and not the newsreader level.
>

I disagree. If you make the server handle the fetching of "remote" articles, 
then that would turn it inot more of a bottleneck than it is now. By letting 
the newsreader fetch the article, you're distributing the load and leaving the 
news server more CPU cycles for other stuff.

>I think the only protocol change that needs to be made is a new article
>header which would both indicate that the article was a "header-only"
>article, and tell where to go to get the article.
>

Why not just specify in the header the location of the article body? If such a 
header field exists, then there is no message body. This is the way WebReader 
does it.

>I'm thinking Body: would be a good candidate for this.  I'm not sure what
>syntax would be best for the content of this header however.  A URL could
>work, but it strikes me that you don't want to allow the full range
>of URLs.  I'm thinking we would just use NNTP to get the articles from the
>remote server like the way DIABLO works.  So all you need is a host name
>and an optional username/password and port.  Maybe the URL syntax is the
>way to go but have a well defined standard for what's allowed and what's
>not allowed.
>

I think you should specify a URL and define the level of support, e.g., HTML 
3.2, etc., for compatibility reasons.

More later.

Bob
-- 
Robert Uomini
The Fractal Images Company (http://www.fractals.com)
Voice: 510-528-0258
Fax:   510-528-0243



Re: Header-Only feeds
#42343
Author: Robert Uomini
Date: Fri, 17 Dec 1999 00:00
45 lines
2727 bytes
In article <19991216221539.666$8m@newsreader.com>, curt@kcwc.com (Curt Welch) 
writes:
>
>
>joemac@optonline.SPAMBLOCKnet.invalid (Joe Mac) wrote:
>> curt@kcwc.com wrote:
>>
>> >What I'm thinking about is creating a standard to allow header-only
>> >feeds to become the norm.
>>
>Well that's complex because at first, most articles won't be served
>by any host.  And the names in the path many times aren't valid hosts
>names and even when they are, they don't want other servers probing them
>all the time trying to pull articles from them.  Even if this is a good
>idea, it will take many many years just to get a majority of the net
>using the system, and there will be systems that aren't converted to
>support it running 20 years from now.  So you clearly need a way to have
>the current system working smoothly with the new system.
>

I had to deal with the same issue, and the way I resolved it (in the near term) 
was as I mentioned in a previous post: initially use the technology for private 
groups only, where you can control what news clients the users are using (isn't 
this what AOL does now with their instant messaging software?).

>On the redundancy issue, I'm thinking the Body: header needs the ability to
>support a list of servers.  If the orginal posting site did run a farm of
>redundant servers, then they can go ahead and list them all on the orginal
>Body: header.  And the header can work like the Path header as well.  If
>the article passes though a server that's willing to act as a body server
>for the article, then it can add it's name to the list as well.
>

Again, this is what WebReader does today.

Bob
-- 
Robert Uomini
The Fractal Images Company (http://www.fractals.com)
Voice: 510-528-0258
Fax:   510-528-0243



Re: Header-Only feeds
#42345
Author: Simon Lyall
Date: Fri, 17 Dec 1999 00:00
24 lines
1805 bytes
In news.software.nntp Brad Knowles <brad@shub-internet.org> wrote:
>    A popular article that was 1MB in size would have to be read by more 
>than 84,992 servers in a single day, in order to make up that difference 
>of 83GB.

You are spreading stuff out over the whole day, what will happen is that
the 1000 or so large sites around the world will have enough people who
grab whole alt.binaries.* groups that they will grab the article within 10
minutes.

1GB / 600 seconds = 1.6MB/s = 16Mb/s 

Which is a lot to hit you suddenly. 

Checking my daily stats I have 700 posts for a total of 14MB today.
If 2000 sites download those over the next 24 hours then thats 1.4
Milllion "hits" and 28GB transfered at a nice 2.5MB/s average.

-- 
Simon J. Lyall  |  Very Busy  |  Mail: simon@darkmere.gen.nz
"Inside me Im Screaming, Nobody pays any attention."  |  MT.


Re: Header-Only feeds
#42346
Author: Andrew Gierth
Date: Fri, 17 Dec 1999 00:00
20 lines
1831 bytes
>>>>> "Brad" == Brad Knowles <brad@shub-internet.org> writes:

 Brad>     I think ISPs would have a strong incentive to pay some
 Brad> pretty big money for features like this, so that they could
 Brad> stop transiting all that binary content across their relatively
 Brad> expensive WAN lines.

You're thinking about this purely from a "consumer" point of view.
Don't forget the other side of the coin: the ISP ends up facing
heavier, and completely unpredictable, costs for serving up their
local posts to the rest of the world.

Usenet is not much use if no-one can afford to post to it; and a cost
structure that discourages popular posts is exactly what Usenet
_doesn't_ need....

-- 
Andrew.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42348
Author: Curt Welch
Date: Fri, 17 Dec 1999 00:00
10 lines
1325 bytes
Brad Knowles <brad@shub-internet.org> wrote:
> ... and I tend to send out more than I take in.

yeah Brad, we all know that :)

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42354
Author: Robert Uomini
Date: Fri, 17 Dec 1999 00:00
58 lines
3361 bytes
In article <874sdihsk0.fsf@erlenstar.demon.co.uk>, Andrew Gierth 
<andrew@erlenstar.demon.co.uk> writes:
>
>
>>>>>> "Robert" == Robert Uomini <uomini@fractals.com> writes:
>
> >> The article header has nothing to do with NNTP.  You are confusing
> >> two different standards.
>
> Robert> OK, OK...then let's call it the RFC 850 header, if you want
> Robert> to be precise.
>
>RFC850 is long obsolete. Try 1036.
>
> >> I wonder if this idea might actually be useful.  Not for the
> >> stupid HTML support that webreader seems to tout, but just as the
> >> basis for restructuring how Usenet works to deal with the
> >> bandwidth issue.  I've been thinking about this as I've read this
> >> thread and thought it might be worth while to discusse it.  So
> >> here are some of my thoughs on the issue (mostly created as I
> >> wrote this).
>
> Robert> YES!! This is the point I've been trying to make, and not too
> Robert> successfully. OK, so forget about HTML and focus on
> Robert> elimination of redundant articles, everyone.
> Robert> Does the technology make sense now??
>
>Not as much as you might think. (It's also not a new idea, various
>people have been bandying it about for the last couple of years,
>without anyone taking much notice.)
>
>The basic flaw is that the origin site of an article ends up with
>bandwidth and server costs that _increase_ based on the popularity of
>the article. This is clearly a bad move; while it may be satisfying to
>think about avoiding wasting space on things that no-one happens to
>read, you run the very real risk of driving away the things that
>people _do_ read, because no user or site could run the risk of
>posting something unexpectedly popular because of the bandwidth hit.
>
>(It's not unreasonable to suppose that an article in a popular group
>might be read from ten or twenty thousand different sites; five
>articles of 3k each that take 10000 hits each would reach the 150MB
>daily bandwidth limit that Demon applies to personal webspace, and
>that limit is supposedly based on actual bandwidth costs.)
>
Isn't this what Web servers need to deal with now? What's the difference? The 
popular Web sites are able to handle the kind of capacity you mention.

Bob
-- 
Robert Uomini
The Fractal Images Company (http://www.fractals.com)
Voice: 510-528-0258
Fax:   510-528-0243



Re: Header-Only feeds
#42358
Author: Simon Lyall
Date: Fri, 17 Dec 1999 00:00
34 lines
2667 bytes
In news.software.nntp Curt Welch <curt@kcwc.com> wrote:
>Simon Lyall <simon@darkmere.gen.nz> wrote:
>> Checking my daily stats I have 700 posts for a total of 14MB today.
>> If 2000 sites download those over the next 24 hours then thats 1.4
>> Milllion "hits" and 28GB transfered at a nice 2.5MB/s average.
>28GB in a day is a lot nicer than 85GB in a day for a full feed.  You
>didn't mention how much bandwidth you are using for your feeds now
>so this is hard to compare.  Also, 1.4 million hits(/articles) fed
>is higher than a full outgoing feed but it's bascially the same size.

As it happens my feed isn't so good this week so Im am getting only about
30GB/d . The big problem is that this would be expensive outgoing
bandwidth rather than cheap satellite incoming bandwidth. Since it's so
expensive around here we buy only as much as we need. So for every 10Mb/s
of incoming we might only buy a couple of MB/s of expensive ground
bandwidth in the other direction.

For rough prices around here see http://www.ihug.net/ , it lists what we
sell sat bandwidth to (mostly) Australian ISPs for, the prices are
competive and we have close to 100 customers. At 8Mb/s a full feed costs 
$US 64,000  per month just for bandwidth. Reserving a few Mb for outgoing
articles would most likely cost at least as much (and I'd still need most
of the incoming).

-- 
Simon J. Lyall  |  Very Busy  |  Mail: simon@darkmere.gen.nz
"Inside me Im Screaming, Nobody pays any attention."  |  MT.

Due to impending global destruction and the extinction of all life,
access to international sites may be interrupted. 

We apologize for the inconvenience.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42360
Author: Brad Knowles
Date: Fri, 17 Dec 1999 00:00
26 lines
2190 bytes
In article <385a4e32$0$228@nntp1.ba.best.com>, uomini@fractals.com 
(Robert Uomini) wrote:

> I disagree. If you make the server handle the fetching of "remote" 
> articles, then that would turn it inot more of a bottleneck than it
> is now.  By letting the newsreader fetch the article, you're
> distributing the load and leaving the news server more CPU cycles
> for other stuff.

    You might be distributing the load from the client perspective, but 
you'd just be making the situation far, far, *FAR* worse for the servers 
from which the message bodies would have to be pulled.  Instead of one 
server at a site pulling one copy of the article and then being able to 
serve that locally out of it's cache, you'd have readers constantly 
requesting the same article over and over again.

    The lack of cache would *kill* you.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42361
Author: Curt Welch
Date: Fri, 17 Dec 1999 00:00
57 lines
3390 bytes
Brad Knowles <brad@shub-internet.org> wrote:
> In article <19991216152219.196$Pi_-_@newsreader.com>, curt@kcwc.com
> (Curt Welch) wrote:

>     How about something like
> <nntp://news.your.dom.ain[:port]?user=name?pass=snark/message-id>?  Or
> does the URL syntax allow for userids and passwords already?

I keep getting confused on the syntax of the news: url.  But I think
it's like the other ones so it's something like:

  news:[//[user[.password]@]host[:port]/]message-id|newsgroup-name

With the < > missing from the Message-ID which BTW, sucks.

or is it user:password?  I forget.

People seldom use the host name in news: url's so we don't see them much.

> And where would this syntax be defined?

I tend to go to http://www.w3.org/ to start looking for that type of stuff.
There's an RFC that defines urls isn't there?

> > A header only feed at todays news volume levels is only around 1GB/day
> > and 100Kbps of bandwidth.  That's two orders of magnatude smaller than
> > a full feed.
>
>     Last I checked, a text-only feed was about 1GB/day, or roughly
> 100Kbps bandwidth.  Are you saying that the headers of the binary
> articles are roughly as large as the bodies of the non-binary articles?

Last I checked I though it was closer to 2GB/day, but..

A header only feed of all the articles I'm sure is smaller than a full body
feed of only the text articles.  And adding the headers of the binary files
to a text only feed would make such a small difference that no one would
notice.

The binary files make up around 90% of the volume, but only 10% or so
of articles.  So adding binary headers to a text only feed will probably
only increase the feed size by 5%.  The day to day variance is around
that so it would be hard to notice the difference.

And if you took the bodies off of a text only feed, making it a header
only feed, the volume would only drop by maybe 30% (just a guess).

My 1GB/day number was just a rough estimate (say +- 20%).  So to that same
degree of accuracy, a text only feed, or a full header only feed or
a text only feed with binary headers is all about the same size.  For
all these, we are still talking close to 1/100 the size of a full feed.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42364
Author: Jeremy
Date: Fri, 17 Dec 1999 00:00
29 lines
2047 bytes
Robert Uomini <uomini@fractals.com> wrote:

>> The basic flaw is that the origin site of an article ends up with
>> bandwidth and server costs that _increase_ based on the popularity of
>> the article. This is clearly a bad move; while it may be satisfying to
>> think about avoiding wasting space on things that no-one happens to
>> read, you run the very real risk of driving away the things that
>> people _do_ read, because no user or site could run the risk of
>> posting something unexpectedly popular because of the bandwidth hit.
>
>> (It's not unreasonable to suppose that an article in a popular group
>> might be read from ten or twenty thousand different sites; five
>> articles of 3k each that take 10000 hits each would reach the 150MB
>> daily bandwidth limit that Demon applies to personal webspace, and
>> that limit is supposedly based on actual bandwidth costs.)
>
> Isn't this what Web servers need to deal with now? What's the
> difference? The popular Web sites are able to handle the kind of
> capacity you mention.

They're making money, so they can pay for the capacity.

Most people don't make money from their Usenet posts, and can't pay for
that kind of traffic to their webservers to read them.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42365
Author: Andrew Gierth
Date: Fri, 17 Dec 1999 00:00
45 lines
3044 bytes
>>>>> "Robert" == Robert Uomini <uomini@fractals.com> writes:

 >> The article header has nothing to do with NNTP.  You are confusing
 >> two different standards.

 Robert> OK, OK...then let's call it the RFC 850 header, if you want
 Robert> to be precise.

RFC850 is long obsolete. Try 1036.

 >> I wonder if this idea might actually be useful.  Not for the
 >> stupid HTML support that webreader seems to tout, but just as the
 >> basis for restructuring how Usenet works to deal with the
 >> bandwidth issue.  I've been thinking about this as I've read this
 >> thread and thought it might be worth while to discusse it.  So
 >> here are some of my thoughs on the issue (mostly created as I
 >> wrote this).

 Robert> YES!! This is the point I've been trying to make, and not too
 Robert> successfully. OK, so forget about HTML and focus on
 Robert> elimination of redundant articles, everyone.
 Robert> Does the technology make sense now??

Not as much as you might think. (It's also not a new idea, various
people have been bandying it about for the last couple of years,
without anyone taking much notice.)

The basic flaw is that the origin site of an article ends up with
bandwidth and server costs that _increase_ based on the popularity of
the article. This is clearly a bad move; while it may be satisfying to
think about avoiding wasting space on things that no-one happens to
read, you run the very real risk of driving away the things that
people _do_ read, because no user or site could run the risk of
posting something unexpectedly popular because of the bandwidth hit.

(It's not unreasonable to suppose that an article in a popular group
might be read from ten or twenty thousand different sites; five
articles of 3k each that take 10000 hits each would reach the 150MB
daily bandwidth limit that Demon applies to personal webspace, and
that limit is supposedly based on actual bandwidth costs.)

-- 
Andrew.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42366
Author: Curt Welch
Date: Fri, 17 Dec 1999 00:00
305 lines
17964 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
> >>>>> "Brad" == Brad Knowles <brad@shub-internet.org> writes:
>
>  >> The basic flaw is that the origin site of an article ends up with
>  >> bandwidth and server costs that _increase_ based on the popularity
>  >> of the article.

This issue had occured to me, but I hadn't though much about it yet. It
is certainly an important point but I'm not sure if it's the show stopper
you seem to see it as. With the current design of Usenet, the readers
pay most the cost of distributing the content.  And they get little
control over quality.  They pay the distribution cost for the "good" stuff
as well as the bad.  Though there is the indirect control which happens
because the users work to stop the "bad" stuff and promote the good stuff
(i.e. "next time get a clue you jerk", and "please post more" messages), so
the system works and is able to maintain certain level of quality vs cost.

And to get the highest level of quality, you would want to do just the
opposit.  The better the content to size ratio, the more the poster
should be rewarded -- even going to the extent of paying the posters
based on how "good" the content was.

But that's not what Usenet is about.  When we post, we don't expect
to be paid or rewarded.  It's about sharing (and giving -- hey
this is the season :)), and not about being rewarded.  And when you post,
you end up costing a lot of people a lot of money.  It just seems to
me that if you are willing to "donate" someting to usenet by posting,
you should also be willing to share the true cost of distributing that
"donation" to all who want it.  If you aren't, then you shouldn't
post.

And I think the issue of costing more for popular content vs unpopular
content probably isn't nearly as large a factor as shear volume
of posting.  i.e., one mp3 file (even an unpopular one) will cost more than
100 extremely popular text posts.  So the real negative motivation here
will be against volume, not quality.  So it seems to me it will help on
the volume issue a lot more than it could hurt the quality.

And I'm guesing Usenet providers aren't likely to limit posts based on how
popular they turned out to be with this system, but they are likely to
limit posts based on size.  i.e, you can't post more then X MB/month unless
you pay more.  It this is true, then in the end, the user doesn't get any
negative feedback for posting good stuff.  That is, they don't have to pay
more just because they are posting good stuff that everybody wants to read.

With the header-only feeds, the readers still pay more of the cost for
distributing content, but the cost is based more on what they acutally read
than it is in the current system.  So that seems like an improvement (which
we have already talked about).  But the posters end up carrying a much
larger percentage of the distribution cost in the header-only feed.  With
the caching at the server level, and some chaining (server1 getting it
from server2 instead of from the orginating server), the cost to the
posting site will still be _way_ less than half the distribution cost.

Another way to look at this issue is that it brings Usenet cost structure
a bit closer to the cost structure of using the web to distribute
information.

If you put extremly popular and large size data files on your own web site,
you have to be willing to share half the distribution cost of allowing
people to access that site.  If you aren't willing to put the data on your
own web site for free (and in turn pay the true cost of doing so) because
the download volume would be too great, why should you be allowed to post
it to Usenet and force everyone else to pay that cost for you?

The users are willing to pay for Usenet in it's current form because they
get real value for it.  And most of that value in today's Usenet (sad to
say), is not the content that people are willing to "donate" to usenet
(like it should be), but the content they have stollen from others.  That
content (i.e. mp3s, warez, etc), cost real money to create.  That's why it
cost what it does when you buy it though the normal channels which allow
the content creator to be rewared.  And that's why users are willing to pay
us (usenet admins) to distribute this stolen property to them.  We can
pretend it's not "our" responsibility, "we didn't post that content", but
the truth is, we are the only ones making a living off of what Usenet has
become.

So the current Usenet, with its "reader pays all, poster pays
(almost)nothing" cost structure, has created this breeding ground of
corruption. And now that almost all forms of intellectual property have
become digital (even films -- one of the highest bandwidth forms for
intellectual poperty are now digital and have been distributed over
usenet), this problem will just continue to get worse.

The current cost structure of Usenet is creating a real social problem. In
the end, something will be done about this problem.  One day, the shit will
hit the fan.

If the poster has to share more of the burden of the distribution cost, it
just seems to me that he will be more likely to post the type of stuff that
belongs on usenet, and less of the stuff that never should be here in the
first place.

>  Brad>     Let's think about this again.  Today, we have a full feed
>  Brad> averaging somewhere close to 85GB/day, and the proposed
>  Brad> header-only or full text plus header-only solution would cut
>  Brad> this to say 2GB per day.
>
> Uh, Brad, people do actually _read_ some of the articles.
>
> A quick sampling of some data plus some dubious estimates suggests to
> me that, at a site which averages around 1500 concurrent connections,
> you'd expect at least 60% of the articles to be read at least once

...

> So for a site of that size, we're not talking about cutting an 85GB
> feed to 2GB, but to more than 52GB.

There's an entry cost associated with running a full-feed usenet server
that we all have to deal with.  You have to pay for the equipment, the
bandwidth, and the personel to run it.  At todays costs and todays Usenet
feed size, this entry cost is on the order of $10K to $20K per month (to
handle a full feed).  You have to pay this before you add a single user to
the system.  And as usenet volume doubles every year, this cost increases
almost as much as well (costs have been droping some to offset that
growth).

There's a per user cost as well.  As you add more users to the server, you
have to pay more to support them.  But in general, the per/user cost is
small.

What this means, is that at todays cost, for a full-feed system, you need a
lot of users to make the system pay for itself.  And over time, as usenet
volume increase, your user population has to increase as fast, or else you
have to charge more per user to continue offering the service.

If you don't have the user base to support the server, you have to turn
your server off.  And over time, as the entry cost bar keeps moving up,
more and more Usenet servers have either been turned off, or they stopped
carrying a "full feed".  Usenet has become more and more fragmented because
of this. And more and more centralized because of this.  Neither of these
trends strikes me as "good".  I sometimes wonder if there's really anything
left that can be thought of as a true "full feed".  Every server seems to
have some degree of completeness problems today.

But because of this, it's not uncommon for the servers that are left to be
supporting 1500 concurrent connections.  If you support that many
concurrent connections, then your user base is probably 10 to 100 times
that (i.e 15K to 150K users).  And for servers that size, yes, the feed
savings from a header-only feed aren't so great (Andrew's 40% bandwidth
savings estimate seems resonable to me), and the potential for bandwidth
increase for servering local articles for that large a user base is very
large.

On top of that, it's far less efficient in terms of time and bandwidth and
general pain-in-the-ass factor to have to fetch all those articles than it
is to just have them feed to you in the first place.

So for a system that size, it doesn't seem to make much sense to talk about
the header-only feed systems.

The header-only feed scheme in general provides more savings to the smaller
servers.  That is, the smaller your user base, the more the header-only
feed will save you.  What this implies is that it drastically lowers that
cost of entry bar.  I'm guessing the cost of entry to run a full-feed
header-only system will drop the bar from the $10K/mo level to around the
$200/mo level.  And if this is correct, you would expect the typical user
base size of a full-feed usenet server to drop as well.  Small ISPs will
stop outsourcing so much to the large central sites.  The large ISPs will
tend towards more smaller (locally located) servers instead of a few large
central servers.  Some I know have already implemented header-only systems
internally to allow this already.

So, just because today's typical large 1500 current user system doesn't
seem to fit the header-only feed system doesn't mean the system doesn't
make sense.

But, the issue of serving posted articles from a million little servers
just isn't going to work either.  It's clear that there will need to be
some consolidation and/or redundancy built into the system to offload some
of that job of serving articles.

But as I think about this, it occurs to me that ISPs will do this anyway.
If you run a network and sell internet lines, you end up running news
transit servers anyway just to prevent your clients from pulling their full
feeds over your external links.  Likewise in this header-only system, they
will want to run transit servers for the header-only feeds.  But they will
also want to run caching article body servers as well. They would add their
cache servers to the front of the Body: lines as the articles passed though
their transit servers, so all their downstream clients will chain back
though their caching body server.  This way, any article reqused by one of
their client's readers will be cached and made available to all the other
clients.

Or maybe it's just best if they tell all their clients to configure their
news servers to chain though their caching servers?  Anyway, you end up
reducing the number of hits the originating site has to server because
of this.  And the ISP isn't doing this just to be nice to the orginating
sites, they do it to reduce their backbone costs.

>  Brad>     A popular article that was 1MB in size would have to be
>  Brad> read by more than 84,992 servers in a single day, in order to
>  Brad> make up that difference of 83GB.
>
> Apples and oranges; you're adding incoming and outgoing bandwidth,
> which doesn't usually make sense.

It can.  Usenet sites tend to peer for free, and overall,
a site which doesn't sell feeds (or provide them for free with leased
lines) ends up on the avg accepting about as much news as they give
out to their peers. Over all of usenet, the sum of all outgoing feeds
is by definition equal to the sum of all incomming feeds.

So even though it's the incomming feed you think about saving when you
switch to the header-only system, this discussion is more about "what
if we all do it".  And if that happens, your outgoing bandwidth to your
peers drops as well, and can be replaced with bandwidth used to serve
articles.

> Oh, just for fun, consider what happens to a site like Jay Denebeim's,
> running some popular high-traffic moderated groups from the wrong side
> of a dialup line.

Clearly, you wouldn't be able to do that without the help of a "real"
server acting as the primary host for your posts.  But it seems that
most ISPs offering dial-up access would be willing to provide that service.
And because they share their costs over the entire user base, it's
reasonable to assume that the ISPs cost may not be out of line just
because one customer posts a lot of very popular articles.

>  Brad>     Of course, if a server had 100 popular 1MB articles, they'd
>  Brad> only need to be read by 850 servers (on average) in a day in
>  Brad> order to make up for the 83GB that otherwise would have been
>  Brad> saved.
>
> Yup; and there are, I reckon, between 20000 and 200000 news servers in
> the world.

http://www.top1000.org/topf.txt (the freenix full list) shows 25,281 hosts.
That I'm asuming is every host in the world where at least one article has
been posted from in the past month (or two) or had an article pass though
it.  There's going to be a bunch of read-only servers not listed, or
servers which simply didn't have a single article posted in the past month
or two.  But even though that number may be high, it seems to me that the
total reader load from those machines is likely to be very small.  Hard to
say I guess.

And also, of the 25K machines listed, you know that most of those are not
full feed servers.  Many I'm sure only carry a very small set of newsgroups
and have a corresponding small user base.  So, for any given posted article
you would expect that a large percentage of those servers won't even have
a user that reads it.

Add to that the fact that many of those hosts are transist servers and
would never need to read a body (maybe 20%?).  Add to that the fact that
various hosts/people put extra "fake" or "pseudo" host names in the path,
or include IP address of a client in the path that aren't "real" servers.
For example, there are 1059 hosts in that list which end in .mismatch which
is a thing Diablo does to mark problems.  And most likely, all those hosts
are listed twice in the list, once as .mismatch, and once without.

From this, it seem to me that you end with with an "effective" number of
"real" usenet servers that's actually well below 20K.  And, for any given
article you were to post with this new header-only system, it strikes me
that the expected number of times you would have to send it out (assuming
all readers go back to the orginating server -- which won't happen anyway),
would likely be well under 1000.

But because of the current distributed nature of Usenet, this is damn hard
to estimate with any type of accuracy...

But lets look at this volume issue another way.  Lets think about all
servers in the world which get the news.software.nntp group.  Let's say
there are N of them (reader boxes that is - let's just pretend there are
not tranist servers for this).  For any aticle (like this one) posted to
the group in the current full-feed system, it will end up being transmited,
and received exactly N times.  Once for each server. (also ignoring the
problems which cause the same article to sometimes be transmitted to the
same box twice).

With the header-only system, the header takes the same path, but the body
is only transmitted to the servers that had someone which read the article.
Who knows what percent that would be, but it has to be less than N.
Depending on the group, it's probably a lot less then N, say maybe 50%
less.  So they body is transmited and received less times with this system,
than with the full-feed system.  So, overall, the header-only system, even
with all reader boxes going all the way back to the source, is guaranteed
to reduce the number of times the (all) article(s) is(are) moved around the
net.

Now because the price structure of the net is not distance sensitive (we
pay the same to send a byte next door as we do to send it around the
world), this means we will all end up paying less for Usenet.  But becasue
the true cost structure of the net is very distance sensitive (it really
does cost a lot more to send the byte around the world than to send it next
door), we risk increasing the true cost to the network switching to this
system.  And if that happens, our bandwidth costs will just go up over time
to compensate for our waste and we will in the end, pay more, not less.

But, like I talked about above, ISPs and network operators will be
motivated to prevent us from doing this and they will likely run caching
body servers which will solve the cost-distance problem for us.  And with
that in palce, it seems to me that overall, the header-only system will be
an overall bandwidth win, even if it doesn't motivate people to reduce
their illegal high-volume posts.

Overall I think I'm talking myself into believing that this would be a
good thing for usenet....

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42372
Author: Andrew Gierth
Date: Fri, 17 Dec 1999 00:00
15 lines
1784 bytes
>>>>> "greg" == greg  <greg@apple2.com> writes:

 greg> Are you talking about article requests being forwarded back
 greg> along the Path until it finds the first server that has it,
 greg> then causing the body to be emitted along that same path back
 greg> to the client?

No, we're (or at least the original poster is) talking about having
the request go to the originating server directly (if not satisfied
from some local cache).

-- 
Andrew.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42373
Author: Brad Knowles
Date: Fri, 17 Dec 1999 00:00
24 lines
2069 bytes
In article <385a5d67$0$22082@news.execpc.com>, jgreco@ns.sol.net (Joe 
Greco) wrote:

> Most commercial ISP's are smart enough to use their outbound bandwidth
> for Web and FTP hosting while using their inbound bandwidth for dialup
> and DSL access, often subsidizing the pricing of one based on the 
> success of the other.

    We do web hosting, but the bandwidth generated is not all that much.  
From my conversations with my colleagues, I believe that this is typical 
for most European ISPs.

    In fact, the only reason I'm currently allowed to have multiple 
binary feeds is because we've got spare outbound bandwidth that we have 
no other use for, and I tend to send out more than I take in.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42374
Author: Andrew Gierth
Date: Sat, 18 Dec 1999 00:00
48 lines
3290 bytes
>>>>> "Brad" == Brad Knowles <brad@shub-internet.org> writes:

 >> I took a random sample of articles from this spool (selecting
 >> based on the MD5 of the message-id, which is about as random as it
 >> gets) and looked at the proportion that had been accessed (just
 >> under 60%).

 Brad>     That just tells you how many articles have been accessed
 Brad> one or more times.

Correct. That's the figure that you _need_ to determine what your
incoming article bandwidth would be, on the assumption that you
cache every article that is requested.

 Brad> It doesn't tell you how many times a particular article has
 Brad> been accessed.

But this is irrelevent to the matter at hand. The idea of fetching
the body separately is only a win if the proportion of articles that
are _never_ accessed is large enough. How many times each article is
accessed at a given site is not relevent, assuming that all sites
cache.

If only a small proportion of articles are not fetched, then the most
efficient strategy is to feed everything in advance, which is exactly
what we do currently.

 Brad>     If you had those stats, I'd be willing to bet that the
 Brad> text-only articles have been accessed far more times than the
 Brad> binary articles, and the only reason the total coverage of
 Brad> access of text articles is so low is because there are so
 Brad> bloody many of them relative to how many binary articles there
 Brad> are.

Based on figures that have been quoted as to the proportion of Usenet
users who _never_ go outside the binaries groups, I think you're
deluding yourself. Binaries are _popular_.

You also still seem to be missing the point that if 70% of the
articles in the 80GB/day feed of Honking Big Binaries is accessed at
any given site, then that _will_ consume around 56GB of incoming
bandwidth. It doesn't matter how often they're read, or how many
times; that's purely an internal matter.

-- 
Andrew.

Re: Header-Only feeds
#42375
Author: Jeremy
Date: Sat, 18 Dec 1999 00:00
20 lines
1682 bytes
Curt Welch <curt@kcwc.com> wrote:

> Also, I guess if a server doesn't have the bandwidth to respond to all the
> reqeusts, and the Body: header ends up listing many possible servers,
> reading systems will end up getting the body from others servers anyway.
> Maybe in general, reading systems will need to (should?) keep track of
> which Body servers they have the best "luck" with in the past, so when
> fetching a new body, they know which server to try first.  And in general,
> that would allow them to find the servers which work the best for them,
> and at the same time, cause the overall "load" of serving articles to
> spread evenly across all the cahcing body servers?

Hmm, it sounds like you could solve this by pre-transmitting the body to
the site, in effect creating a local cache, and then all body requests
from users would be filled by the local ... um, oh yeah.  Nevermind. :)

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42376
Author: Curt Welch
Date: Sat, 18 Dec 1999 00:00
153 lines
8660 bytes
ade@supernews.com (Ade Lovett) wrote:
> On 17 Dec 1999 22:22:05 GMT, Curt Welch <curt@kcwc.com> wrote:
> >
> > [huge snip]
> >
> >But lets look at this volume issue another way.  Lets think about all
> >servers in the world which get the news.software.nntp group.  Let's say
> >there are N of them (reader boxes that is - let's just pretend there are
> >not tranist servers for this).  For any aticle (like this one) posted to
> >the group in the current full-feed system, it will end up being
> >transmited, and received exactly N times.  Once for each server. (also
> >ignoring the problems which cause the same article to sometimes be
> >transmitted to the same box twice).
>
> >With the header-only system, the header takes the same path, but the
> >body is only transmitted to the servers that had someone which read the
> >article. Who knows what percent that would be, but it has to be less
> >than N.
>
> Only true in a perfect world.  The big assumption that you're making
> here is the cache on one of your N servers is sufficiently large to
> hold the bodies for all the articles which it maintains in its local
> header index - if it's not, then you have to purge the cache of bodies
> somehow.

Very true.  I was thinking in terms of coverting existing servers into
header-only servers.  They have enough disk cache (i.e. their news
spools) to hold _all_ the articles now, and expire headers when they are
forced to expire bodies. If you took that same space and used it to
hold only headers, plus "cached" full articles, you would have much longer
cach retentions than the server had article retention before the
conversion.  So doing 2 below would make a lot of sense and you
would bascially have the "perfect world".

> You have two choices for this purging:
>
>   1.  purge the body, but leave the header in place.
>
>   2.  purge the article header at the same time as the body.

But, people would start setting up header-only feed systems with
far less space than the old full-feed servers had, and you would
start getting into the issues of having to expire articles from
the cache too soon.  After all, you could get away with this and
not kill your retention like what happens on todays servers.

So you would end up with (1) above, and you would end up with
servers fetching the same article multiple times.  How common that
would turn out to be of course is hard to forsee.  It could turn
out to be a real killer because for the reading site, the extra
fetches really wouldn't cause that much trouble.  But for the serving
site (which might already have an overload issue), it could be real
killer when thousands of sites start fetching the same articles multiple
times.

> I won't even start on the potential for DoS cache-thrashing attacks.

Well, is that much worse than what happens if people flood the newsgroups
now?

> >Now because the price structure of the net is not distance sensitive (we
> >pay the same to send a byte next door as we do to send it around the
> >world),
>
> Again, not true.  There are plenty of real-world examples where the
> cost of sending a byte of traffic varies with the destination.

Go back and read my next paragraph.  You missed the point I was
making.  What I said was the "price" structure was not distance sensitive
but the "cost" was.  So yes, of course, I agree with you.  What we
pay for bandwidth is not distance sensitive, but what it costs
to move data is distance sensitive.

> >Overall I think I'm talking myself into believing that this would be a
> >good thing for usenet....
>
> Possibly, though not as much as you'd imagine at first glance.
>
> Factor in all the unfortunate side-effects of the real world, some of
> which are continuously changing, and it may still be worth it.

Yeah, and it's so hard to predict how this would really work, and
add to that the unknown factors that are sure to show up, and you
just can't tell for sure what will happen.  Clearly we would just
have to try it on a small scale so we could get a feel for what
it's like in the real world.

Many times, when unforseen problems show up, unforseen soultions
show up as well.

> The modelling work in itself would be an interesting project.

Yes it seems that way to me as well.

On the "try it" concept I just had some insight into that while I was
driving home from a move a few minutes ago.  I was thinking I could add
support for this into my server, and start sending out local articles with
Body: headers.  I'd set up my own public body server for those articles as
well.  But what good would it do?  I'd still have to send out full articles
to my peers.  And if some other site out there implemented similar support,
what good would it do?  My incomming feeds won't have the ability to send
me header-only version of those articles so I'd still be getting the full
articles from that other site.  It wouldn't do any of us any good until a
lot of us were doing this.

But then the obvious occured to me.  If any other site is willing to try
this, we could start peering with each other!  We'd only exchange the
header-only articles that we had to work with.  At first that would mean
that I'd only send them my local header-only articles, and they would send
me their local header-only articles.  But as others implemented it, they
could peer with either (or both of us), etc. and we would then over time
form a larger header-only peering network.

So, if we had the software, all it takes is two sites to start
experimenting with the idea.  And right off the bat, you would start saving
on your incomming feeds, (assuming the basic idea here worked) because the
header-only versions of the articles would most likely be beating the
"real" articles to your server.  And the more sites we could get to try it
(even if only as an experiment), the more we could see how it worked in
real life.

The basic hacks required to support this I think really are not all that
complex at all.

For local articles (or any articles you are willing to act as a body server
for), you need to add or modify the Body: header.

For the special outgoing head-only feeds to head-only peers you need a hack
in the feed system to allow you to select only articles with Body: headers,
and you need a hack to send only the articles header even if you have the
whole thing in your spool.

And you need similar feed hacks to keep you from sending head-only articles
to your normal peers.  Not just articles with the Body: header, but
articles like that which have no body.

And in the article read code (for ARTICLE/BODY commands), you need the most
complex part of the code which is the stuff that has to go fetch the
article from a remote system.  But once you get the article, you just put
it in the spool just like a new article, and do a little majic to make it
'replace' the old header only version which you had before.  Once that's
done, you just process the users ARTICLE/BODY command like you normally
would.

I'm thinking that for my server this is less than a day's work to hack this
basic support in.  Maybe if I can find the time to do this, I could lend my
server code to a few folks for some real world experiments....

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42383
Author: Curt Welch
Date: Sat, 18 Dec 1999 00:00
97 lines
5857 bytes
Brad Knowles <brad@shub-internet.org> wrote:
> In article <19991216152219.196$Pi_-_@newsreader.com>, curt@kcwc.com
> (Curt Welch) wrote:

>     I think we'd have to have a different way to identify an article
> that a server wanted to send as header only, as opposed to the entire
> body, and conversely I think we'd need a way to say "Nope, I don't want
> the header only, I only want the article if you've got the entire body"

I can't see why a server would ever want to say that.  That is, if the
server knew how to deal with head only articles, then it would always want
the article, even it was only the header.

If the server didn't know how to deal with head only articles, then it's
upstream feed should never be trying to send it those articles.  If it
does, then it's just configured wrong.

> or "Nope, I don't want the entire article from you, I want only the
> headers".  That way you could choose to accept or refuse an article
> based on whether or not it would be complete or header-only.

And if you only wanted headers, once again, the upstream server would
be configured to feed you only the headers for all articles which had
the Body: header -- even it it happened to have the full article.

If you wanted either, then it would either.

The only thing that I can see as useful in this sense would be a server
which had received the header from one feed, and then was offered the
entire article from another feed.  There are times I think where you
would want to config your server to takes those instead of turnning them
down.

To do that all you need is a way for the sending site to tell you if
the article it was offering was a full aritlce or only a head.

Maybe the way to do that is add a IHEAD/CKHEAD commands that would be
used if the sending site had a head-only article it wanted to send.
It would use IHAVE/CHECK for full articles (even if the article had
the Body: header).

This way, if someone configs a feed wrong, and starts trying to send
head-only articles to a site which didn't support it, the site would
automatically reject the offers because it didn't support the IHEAD/CKHEAD
commands.  And this I'm now seeing would be very important, because when
you run a site with a mix of header-only and real articles, it would
be a disaster if those head-only aritlces "leaked" out into the portion
of Usenet that didn't support them.  The head-only versions would quickly
beat the real articles to all the sites around the world and when people
tried to read them there would be no body!

So it looks like special feed comands are a MUST for the headers.

Now this doesn't give the downstream server the option of asking for
only the header if the full body was available, but I don't think
that's a problem.  If you want only headers then the upstream feed
will be configured to send it to you that way.  And by looking at your
articles as the show up, you can easilly tell if the upstream is configured
wrong.

>     Also, instead of manually configuring feeds to be pure header-only
> or full articles, I think we ought to mix the feeds, and offer full
> articles for small messages (say, anything smaller than 32KB), and
> headers only for larger articles.

For sure.  It would be stupid for example to add a Body: line to cancel
message which just had a single line to begin with in the body, and then
feed only the head and force people to come back later to get the body.

The way I see this working is that servers which support the idea if
bodyless articles would be able to deal with a mix of both types in their
incomming streams. The head-only technology I currently use can't do this.
It assume that everything being feed it has only the head.  I'm pretty sure
that Diablo works the same way.

Mixing full articles and head-only article in the same stream/same server
is a big part of why this idea is a different twist on the pure header-only
feeds in use today.

The advantage is two fold.  One, like you just pointed out, for small
articles, it makes more sense to feed the entire thing than to use the
head-only technology.  And two, it allows compatibility with the existing
net.

Another twist I just though of.  You could configure a stream to try and
feed you everything.  But if it backlogs (because you run out of
bandwidth), it would automaticlly stop feeding the bodies to allow you to
catch up.  This way, you get full use out of your incomming streams.  (or
the same thing could be bandwidth limited on the feed size instead of the
backlog. i.e., feed bodies if the current feed size is below some defined
level, but feed only heads if it's above that.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42393
Author: Phil Boutros
Date: Sat, 18 Dec 1999 00:00
39 lines
2456 bytes
On 17 Dec 1999 15:20:19 GMT, Robert Uomini <uomini@fractals.com> wrote:
>Another benefit/feature of header-only feeds is that the hosting server 
>controls the life of the article, more so than it does today.

	OK.  How is being at the mercy of one centralized server a benefit?
Oh, wait, you explain below...

>For example, an article today may be available for a couple of weeks max. But 
>the user can download it and keep it forever.

	Yes.  This is *good* (that the user can download it and keep it
forever).  There's also Dejanews, unless the original poster uses
X-No-Archive.

> With transparent HTML, the user 
>is saving a link only. Once the link is gone, so goes the article unless a 
>mechanism is provided to download the actual page.

	How is this a good thing?  If you want to go see an old article,
you can't, and you won't be able to save an article unless there is a
"mechanism provided to download the actual page"?

	How exactly is this a benefit?  How is the fact that the end user
will have to cut and paste the article (thus losing the HTML formatting you
seem to be so fond of) to save it a good thing?

	Oh, wait...or is cut and pasting the "mechanism" in question?  Do
you have a patent on it?

	Sheesh...


Phil
-- 
AH#61  Wolf#14  bs#89  bus#1  KoB/CoT#75        philb@total.net
http://www.total.net/~philb                 http://eddiekieger.com 
"Power To The People" - BPP              EKIII will ride with me again.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42397
Author: Brad Knowles
Date: Sat, 18 Dec 1999 00:00
32 lines
2407 bytes
In article <19991217182834.231$3G@newsreader.com>, curt@kcwc.com (Curt 
Welch) wrote:

> Brad Knowles <brad@shub-internet.org> wrote:
> > ... and I tend to send out more than I take in.
> 
> yeah Brad, we all know that :)

    Yeah, well -- not nearly as much as I used to.  I'm starting to 
slip, and I think it's because I currently try to push too many 
binaries.  I'm thinking of cutting back on the quantity of my binary 
feeds, and focussing on trying to get more total articles out than 
volume.

    I also need to check up on a lot of my peers and find out if there 
is anything going on at their end that would cause me to build up such 
horrible backlogs to so many of them.  I basically just need to get back 
to managing my news peerings much more tightly than I have been the last 
couple of months.


    Besides, this well is going to run dry here pretty soon, and I'll be 
forced to cut my inbound and outbound bandwidth utilization.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42399
Author: Andrew Gierth
Date: Sat, 18 Dec 1999 00:00
20 lines
2119 bytes
>>>>> "Brad" == Brad Knowles <brad@shub-internet.org> writes:

 >> Based on figures that have been quoted as to the proportion of
 >> Usenet users who _never_ go outside the binaries groups, I think
 >> you're deluding yourself. Binaries are _popular_.

 Brad>     Binaries are popular, yes.  However, I believe that it's
 Brad> largely the same binaries, over and over again, as opposed to
 Brad> the full array of binaries that's always accessed all the time.

Believe what you like. Me, I'll go by the figures obtained by looking
at a live server; and on that server, over 70% of all binary posts get
accessed at some point in time.

Of course I don't know what _your_ userbase does.

-- 
Andrew.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42401
Author: Brad Knowles
Date: Sat, 18 Dec 1999 00:00
51 lines
3645 bytes
In article <87so11fhzp.fsf@erlenstar.demon.co.uk>, Andrew Gierth 
<andrew@erlenstar.demon.co.uk> wrote:

> I took a random sample of articles from this spool (selecting based on
> the MD5 of the message-id, which is about as random as it gets) and
> looked at the proportion that had been accessed (just under 60%).

    That just tells you how many articles have been accessed one or more 
times.  It doesn't tell you how many times a particular article has been 
accessed.

    If you had those stats, I'd be willing to bet that the text-only 
articles have been accessed far more times than the binary articles, and 
the only reason the total coverage of access of text articles is so low 
is because there are so bloody many of them relative to how many binary 
articles there are.

> Are you prepared to bet your site's entire outgoing bandwidth on
> how good the locality of reference of the rest of Usenet is?

    If we were talking about a USENET-wide implementation of this sort 
of protocal, with multiple cooperating "body" caching servers, then yes, 
I think this would be a good bet.

    However, I suspect that while this may be what I'm talking about, 
it's probably not what you're talking about.

> Note that there's nothing stopping this from being implemented on a
> local basis, e.g. a regional bandwidth provider maintaining a large
> spool, giving out header feeds to customers or topologically close
> sites, and allowing those sites to fetch articles. The problems only
> start when you expect the article fetch to go all the way back to the
> originating site.

    Yeah, I'm starting to think that we need to start looking at the 
news caching issue basically the same way we do web caches (hierarchies 
of cache peers, etc...), and more sites dropping binaries locally and 
instead just allowing them to be accessed through the cache servers.

    But this requires more intelligent caches -- along the lines of what 
dreaderd can accomplish, not stupid caches that have only a single 
server IP address they can consult, etc....

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42403
Author: Brad Knowles
Date: Sun, 19 Dec 1999 00:00
19 lines
2117 bytes
In article <87k8mddo9b.fsf@erlenstar.demon.co.uk>, Andrew Gierth 
<andrew@erlenstar.demon.co.uk> wrote:

> Based on figures that have been quoted as to the proportion of Usenet
> users who _never_ go outside the binaries groups, I think you're
> deluding yourself. Binaries are _popular_.

    Binaries are popular, yes.  However, I believe that it's largely the 
same binaries, over and over again, as opposed to the full array of 
binaries that's always accessed all the time.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Header-Only feeds (was: A nice side benefit of WebReader)
#42414
Author: Brad Knowles
Date: Sun, 19 Dec 1999 00:00
29 lines
2334 bytes
In article <19991218134356.062$Re@newsreader.com>, curt@kcwc.com (Curt 
Welch) wrote:

> I can't see why a server would ever want to say that.  That is, if the
> server knew how to deal with head only articles, then it would always 
> want the article, even it was only the header.

    I was thinking that people would want to feed full non-binary 
articles and header-only binaries to most peers, but that a peer 
wouldn't necessarily know what each of it's downstream peers would want 
to accept, and therefore it should be able to offer and feed articles as 
either header-only or full body, and be able to change that on a 
per-article basis.

> Maybe the way to do that is add a IHEAD/CKHEAD commands that would be
> used if the sending site had a head-only article it wanted to send.
> It would use IHAVE/CHECK for full articles (even if the article had
> the Body: header).

    New commands are definitely necessary.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Page 1 of 2 • 85 total messages
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