🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63187

Workload for an XOVER command ? (reducing xover bandwidth and volume)

#63187
From: Juergen Helbing
Date: Thu, 16 Jan 2003 09:54
84 lines
3382 bytes
I am currently working on reduction of Xover bandwidth.
Especially users with "multi-host-readers" are fetching
TONs of overviews from all their hosts.

The basic idea I've realised and tested would be to
issue FIRST a XHDR command which delivers only
article numbers+msgid - for the "additional servers".
(The 'main'-server is still delivering everything)
(It could be possible to "delay" the fillers)
This is far less info than a full XOVER. This is fast
and uses less bandwidth.

After the XHDRs are received the downloader is 
checking which msgids are known/unknown. 
These which are known are not retrieved again. 
The rest is fetched with individual XOVER commands
- and of course not one by one - but ranges (if possible).

My experiences are very well. One of my test programs
is fetching Xover from 5 hosts (a good one first) - and 
I usually fetch just 1-10 additional headers from 1000.
This is MUCH faster than before (and the volume/bandwidth
is enormously reduced).
Another one is operating on the 18 'newsfeeds' servers
which is a PITA (bad reponse time) but still better than
the 'conventional' method.


Now the problem:

I was told that some news-servers might have problems 
if I'm fetching too many Xover ranges (or Xover for single
msgs) because the overhead in the news-server to deliver
one xover would be high.

I am pretty sure that fetching 3 small ranges would be far
better than fetching again 1000 full overviews.

So it seems that such algorithms need a "limit".

The optimation has these parameters:

* necessary bandwidth
* necessary time
* workload on servers

Until now I did negligate the third parameter (workload)
because I thought that NSPs would like the idea to deliver
less header traffic (which is usually for free even on pay-NSPs).

Now it seems necessary to think again about this topic.
(It is NOT my intention to overload the servers. My ideas and
programs are always as defensively as possible).


My questions:

How much overhead must be expected on the server-side
for the execution of one XOVER command (single line or range) ?

How valuable is bandwidth compared to CPU+Disk time here ?

What percentage of "refetches" do you believe would be 
aceptable.

How many overview lines should be ALWAYS fetched - rather
than selecting 20% of fills. I am NOT talking about groups
which have 20 new headers ;-) But the good question would
be where to set the limit (10,100,1000 ?)


I am expecting more and more usage of multihost downloaders
in the future - so this topic might be worth thinking about.


Any comments or proposals ?

TIA
-- 
Juergen



Technical Details
Message-ID: <4954a.g13201@archiver.winews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!news.alt.net!usenet

Show Full Headers
Complete Article Headers
Message-ID: <4954a.g13201@archiver.winews.net>
Subject: Workload for an XOVER command ? (reducing xover bandwidth and volume)
Date: Thu, 16 Jan 2003 09:54:49 +0000
From: archiver@i3w.com (Juergen Helbing)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!news.alt.net!usenet
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 83
X-Newsreader: MyNews