🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63214

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

#63214
From: Curt Welch
Date: Fri, 17 Jan 2003 02:45
51 lines
3264 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> 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).

It's true that a server is likely to have "hiden" overhead which it has to
deal with on a per-xover command issue.  If you ask for 5 overview records,
it might internally be reading multiple disks blocks that in fact cover 500
records and then just throwing out the 495 you didn't ask for.

And, if you need records 1,2, 12, and 18, it might be easier for the server
to return 1-18 instead of responding to 3 separte commands for 1-2, 12, and
then 18.

But, the best way for you to figure out what's "right" should be to ignore
the server side issues, and let the server admins deal with that.  You
should simple see what works best for you.  What works best for you is
likely to be what works best for the server admins as well.

But you need to remeber that different servers will respond differently.
So you need to be careful to test perfomance over a wide range of different
servers to make sure you haven't done something that works create for one
type of server but which is a total waste of time for others (but anyone
doing NNTP development has already learned that problem).

The harder trade-off is understanding how the issue changes between the
needs of a user which has very slow network connection vs ones with a fast
low-latency connection.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030116214503.616$qE@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!chi1.webusenet.com!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <4954a.g13201@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <20030116214503.616$qE@newsreader.com>
Subject: Re: Workload for an XOVER command ? (reducing xover bandwidth and volume)
Date: Fri, 17 Jan 2003 02:45:03 +0000
From: curt@kcwc.com (Curt Welch)
References: <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!snoopy.risq.qc.ca!chi1.webusenet.com!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com zJ-vI5BfpqPF=JcDhSvuky_RKtzeAaPTMjvvY9Z9fM53PcwThI
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 50