Article View: news.software.nntp
Article #39345Re: dreaderd expire problems, proposed solution
From: bert hubert
Date: Sun, 22 Aug 1999 00:00
Date: Sun, 22 Aug 1999 00:00
100 lines
5612 bytes
5612 bytes
On 22 Aug 1999 07:31:20 -0500, Joe Greco wrote:
>:spool servers have been tried, and if all servers responded with a "430 No
>:such article."
>
>So, if I'm a smaller shop without redundancy, and a network outage takes
>my spool server offline for a while, and some bozo tries to read all of
>comp.*, all my overview data vaporizes...? That's great, especially if
>I want to keep a month of comp.* and now all my customers are not liking
>me because I've got none.
No, because if my server is offline, it will not respond with a 430, it
won't respond at all, and my proposed algorithm will not expire the overview
data. It will do so only is all spool servers were up, and all of them
failed. Furthermore, this feature is optional.
>"uqwk" which like to iterate through text groups one at a time and with
>your proposed modification could pretty much rip through most popular
>groups and mark them permanently unavailable.
This feature would require some discipline, that is true. It may not always
be a good idea.
>:Ah, but I do have a large userbase, ~35.000, mostly cable modems. However, I
>:aggree that it shouldn't be default behaviour.
>
>Small userbase. Some of us are building for orders of magnitude larger.
We are talking 35.000 users with a large binary dependency here. Cable modem
users can be very demanding to support...
>:The outgoing traffic to my users is over 40 times larger than my incoming
>:feed. So I suspect that most articles get read many, many times.
>
>Odd that my userbase is much larger and I don't think that's the case. I
>do think that alt.binaries.* get read many, many times (which is also what
>accounts for most of your traffic, I'd bet). :-) This, of course, is a
>tiny fraction of your articles though.
As said before, we are talking cable modem users here which according to
several pieces of research are over 5 times more active on the net than
POTS/ISDN users. It is most of my traffic, and also the area where people
report most of their problems. Happy customers are important to me, even if
they are reading alt.binaries.erotica.*..
>So, if this is your _real_ problem (which I suspect it is), you should just
>try to make sure that your expires on both sides are set appropriately. You
>can actually set the dreader side a "bit too small" so that you have a
>little extra breathing room.
This is very hard to accomplish I'm afraid.. The idea is to do this as much
as possible, and use the proposed algorithm to 'trim the edges'.
> you don't really want to lock-step requests in a group with 10,000
> articles. Although I guess the clever programmer might discover a way
> to do it synchronously with the transmission of overview to the user,
> which'd hide the delay and also spread out the load.
> I do actually have another news app that does this, and while I have not
> checked to see what kind of load it imposes on my spool servers, it does
> work _fast_.
I think this would be a lot of work for the spool servers.
>2) devising a way to notify dreaderd when a spool loses an article. This
> becomes very complex since you may have multiple spools, etc. In my
> particular environment, where I have classifications of spool servers
> and machines within the classification are identical, it'd be easiest.
> When I lose an article off of one spool server, simply notify all
> readers to expire it. Of course, this still fails miserably for things
> like remote spools ("Supernews") and so I've not been anxious to dump
> engineering time into this sort of solution.
I have been thinking along the lines of a central overview server where
readers cache overview data and invalidate it after a few minutes and
recheck with the overview master. Spool servers which expire articles send a
notification to the overview master, which then decreases the reference
count. Once this hits zero, the overview record is zonked.
I haven't yet worked this out, but it does show some promise.
A third way would be to have a dedicated 'trimming tool' which continuously
checks the availability of articles, asynchronously. If you decide to do
maintenance, just switch off the trimming tool.
Thanks for thinking with me. I think I'll try something along these lines
anyhow, just to 'trim the edges'. Our spoolservers behave differently from
yours right now, so I just might get away with it.
Regards,
bert hubert.
--
Delft University | Absoluut geen woordvoerder van Casema. Gewoon
of Technology, | niet geloven wat ik zeg.
Department of Physics | Inspice et cautus eris - D11T'95
Technical Details
Message-ID:
<slrn7rvsg9.us.ahu@hubert.ds9a.tudelft.nl>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:
<slrn7rub83.9h4.ahu@hubert.ds9a.tudelft.nl> <37bf42fe$0$30893@news.execpc.com> <slrn7ruhpi.9q8.ahu@hubert.ds9a.tudelft.nl> <37bfed9a$0$30901@news.execpc.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn7rvsg9.us.ahu@hubert.ds9a.tudelft.nl> Subject: Re: dreaderd expire problems, proposed solution Date: Sun, 22 Aug 1999 00:00:00 +0000 From: ahu@casema.net (bert hubert) References: <slrn7rub83.9h4.ahu@hubert.ds9a.tudelft.nl> <37bf42fe$0$30893@news.execpc.com> <slrn7ruhpi.9q8.ahu@hubert.ds9a.tudelft.nl> <37bfed9a$0$30901@news.execpc.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: 515783697 X-Server-Date: 22 Aug 1999 12:50:35 GMT X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@casema.net X-Trace: reader1.casema.net 935326235 22022 212.64.76.248 User-Agent: slrn/0.9.5.4 (UNIX) Newsgroups: news.software.nntp