🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44891

Re: Pipelining IHAVE commands with INN

#44891
From: Curt Welch
Date: Wed, 08 Mar 2000 00:00
56 lines
3766 bytes
Jeremy <bofh@netscum.dk> wrote:
> Curt Welch <curt@kcwc.com> wrote:
>
> > What did I miss with Barry and IHAVE?
>
> He's championed its use in the past. :)
>
> > Anyhow, I had my opinions about IHAVE vs streaming. My thought was that
> > streaming wasn't needed because there's nothing you can do with
> > streaming that can't be done with multiple parallel IHAVE streams.  And
> > the IHAVE streams would even be better because you don't have those
> > long delays between the time you ask for permission to send an article,
> > and the time you actually get around to sending it.
> >
> > But after some experimentation, I figured out that it can easily take
> > 10 parallel IHAVE streams to equal one streamming connection. The worse
> > the latency, the more it takes.  And if you are trying to peer with
> > many machines, you just can't afford 10x the number of connections.
>
> The higher your latency, the greater the win with streaming.  Did you try
> a test on an extremely low-latency connection (like a local network)?

Yeah, I have.  Even there, streaming still worked much better than IHAVE
for me.  Avg article size will make a big difference there as well.  The
larger the articles the better IHAVE works.

But I think those tests were with earlier versions of my server and I've
improved a lot of little, but important, performance realated things since
then.  Maybe it's time for some more tests...

On local networks, the network latency isn't as big a factor as the
receiving and sending server latency.  With IHAVE, to offer 100 articles,
the receiving server has to "wake up", and quickly respond 100 times.  And
likewise, the sending server has to also "wake up" and respond 99 times.

With a streaming server, everything gets batched.  So the servers only have
to "wake up" a small fraction of the number of times (depending on how may
outstanding CHECKS are sent).  If you have fast servers doing nothing but
dealing with the single feed, then IHAVE may not look too much worse than a
streaming feed.  But if the servers are busy doing other things (like lots
of feeds, or supporting readers on the same box), then the IHAVE stream
ends up suffering a lot more than the streaming feed.

> It can work very well there, and it eliminates sending of duplicated
> articles, which with streaming is usually inevitable.

Streaming feeds will also send small articles without checks if the
probability of a reject is low enough, so you can end up getting dups from
those as well.  They seem "bad", but in fact, when done correctly, are
helping to reduce wasted bandwidth.  Cyclone I know does that.

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

Technical Details
Message-ID: <20000307210638.729$wr@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!not-for-mail
References: <20000307112107.524$na@newsreader.com> <brad-E330A5.20514107032000@news.skynet.be> <952460805.821101@news.netscum.dk> <20000307170425.247$Qv@newsreader.com> <952470010.613286@news.netscum.dk>

Show Full Headers
Complete Article Headers
Message-ID: <20000307210638.729$wr@newsreader.com>
Subject: Re: Pipelining IHAVE commands with INN
Date: Wed, 08 Mar 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <20000307112107.524$na@newsreader.com> <brad-E330A5.20514107032000@news.skynet.be> <952460805.821101@news.netscum.dk> <20000307170425.247$Qv@newsreader.com> <952470010.613286@news.netscum.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 594522400
X-User: Curt@NewsReader.Com
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
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Newsgroups: news.software.nntp