Article View: news.software.nntp
Article #6837Re: newsfeed wanted.
From: Jerry Aguirre
Date: Wed, 24 Apr 1996 00:00
Date: Wed, 24 Apr 1996 00:00
53 lines
3671 bytes
3671 bytes
In article <4lk7f1$9le@panix4.panix.com> chuckie@panix.com (Alec H. Peterson) writes: >I think that using streaming with nntplink would be a _huge_ lose. >The point of nntplink is to catch files while they are in the buffer >cache. If nntplink has to wait until a certain number of files have >come in to send the streamed IHAVE message, it is entirely possible >that the articles will be out of the cache, so the win of nntplink >would be lost. Also, if you are receiving multiple feeds, streaming >is a lose as well, because it raises the amount of time it takes an >atomic operation to occur. This is a good point to whoever implements streaming for nntplink. When processing a backlog streaming is fairly streight forward. When tailing off the active queue it would not be a good idea to have it wait for N entries before processing them. Fortunately there is no "certain number" that is part of streaming. It is perfectly OK to stream with only as many articles as are available. I think the people that think streaming is some how bad because it hogs the connection are missing the point. Yes, it is not "fair" but that does not mean it is not efficient or good. If you have N feeds comming in do you really care which one is sending you the articles? If one sends you all the articles then the others will, by being slow, get all their "ihave"s refused as duplicates. If they have a problem with keeping up with their queue then let them convert to streaming. Yes, there is a tendancy for streaming to make innd more sluggish in responding to new connections. But innd already had that problem. If instead of a streaming feed you split the existing feed "N" ways then the result would make innd just as sluggish. The real problem is innd getting blocked when it does disk IO. If that could be eliminated then the sluggishness induced by other feeds would not be a problem. Currently innd gives special priority to the control channel but not to new connections. It would seem fairly trivial to change the loop to check for new connections before processing the regular feeds. This would help with the delays associated with posting. >Ideally, what I'd like to see is a patch to INN that would multiplex >streams. Unfortunately, that is more coding than I have time to do >now, so instead I just wrote a patch to innd (that I posted here) to >turn off streaming. It really helped out my server (which has a bunch >of full feeds). Unfortunately we are faced with trying to come up with software that will handle wildly varying configurations. There are major relay sites with hundreds of incomming and outgoing feeds. There are other sites with few feeds but hundreds of readers. There are leaf sites with only one feed across a slow link. What seems like a great fix for one configuration winds up being very bad for the other. Could you explain what you mean by multiplex in this context?
Technical Details
Message-ID:
<4llpk2$m0a@olivea.ATC.Olivetti.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-mailReferences:
<4l8jg8$pcd@bull.hkstar.net> <Pine.GSO.3.92.960420233653.18974E-100000@netdoor.com> <4lk4mg$sqg@olivea.atc.olivetti.com> <4lk7f1$9le@panix4.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <4llpk2$m0a@olivea.ATC.Olivetti.Com> Subject: Re: newsfeed wanted. Date: Wed, 24 Apr 1996 00:00:00 +0000 From: jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre) References: <4l8jg8$pcd@bull.hkstar.net> <Pine.GSO.3.92.960420233653.18974E-100000@netdoor.com> <4lk4mg$sqg@olivea.atc.olivetti.com> <4lk7f1$9le@panix4.panix.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: 151213411 Distribution: inet Organization: Olivetti ATC; Cupertino, CA; USA Newsgroups: news.software.nntp