Article View: news.software.nntp
Article #11556Re: What's wrong with sucking? and how do we fix it?
From: Clayton O'Neill
Date: Thu, 10 Oct 1996 00:00
Date: Thu, 10 Oct 1996 00:00
130 lines
7573 bytes
7573 bytes
On 10 Oct 1996 00:30:00 GMT, Chris Pugmire <netwin@world.std.com> wrote: >coneill@oneill.net (Clayton O'Neill) wrote: >>Who does it cost less? It is certainly cheaper for me to provide someone >>with a full IHAVE feed than to allow them to suck from the reader machine. >>It may require more bandwidth, but it costs me much less in disk bandwidth >>and cpu because of the fact I'm sending the same article to many peers at >>about the same time, resulting in good locality of reference. >> >>A small suck feed may cost me 10% of a full feed, but that's only because >>they are pulling down 1% of the articles. The stress from XOVER and rapid >>random article retrieval is phenomenal. > > I think this is a case of mixing up the unix SUCK utility and DNEWS >sucking, DNEWS does not use XOVER when sucking, and it retrieves articles >from a single group at a time, so locality is very high, particularly if >the server is a dnews server that it is sucking from. If it does not use XOVER, how does it determine what new articles are available? Whether it uses XOVER or not, there is no such thing as locality of reference on a loaded news server. If you doubt this, I'll be more than glad to look at one of our S1000's that average about 600 concurrent readers and have over 1200 during peak hours. >Certainly as you approach a full feed the live link technique will out >perform a large sucking feed as the articles are not read from disk at all, >but many news providers don't use this for their full feeds anyway, and as as you >have mentioned it is unstable once it gets behind it impacts badly >while catching up as there is no locality. With a sucking feed >the problem of getting behind is placed with the customer, and not with the >provider. The ease of maintenance and setup with sucking feeds should also >be considered seriously by any news administrator, your time is extremely >valuable and anything that saves it is good. Yes, my time is valuable, which is why I would just set up something like gup, or write something myself that does the same thing. A sucking feed uses 10x as many resources as a push feed for the ame number of articles. Your argument that a sucking feed is more efficient for small feeds only holds water if the person doing the sucking doesn't have much (or any) control over which groups they are sent. That is a very simple problem to fix. As far as it becoming inefficent when you fall behind, yes, but only down to the level of a sucking feed at worse. Regardless, anyone that falls more than a day behind on news these days probably doesn't want the backlog anyway. I know I certainly don't. >>But how do you enforce this? Unless you're using one of the delaying >>patches, they'll still be able to suck from you. If I am ever put in the >>situation of having to officially support sucking, (I hope that never >>happens), then you'll see that service on a separate news server, because >>it's going to suck. >> > >Agreed, you either need a patch that enforces some limits, (or at least >nice reports so you can bill them for the volume they suck) Or a seperate >machine for the non living news readers to suck from :-) About 2-3 hours work to add this functionality to nnrpd and another 1-2 hours to write the code to generate the reports. Is this already implemented in DNEWS? >>You're more than welcome to visit me any day of the week, night or day and >>demo DNEWS. I have serious doubts about it's performance under heavy load, >>but I'd be more than glad to be proven wrong. Do you have any numbers on >>how DNEWS performs under Solaris and Linux w/2000-3000 readers and/or 20-30 >>full feeds? How about 5000-6000 readers, and 100-200 feeds? Also, is a >>source code license available? > >I"m not clear from your above statment how many concurrent readers do you >need to support. If you can provide us access to a machine on your site >we will be happy to install a copy of dnews free of charge. We're currently servicing 50-60 outgoing feeds, and about 1200 concurrent readers during peak times. Understandably, I'm nervous about placing your software on the front line, can you provide us with pointers to people that are servicing similar loads with your software? Also, do you license the source code? >The current release is not tuned for providing 100's of outgoing feeds, but the >next release (due in the next two weeks) is designed for supporting large >numbers of outgoing full feeds so if you would like to give this a test too >then that would be great. I'd be very happy to do so. >>Correct me if I'm wrong, but I'm under the belief that the primary >>performance advantages that DNEWS has in a multiple feed configuration is >>that it has integrated overview into the article storage and stores articles >>in groups of 100. What other type of advantages am I looking at besides the >>dynamic feeding, which I wouldn't use. >> >>Sorry to change the topic towards DNEWS, but I've been curious about it on a >>technical (ie, non-marketing propaganda) level for a few months now. > >(trying very hard not to say anything non technical (i.e. marketing)) > >For readers, there is a lot of caching going on, which boosts performance, this >is true of most of the nntp commands, with INN you get zero caching. >Also dnews will use much less memory per reader than INN, this can also make >a huge difference when you have 100 or more concurrent readers. How can you have both lots of caching and a small memory footprint? Can you give us the average memory footprint on Linux and Solaris? I definitely have more than 100 concurrent readers, and we will hit memory limits on our current machines before we hit disk i/o or cpu limits. >With the new version the configuration of outgoing live feeds is extremely easy >and it automatically streams if possible and also allows n channels per outgoing >feed when streaming is not available. Ok, sounds like innfeed. > >The other advantage is in the expire process. On large INN systems you probably >have a problem getting the expire to run in a 24 hour period, DNEWS will generally >run an expire several times faster. feed1.news.erols.com typically completes an expire in under 30 minutes. If you're having a problem with expires not completing in 24 hours, you're either incompetent, or else running on too small of a machine. >Anyway, I suggest you try it out yourself to see what sort of performance you >get. But as I said earlier you need the new version before it's worth trying >to setup large numbers of outgoing full feeds. I'll wait for the new version. I'm sure you'll post a notice here when it releases :|.
Technical Details
Message-ID:
<slrn55pahp.86v.coneill@blah.erols.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<52stuk$8v@pixi.com> <52u0o9$6ur@dfw-ixnews1.ix.netcom.com> <325872e7.449293710@news.iconz.co.nz> <slrn55hpug.psi.coneill@blah.erols.com> <53hg28$gda@status.gen.nz>Show Full Headers
Complete Article Headers
Message-ID: <slrn55pahp.86v.coneill@blah.erols.com> Subject: Re: What's wrong with sucking? and how do we fix it? Date: Thu, 10 Oct 1996 00:00:00 +0000 From: coneill@oneill.net (Clayton O'Neill) References: <52stuk$8v@pixi.com> <52u0o9$6ur@dfw-ixnews1.ix.netcom.com> <325872e7.449293710@news.iconz.co.nz> <slrn55hpug.psi.coneill@blah.erols.com> <53hg28$gda@status.gen.nz> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 188405378 Organization: Erol's Internet Services Newsgroups: news.software.nntp,comp.unix.questions