🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50907

Re: Diablo Web SIte

#50907
From: Charlie Charlatan
Date: Thu, 01 Mar 2001 14:40
197 lines
12532 bytes
*** post for free via your newsreader at post.newsfeeds.com ***

:: I think some amount of connection limits make sense.  News should not
:: be permitted to conduct itself like a denial of service attack.  In

Yahbut, you need to be able to handle what it takes.  Our 2-disk
top-rankin' news machine should be able to handle some 892 connections
before we start unilaterally refusing connections, and since this
is the select() loop doing this, we should have enough resources
that our machine doesn't go down from this.  If you are serious
about doing news, you have to be prepared to handle it.

Also, be realistic.  We're talking up to 12GB/hour, 20 articles/sec
with peak counts over 5 minutes well over twice this.  So of course
what you need today will be more that what it was years ago.

Yeah, I know, you're non-binaries mostly.  I'm talking general now.


:: The question in my mind is -- what specific limits make sense, and

It all depends on the latency and how much of the above numbers
you want to see.  If we are taking in binariez at eight articles
per second, if you want to take them from us, you have to take
them in at eight per second.  Articles that take time to transfer.
Yesterday it used to be that I'd need to open more connections to
get non-binaries out, but today, if a site nearby is taking in
binaries from us, I seem to need as many connections as articles
per second.  Here, streaming or non-streaming makes no difference,
when a site takes a lot, as far more time is spent delivering the
article than on any protocol.  The heck I'm going to CHECK one of
a batch of 25 megabyte-sized articles and wait around until the
remaining 24 have been delivered.

Small article limits seem to depend on the latency of the link.
A typical peer we send a lot to, may need 8 connections of small
articles to keep up.  Add to that 8 connections for binaries and
we've probably run into a limit that peer has imposed.  Reasonable?
Depends.  I impose no limits on what our peers can open, other
than that 892 that we're a bit less that halfway toward reaching.

My rule is simple:  I start with five connections per feed, and
tune it upwards or downwards as needed, to keep up in realtime
without backlogging excessively.  If I run into an artificially-
imposed limit on connections, then I forget about trying to keep
backlogs.  I'll deliver everything we got with backlogs if that's
what I'm able to set up (assuming the other site can keep up and
not need too many connections); if not, then you run the risk of
losing things since I can't allocate the resources needed to give
you everything.  I can see, though, from the amount of old news
flowing around out there, that there are sites with a week or
more of backlogs waiting for them.  That either means they can't
keep up or they aren't allowing their feeders what is needed to
get the news to them.


:: why.  Should one limit connections so feeder software is will use
:: basically-idle connections already opened rather than open new ones.

This is the approach I take from the sending end.  I look at the
backlogs, the internal queue status for innfeed, and decide if
the peer is able to keep up well or not.  My goal is a queue of
zero except during the evening peak of article flow (the number
of connections needed nearly doubles, depending on time of day,
with evening european time being the peak)


:: Or should there be a gazillion idle connections, creating potential
:: stack and fd hell at the recipient end, so the feeder's article will

If you need a gaZILLION[service mark of TeleDanmarkCommunications]
connections, then your peer probably can't keep up or you should
re-evaluate the news you're sending.  If I need more than four
connections per feed to nearby peers, then that site probably can't
keep up no matter what I do, unless I'm pushing a lot of binaries.
Because of the additional latency imposed by distance, that number
will probably be more like eight connections for trans-atlantic
peers for fast sites that don't take much, or maybe 15 for those
sites that do take a lot.

Now, if a connection is mostly idle, that shows up here, just like
if the connections are backlogging.  The question then should be,
do I want to tune the number of connections for the average article
rate of 20/sec during peak evening hours, so that I see backlogs
only during bursts, or for the low article rate of 10/sec during
off-peak times, so that much of the day is spent backlogging, often
a situation that one never can catch up from.

I choose to tune my outgoing feeds to handle the rate I see during
the peak times, knowing that while lines might get slightly faster
to some of our peers, the daily number of posts has once again
started to increase after a year or so of being down from an earlier
million-plus peak per day, due to the increase in binariez posts and
a decrease in average binariez post size as people split their posts
into ever-smaller parts (used to be you'd see a peak of articles at
some 600k size; nowadays the peak is very sharp down around 300k,
as apparently people have discovered that a lot of transit sites
don't propagate or want articles larger than half a megabyte.
This implies that sites who want to avoid propagating these 150GB/day
of articles <512k size should change their cutoffs to 300k or 256k
instead).  Over the last year, the daily count has roughly doubled
from some 800 thousand to more like a million and a half now.

Anyway, before I got distracted, I'm talking of a full feed here.
Sites like you, well, I'm not sending a full feed, so I don't need
as many connections.  But you're still on the other site of the
ocean over a link that right now has 40ms higher RTT than it did
several months ago, so more connections are called for to get the
data to you.


:: always have an idle connection to go out there with?

Of course, some people have a different idea of a gazillion than
we do.  Personally, for the incoming feeds to me, I would say yes,
it's okay to open as many connections as you need to keep from
seeing backlogs, within reason, where 20 connections across the
ocean would be reasonable if traceroutes don't look bad, for non-
binaries.  A gazillion that matches two, or three, is not reasonable.
Period.  And will never be.

I'd also change the `always' that you give above to a `usually' and
then say yes.  Remember that peaks will often be well above the 20
art/sec average rate.  When low-life scum Repsis, Gartman or Bouwsma
spammers spew their floods, we see well over 50 art/sec averaged for
five minutes, so peaks can easily be higher over a shorter period.
For my outgoing feeds, I'd say that the connections needed to handle
50+ art/sec isn't necessary unless the peer being fed agrees, but
20/sec or 30/sec is reasonable, as that's the rate being sustained
over several hours every day now.


:: :So delay your outbound feeds to those peers.
:: 
:: In this case, I'd think you'd want to be sure that the other peers get
:: a lot of articles to the remote end, else you do lots of disk thrashing
:: because the huge articles are no longer in your buffer cache.

True.  Also, the delayed feed needs to be gentle on the disks.  An
easy way to do a delayed feed today is with innxmit, that I'm using
more as a backup feed because of known innfeed problems causing the
occasional lost bunch of posts, but the current innxmit k0de is so
bad to the disks that even if it sends nothing, it still thrashed
the disks enough to get rid of all idle time on the incoming feed
before I hacked it (although on a Slowaris box that wasn't too far
from its limits taking in the feed).

If you use an innfeed delayed feed, you again need to pull old posts
from the disks when you need to deliver them (innfeed is gentler on
disks by not verifying articles before offering them, as new innxmit
does).  Here you run into the problem that innfeed is single-threaded
and as others have noted, if one peer starts to backlog, others will
often follow, and often these backlogs just don't disappear, as the
innfeed process spends too much time on disk activity.  This kills
performance for everyone, not just the misbehaving peer.


:: I'm feeling really glad that I exchange a newsfeed with Barry and he
:: _doesn't_ complain about it.  I only send him ~20k articles/day vs. 
:: the 40k articles/day he sends me.  Barry, if you're out there, please
:: take mercy and don't flog me in public for being such an inadequate

You are a perfectly adequate peer.  In fact, given the configuration
of our feed to you, I'm actually surprised that we're sending you as
much as we are -- I would have expected it to be different, particularly
as I don't even bother to look at the transit machines anymore.  And I
don't expect any site that isn't in the top five or ten to deliver any
more to us than we deliver to them, with as many incoming fast feeds
as we have.  So chill, relax, stop begging for a beating.  Those are
only reserved for them what has earned themselves a hide-tannin'.

Of course, I could be wrong.

Ihr bavarian beer connection
  Kvindeservice

  **** Post for FREE via your newsreader at post.newsfeeds.com ****

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Newsfeeds.com - The #1 Usenet Newsgroup Service on The Planet! ***
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  http://www.newsfeeds.com���    |         http://www.newsfeeds.com
                                 |
* Anonymous posting server!      | * Totally Uncensored!
* SUPER Servers!                 | * Over 80,000 Newsgroups!
* BINARIES ONLY Servers!         | * 16 seperate Newsgroup Servers!
* SPAM FILTERED Server!          | * Instant access!
* ADULT ONLY Server!             | * Multiple OC 3's and OC 12's!
* MP3 ONLY Server!               | * 99% Article Completion!
* MULTIMEDIA ONLY Server!        | * Months of Retention!
* 7 UNCENSORED Newsgroup Servers | * Lightning FAST downloads!
                                 |
  http://www.newsfeeds.com       |         http://www.newsfeeds.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 �      **** Point your newsreader to post.newsfeeds.com ****
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 
Technical Details
Message-ID: <insert-pseudo-random-number-here@insert.unique.domain.here>
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!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!local-out2.newsfeeds.com!newsfeeds.com!post.newsfeeds.com!newsfeeds.com!pn!anonymous!127.0.0.1!pn!bouswma.bungmunch.com!suckazoid.netscum.dQ!news.radio.cz!FREEBEER-damages-the-will-to-live
References: <Xns90457F1777DCDringdahlwebusenetcom@63.210.103.22> <brad-0E93B5.16532613022001@[195.238.2.19]> <96c70s$hbl$1@news.talkline.nl> <982102871.742793@news.netscum.dk> <010214130237.AA17004@dojo.mi.org>

Show Full Headers
Complete Article Headers
Message-ID: <insert-pseudo-random-number-here@insert.unique.domain.here>
Subject: Re: Diablo Web SIte
Date: Thu, 01 Mar 2001 14:40:12 +0000
From: Charlie Charlatan <autocyberretributionmeowbot@pl0nQ.invalid>
References: <Xns90457F1777DCDringdahlwebusenetcom@63.210.103.22> <brad-0E93B5.16532613022001@[195.238.2.19]> <96c70s$hbl$1@news.talkline.nl> <982102871.742793@news.netscum.dk> <010214130237.AA17004@dojo.mi.org>
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!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!local-out2.newsfeeds.com!newsfeeds.com!post.newsfeeds.com!newsfeeds.com!pn!anonymous!127.0.0.1!pn!bouswma.bungmunch.com!suckazoid.netscum.dQ!news.radio.cz!FREEBEER-damages-the-will-to-live
Newsgroups: news.software.nntp
X-Pedophile: BARRY BOUWSMA IS A PEDOPHILE!!!
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 193.162.153.124
X-Original-NNTP-Posting-Host: 193.162.153.124
X-Trace: post.newsfeeds.com!newsfeeds.com!pn!anonymous!127.0.0.1!pn 983457612 193.162.153.124 (1 Mar 2001 08:40:12 -0600)
Organization: Newsfeeds.com http://www.newsfeeds.com 80,000+ UNCENSORED Newsgroups. The #1 Usenet Service on the Planet!
Lines: 196
X-Comments: This message was posted through Newsfeeds.com's, FREE publicly accessible Usenet Server - "post.newsfeeds.com"
X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings.
X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!!
X-Report: Please report illegal or inappropriate use to <abuse@newsfeeds.com>
X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS)