🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44884

Re: throttle?

#44884
From: Curt Welch
Date: Wed, 08 Mar 2000 00:00
30 lines
2142 bytes
Oliver Fromme <olli@dumps.core.de> wrote:
> Shawn Ramsey <shawn@megadeth.org> wrote (Tue, 7 Mar 2000 13:57:35 -0800):
>  > Is it possible to throttle users, by either IP or username, to a
>  > certain kb/s?
>
> Throttle users?  Doesn't that hurt?
>
> But seriously.  Bandwidth limiting is usually implemented in
> the OS.  This is not a thing that application programs should
> care about.

The application needs to know about it for all but the most simple cases.
You need to support different limits based on the user, but only the
application "knows" who the user is, so it must get involved.  And
sometimes, you may want to vary the limit based on the command -- so for
example LIST ACTIVE or XOVER commands aren't limited, but ARTICLE commands
are.  You can't make this work unless the application gets involved in the
processes.  And bandwidth limiting is simple enough to do that there's no
reason it "should" be done in the OS.  So it makes a lot of sense to just
put it all into the application.

On top of that, most OSs don't have a standard way to do bandwidth
limiting. So if you put it in the application, then you reduce the porting
issues.

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

Technical Details
Message-ID: <20000308120958.855$av@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: <scaurcm5bi7166@corp.supernews.com> <8a4iim$1mm4$1@ariadne.rz.tu-clausthal.de>

Show Full Headers
Complete Article Headers
Message-ID: <20000308120958.855$av@newsreader.com>
Subject: Re: throttle?
Date: Wed, 08 Mar 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <scaurcm5bi7166@corp.supernews.com> <8a4iim$1mm4$1@ariadne.rz.tu-clausthal.de>
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: 594774548
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