🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63379

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

#63379
From: Curt Welch
Date: Mon, 20 Jan 2003 02:28
57 lines
4057 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> curt@kcwc.com (Curt Welch) wrote:

> >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.
>
> WOW - this is the kind of answer I really like ;-)
> But I'm taking _care_ about your harddisks, my friend !
>
> And it would be really hard for you - as a host-admin - to change
> the disk-cache constants inside your RAID-drives....

For a low-bandwidth high-bandwdith-latency user, (like dial-up), they will
most likely optimize totaly for bandwidth and not on time.  They will tend
to want to waste my disk IO if it saves them a single byte of download.

For a higher bandwidth user, the more disk IO they waste, the slower it
will be for them, so they need to find the correct optimial trade off in
download volume vs time wasted waiting on my server to respond.

As an admin and server software designer, I will optimize my software to
minimize disk IO waste.  I will pick XOVER cache block sizes that best fits
the needs of my users.  That's my probelm, not yours.

If most uisers tend to download 1000 or more consicutive headers at once, I
will tend to pick a larger block size, if they tend to download 1 xover
record at a time and randomly jump around the group list, I won't cache
xover recrods into large blocks.

> >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).
>
> I am running the method actually on >10 different major hosts - for
> testing. And I am offering the user to switch OFF the XHDR-option per
> host. (Especially the mp3.newsfeeds.com is so slow that it makes no sense
>  to use multiple XOVER commands on it. Sometimes it takes >30 seconds
> to get an answer to a command ;-)

Which shows that even for low bandwidth users, it can make more sense to
ask for 10 headers at once even though you only need the first and last in
the set.  By doing what works best for you, you are likely to be doing what
works best for the server at the same time.

The exception is for commands like XPAT and NEWNEWS which have been
implemented on some servers in ways that incourge the user to abuse the
server.  That's why admins choose to "turn it off".

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030119212855.890$q9@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!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.news2me.com!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <4954a.g13201@archiver.winews.net> <20030116214503.616$qE@newsreader.com> <0123a.i1320c@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <20030119212855.890$q9@newsreader.com>
Subject: Re: Workload for an XOVER command ? (reducing xover bandwidth and volume)
Date: Mon, 20 Jan 2003 02:28:55 +0000
From: curt@kcwc.com (Curt Welch)
References: <4954a.g13201@archiver.winews.net> <20030116214503.616$qE@newsreader.com> <0123a.i1320c@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!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.news2me.com!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com .0DJTX3m2Tv,CuKOV6oRkM3Rm1QKFGYRfObVDCFC2Ntsco_
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: 56