Article View: news.software.nntp
Article #17082Re: bug in INN1.4unoff4 streaming code
From: Alan Brown
Date: Thu, 17 Apr 1997 00:00
Date: Thu, 17 Apr 1997 00:00
39 lines
2274 bytes
2274 bytes
In article <5iu859$44v$1@fes.whowhere.com>,
Jerry Aguirre <jerry@rigel.whowhere.com> wrote:
>The INN innxmit streaming code measure's the "fullness of the pipe" by
>the number of CHECK or TAKETHIS commands it has sent but which have not
>been ackowledged. This issue is that a TAKETHIS comand might have been
>a 300 byte cancel message of a 900,000 byte binary. The later should
>count for more.
This is a fundamental problem of newsfeeding.
My very hacky solution was simply to split all outbound feeds into small
and large streams. For some sites I've broken the outbound feed into 3
streams based on article size.
Things are working a lot better than they were now, largely because small
articles are not blocked by 2Mb binary postings in the same stream.
>>My lock is implemented as a 25 article id circular queue. Each lock from a
>>check, takethis, or IHAVE is held until it is pushed out. This is normally
>>1-8 seconds depending on how bursty the traffic is.
>
>This seems inadequate to me. A single innxmit can offer 16 articles via
>"CHECK" before the first arrives. Thus even two such feeds would seem
>to saturate your 25 ID lock queue.
One solution would be to provide a circular queue for each incoming feed
or add 25 places to the queue for each incoming connect.
AB
--
o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default
"on" - See http://www.vix.com/spam/ and http://www.sendmail.org/antispam.html
There's a hole in the sky the size of America.
Technical Details
Message-ID:
<5j42vt$7n4@papaioea.manawatu.gen.nz>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-mailReferences:
<01bc4481$01766ea0$1f8fe680@spring> <5imno1$5km$1@fes.whowhere.com> <01bc46e8$91616f10$9401e680@spring> <5iu859$44v$1@fes.whowhere.com>Show Full Headers
Complete Article Headers
Message-ID: <5j42vt$7n4@papaioea.manawatu.gen.nz> Subject: Re: bug in INN1.4unoff4 streaming code Date: Thu, 17 Apr 1997 00:00:00 +0000 From: alan@news.manawatu.gen.nz (Alan Brown) References: <01bc4481$01766ea0$1f8fe680@spring> <5imno1$5km$1@fes.whowhere.com> <01bc46e8$91616f10$9401e680@spring> <5iu859$44v$1@fes.whowhere.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 X-Deja-AN: 235382319 Distribution: inet Organization: PlaNet (NZ) Manawatu, +64 6 357-9245, +64 6 367-9944 Newsgroups: news.software.nntp