Article View: news.software.nntp
Article #28863Re: Slow news server
From: Forrest J. Cavalier III
Date: Sat, 06 Jun 1998 00:00
Date: Sat, 06 Jun 1998 00:00
66 lines
3518 bytes
3518 bytes
In article <35782bc8.0@131.162.2.91>, marc@acadiau.ca wrote...
[snip. I don't have to argue everything...Let's just say
that Marc must not be running a lot of simultaneous readers....]
>
>> In INN 2.0 there is no easy migration path from "traditional
>> storage" to the "storage API", and they cannot be mixed and matched
>> (you run either storageapi: yes or no.)
>
> yes there is...see the makehistory man page:
>
> Makehistory also restores articles stored by traditional
> method through storage api. If this is done, unified
> overview database and its index can be created together.
> The translation into traditional method is not supported.
OK, let's pick a nice round number of full Usenet feed
800K articles per day, 4 days retention = 3.2 million articles.
CNFS peak at, what did you say, 50 aps? That'd be pretty good...
only 64,000 seconds to do it all....17 hours. Not the same as
flipping a switch, but maybe you can live with that. Nuke
alt.binaries, and you can probably have 40% of the articles to
transfer (Would require modified history file before you did
it.) Maybe do it in about 6 hours?....
....Except for one thing. You can only get articles OUT of a
traditional spool as fast as you can put them in....Figure
on 10 aps out? (Fill in your number here) So instead of 6, you
are looking at 30 hours....or worse.
Is there some magic I missed? Can anyone report their results
of a traditional to storage API conversion using 2.0 makehistory?
(I haven't done it either.)
These are very rough estimates, but INN 2.0 makehistory for
translation does a RANDOM walk through the spool. Whereas
makehistory for rebuilding history does an ordered walk
through the spool. Which do you think is going to be slower?
(And anyone have run times for a recent "makehistory" on a
full spool? It was 20 hours LAST YEAR on a decent box.)
Aside node: Jeff suggested the "feed an Xref slave solution"
which is very practical, and probably the "right way." IMO. But
that can't really be considered an "easy migration" in my way of looking
at things. ....Certainly it requires a duplicate "horsepower"
server running in parallel, and you don't really "migrate" any
articles....
- - - - - - - - - -- - - - - - - - - -- - - - - - - - - -
Geez Marc, I'm not out to trash INN 2.0. It's got some nice
features, and some great improvements. But you have to
be realistic.....Don't promise more than it is.
The reality is that INN 2.0 is not going to be an improvement
for *some* people in *some* applications. And that is exactly
what I said...
"depending on <list of things>, it could be faster, it
could be slower."
Forrest
Technical Details
Message-ID:
<6la8vo$dku$1@news1.epix.net>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:
<6l3pr7$fb6$1@ultranews.duc.auburn.edu> <3575C5DA.E0C43686@pobox.com> <3577085C.7CC3@shreve.net> <nrKd1.301$Cs4.2124324@insync> <6l94mv$et7$1@news1.epix.net> <35782bc8.0@131.162.2.91>Show Full Headers
Complete Article Headers
Message-ID: <6la8vo$dku$1@news1.epix.net> Subject: Re: Slow news server Date: Sat, 06 Jun 1998 00:00:00 +0000 From: mibsoft@mibsoftware.com (Forrest J. Cavalier III) References: <6l3pr7$fb6$1@ultranews.duc.auburn.edu> <3575C5DA.E0C43686@pobox.com> <3577085C.7CC3@shreve.net> <nrKd1.301$Cs4.2124324@insync> <6l94mv$et7$1@news1.epix.net> <35782bc8.0@131.162.2.91> 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: 360065573 Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII Organization: Mib Software Newsgroups: news.software.nntp