🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18103

Re: Why does nnrpd pause on 'article' and not 'head'/'body' ?

#18103
From: Pierre Belanger
Date: Fri, 30 May 1997 00:00
31 lines
1851 bytes
Andrew Gierth wrote:
> 
> >>>>> "Pierre" == Pierre Belanger <pbelange@risq.qc.ca> writes:
> 
>  Pierre> So, here is the patch to apply to article.c:
> 
>  Pierre> +       if ((what == STarticle) || (count > 100)) {
>  Pierre> +         sleep (1) ;               /* slow down sucking readers */
> 
> Tell me this. Why is it appropriate to penalise ARTICLE always,
> but HEAD/BODY only after 100 commands?
> 
This patch only move the sleep after the article is sent instead
of pausing before sending it.  I didn't really want to do much
more changes.  Actually, this is the only thing I changed, the
'if' condition is still the same.

I kind of agree with you that, maybe, we should also have a sleep
for HEAD/BODY commands.  BUT I can't agreed at 100% since I
am not a NNTP expert ;)  I would need to know when are the news
clients using the HEAD or BODY and how often.

If you, or someone else, can do a follow up to give a little bit
more infos. on HEAD/BODY commands, we could certainly figure out 
what exactly should be in the 'if' condition.

yours thruly,
Pierre Belanger - RISQ

Technical Details
Message-ID: <338F1809.1D37@risq.qc.ca>
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: <5mk90t$bb$1@dita.local> <338E532C.6BC@risq.qc.ca> <338EE78E.1E31@risq.qc.ca> <87hgflj7z9.fsf@erlenstar.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <338F1809.1D37@risq.qc.ca>
Subject: Re: Why does nnrpd pause on 'article' and not 'head'/'body' ?
Date: Fri, 30 May 1997 00:00:00 +0000
From: Pierre Belanger <pbelange@risq.qc.ca>
References: <5mk90t$bb$1@dita.local> <338E532C.6BC@risq.qc.ca> <338EE78E.1E31@risq.qc.ca> <87hgflj7z9.fsf@erlenstar.demon.co.uk>
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: 245017318
To: Andrew Gierth <andrew@erlenstar.demon.co.uk>
Organization: RISQ (Reseau Interordinateurs Scientifique Quebecois)
Newsgroups: news.software.nntp