🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #33935

Re: Hammering - what's reasonable? (Ping: Mr. Horwath)

#33935
From: Mike Pfaiffer
Date: Fri, 13 Jun 2003 20:34
188 lines
10802 bytes
Rith wrote this amazing epistle:

> Mike Pfaiffer <mike@digitalcivilization..ca> wrote in
> news:tkLFa.171751$ro6.4982073@news2.calgary.shaw.ca:
> 
<snip>
> If your ISP has horrible servers and fails to transfer segments,
> that's definitely an issue, and you are right to look to other/fills
> servers. Further, if the segments are actually present on the ISP's
> server(s) but repeatedly fail to transfer, I have little sympathy for
> their complaints.

        Absolutely. In this case (it is a cable company), when they were @home
and running Solaris on a decentralised system they had the same
completion rate and reliability as Mike. I've been trying to figure out
why things have become so terrible. 

        I've learned they've centralised the main NNTP server and send the data
from there to servers in the larger cities which then feed data to the
smaller centres. This means if the central server is having problems so
are all the machines fed by it.

        One tech says they apply some fairly aggressive spam filters on their
servers. This results in loss of articles and e-mail.

        They know I am a *NIX guy. For some reason, I have been unable to find
out which OSs are on their machines (I have volunteered to come in and
fix the problem).

        At least it's not as bad as our DSL provider.

> That said... if the server in question does not
> behave erratically, and transfers most articles as it is supposed to,
> you only make matters worse for everyone concerned (from the admin
> paying the bandwidth bill, to
> every user on the server) to hammer it every five seconds.  

        Quite right. In fact it's only my ISP I hammer every five seconds to
resume. Biggulp will happily resume when it's good and ready so I can
leave it at 30 seconds. With my ISP, unless I hammer it to reconnect it
will sit there all night and not do anything. In otherwords, I get a
minute and a half of high speed transfers from the ISP and then nothing
until I ask for a reconnection.

        Establishing the original connection is another story.

> "The
> software" is not the issue.  Most well written, multi-threaded
> software can easily handle more concurrent connections than the
> bandwidth can
> support.  The issue arises from the bandwidth required to deny those
> hammering login attempts. 

        True. A good analogy comes from (believe it or not) the Simpsons
cartoon. The kids in the back seat repeating "Are we there yet?" and
Homer responding "NO!". However you are making the assumption the
software is well written. I think we sort of touched on that earlier.
In the case of Biggulp Mike has said he doesn't mind since this helps
test his system. This helps him determine if the software he is using
is indeed well written. If he objected then we (I) would increase the
time between login attempts.

> In the specific instance of biggulp (thank
> Mike!), the server does an excellent job with retention and
> successfully
> transferring requested articles.  It is slow, and often full (it's one
> of the VERY few deliberately free, open, no-account-needed nntp
> servers taht
> carries binaries in the world), but it behaves itself. 

        Yes indeed. Thanks Mike. For a video addict like myself you make life a
whole lot easier. ;-) Filling segments from your system is a whole lot
easier than filling parts though. I think this is the right balance for
a free (for now) system.

<snip> 
        What I cut was very educational. A worthwhile read.

> Now, the half-stated truth: if you are retrying every 30 or 60
> seconds, and some dirty bastard is retrying every 5, then it's
> possible that the opening would come up between your retries, the
> bastard would get it, and by your next retry, there would be no open
> slot again.

        Yes. Unfortunately this means if you want to connect to download 25
segments or 1000 you still have to make the initial connection. In
order to compete with people trying to connect every 5 seconds (or
less) you have to do the same. Those of us who remember 300bps modems
remember competing for a small number of phone lines into the
university to use our state of the art Apple][+ as a terminal to do our
course work. Once we connect we check to find profs connecting from
home to play Adventure (precursor to Zork) on the mainfraime. There
isn't that level of nonsense on Biggulp. The reason people connect to a
binaries only server is to get the binaries. People aren't connecting
to prevent other people from connecting. Trust me, I know where you are
coming from and then some.
 
> At this point, this boils down to a case of doing what is best for all
> concerned (yeah, that whole public good thing).  Retry at 30 or 60
> seconds or something similar, and give Mike's server a break.  Helps
> everyone in the end.

        Either that or keep your connections to two (someone in another reply
said he is allowing up to four). This allows more people to connect.
Even with two connections, everything I download from Biggulp is done
well before what I get from my unstable ISP. It is a mistake to rely on
Biggulp for everything. It is in the best interest of everybody to try
their ISP first and Biggulp last. Before I started using a program
capable of getting segments I was connected to Biggulp overnight more
than once per week. Right now I'm connected anywhere from fifteen
minutes to two hours. How's that for public good? ;-)

> If that isn't convincing (you dirty bastard) consider this:  if either
> Mike's server connection (because of dirty bastards like you) or your
> ISP's upstream gets clogged, the first request could get delayed
> slightly and if the second came only 5 seconds later, it could get
> sent at the
> same time.  Trying to open too many connections at once CAN get you
> banned from Mike's or other servers, so it comes back to doing
> yourself a favor.

        In my case I'm just across the border. I think there are only a couple
of machines between Biggulp and my ISP. None the less you are correct
for larger distances. My solution of using less connections is adequate
for this. If the delay were over 10 seconds, this would be something
worse than multiple connections. It would mean there is a major problem
with Mikes machines. (I presume he is using some redundant machines in
case of hardware failure)

        BTW let's not get into namecalling without at least using a smilie.
Someone might take it seriously. OK... :-)
 
> In reality, Mike is far kinder than I am... he is providing a truly
> gracious service to complete strangers for free, at cost to himself.
> Someone like that may be too nice to ban you for hammering.  I'm not,
> other admins I know and have worked with aren't.  I'd ban your happy
> ass for an hour the first time you sent two connection tries within
> the same 29 second (in case it was right on the 30 second retry)
> period, and step
> it up to a day, a week, a month, and then permanent bans after that. 

        I agree. Mike is a nice guy. (This is starting to sound like a "love
fest here"). I only lowered my initial connection requests to every
five seconds after he said here, it was OK. As the owner/operator of
the server it is within the rights of that person to set whatever
limits they want. If Mike says five seconds is fine then five seconds
is fine. If he raises it to ten or thirty seconds it's his choice and
the rest of us live with it or lump it. If you have a system and you
allow me to make use of it I have to follow your rules. Since the
original question was about Biggulp and nobody mentioned this bit of
information recently I thought it might be useful to step in. As it
turns out I was right.

> Yes I would post that fact, although word would get around even if I
> didn't,
> but the fact is, retrying too often just hurts everyone.  Also, if you
> leave your software set to retry too often, and then use it to connect
> elsewhere for fills, you can wind up with a ban there because you
> didn't think to change the retry rate.

        You are you and Mike is Mike. The default setting for connecting
(initial and retries) is generally set at 30 seconds. There is no
reason to change it unless the server is unstable (like my ISP), or the
sysadmin allows it (like Mike). If you choose not to allow more than
one connection request to your machine by the same user every 30
seconds it's your choice.

        BTW, the software I use is capable of establishing connections with
multiple servers simultaneously. It allows me to configure the
connections to each machine separately. 

<snip> 
> -Rith

                                Later
                                Mike

-- 
+----------------------------------------------------------------------+
|  Digital Civilization magazine: http://www.digitalcivilization.ca    |
|   http://members.shaw.ca/pfaiffer = Mike Pfaiffer (B.A., B.Sc.)      |
| See my web page before you think about spamming me. I charge cash.   |
+----------------------------------------------------------------------+
----- BEGIN GEEK CODE BLOCK -----
Version: 3.12
GCS/G/IT/PA/SS d s+:- a? C++ UL L++ W++ N++ o+ K- w(---) O+@ M++@ V PS+
PE !PGP t+ 5+ X R tv b+ DI+++ D++ G e++* h! r-- !y-- UF++
------ END GEEK CODE BLOCK ------
Technical Details
Message-ID: <MzqGa.185253$3C2.5861455@news3.calgary.shaw.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news3.calgary.shaw.ca.POSTED!not-for-mail
References: <4aieevoefrfrf9835vl8l98vfu5t0ee3km@4ax.com> <3ee750ba$0$1396$a1866201@newsreader.visi.com> <spleevopvq7gcvpqkkn2uuq8tp2uttgt8m@4ax.com> <tkLFa.171751$ro6.4982073@news2.calgary.shaw.ca> <Xns939948719BC71Rith3141@216.65.98.9>

Show Full Headers
Complete Article Headers
Message-ID: <MzqGa.185253$3C2.5861455@news3.calgary.shaw.ca>
Subject: Re: Hammering - what's reasonable? (Ping: Mr. Horwath)
Date: Fri, 13 Jun 2003 20:34:52 GMT
From: Mike Pfaiffer <mike@digitalcivilization..ca>
References: <4aieevoefrfrf9835vl8l98vfu5t0ee3km@4ax.com> <3ee750ba$0$1396$a1866201@newsreader.visi.com> <spleevopvq7gcvpqkkn2uuq8tp2uttgt8m@4ax.com> <tkLFa.171751$ro6.4982073@news2.calgary.shaw.ca> <Xns939948719BC71Rith3141@216.65.98.9>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news3.calgary.shaw.ca.POSTED!not-for-mail
X-Trace-PostClient-IP: 24.66.65.92
Newsgroups: alt.free.newsservers
Lines: 188
User-Agent: KNode/0.7.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
NNTP-Posting-Host: 24.66.94.143
X-Complaints-To: abuse@shaw.ca
X-Trace: news3.calgary.shaw.ca 1055536492 24.66.94.143 (Fri, 13 Jun 2003 14:34:52 MDT)
NNTP-Posting-Date: Fri, 13 Jun 2003 14:34:52 MDT
Organization: Shaw Residential Internet