From: Ken Raeburn <raeburn@cygnus.com>
Cc: ding@ifi.uio.no
Subject: Re: Changing Default News Server
Date: 30 Jul 1996 23:00:48 -0400 [thread overview]
Message-ID: <tx1d91dt9cv.fsf@cygnus.com> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of 30 Jul 1996 22:24:55 +0200
Lars Magne Ingebrigtsen <larsi@ifi.uio.no> writes:
> Well, I think if we're clever we can get the operation down to hours,
> and if we do it thoroughly it might take days. I'm probably being
> overly pessimistic, though. I think I should just write it and see
> whether it'll be too slow to be useful.
I located the perl script I had seen before, and ran it with my .newsrc
and my nntp server. Now, we do have a short expire time for many groups,
and we've been off the air for a couple of days, so I've got an easy test
case, but it finished translating from newsrc to message-id list (ids plus
group names totalling 2854 items) in under 30 seconds. The reverse
translation took less time.
This is recording only the read articles. Ticked and replied-to articles
would need to be tracked separately. I don't think unread articles need
to be tracked.
A typical news server probably has many more articles than we do right
now, but I would guess (possibly incorrectly?) that the time required
would be more dependent on the number of articles read, not the total
available on the server.
I would expect an elisp version to be much slower than the perl code --
take this as a challenge if you like :-) -- but if it does amount to a
large number of minutes or even an hour or more, I don't think it's a big
problem as long as progress can be monitored in the minibuffer or
something. This *shouldn't* be a common operation, and the user shouldn't
mind waiting a long time. Heck, she could run it in batch mode.
It takes a long time to run nnml-generate-nov-databases too, but we don't
skimp on the accuracy for performance reasons. :-)
Ken
P.S. I don't know if this perl code is considered ripe for distribution.
I can check with the author, if anyone wants to look at it.
next prev parent reply other threads:[~1996-07-31 3:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-18 4:26 Lal Samuel Varghese
1996-07-18 7:13 ` Lars Balker Rasmussen
1996-07-18 23:41 ` Steven L Baur
1996-07-18 23:43 ` David Watson
1996-07-18 23:51 ` Lars Magne Ingebrigtsen
1996-07-30 18:02 ` Ken Raeburn
1996-07-30 20:24 ` Lars Magne Ingebrigtsen
1996-07-30 22:15 ` David Lebel
1996-07-31 3:00 ` Ken Raeburn [this message]
1996-07-18 11:22 ` Darren/Torin/Who Ever...
1996-07-18 11:27 ` Lars Balker Rasmussen
1996-07-18 12:13 ` Jan Vroonhof
1996-07-18 12:30 ` Lars Balker Rasmussen
1996-07-18 15:51 ` Jan Vroonhof
1996-07-18 16:40 ` Jan Vroonhof
1996-07-19 8:56 ` Lars Balker Rasmussen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tx1d91dt9cv.fsf@cygnus.com \
--to=raeburn@cygnus.com \
--cc=ding@ifi.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).