Article View: news.software.nntp
Article #28923Re: feed question on alt.binaries.sounds.mp3
From: Silas Dunsmore
Date: Mon, 08 Jun 1998 00:00
Date: Mon, 08 Jun 1998 00:00
104 lines
5226 bytes
5226 bytes
In article <87yav9x76y.meow@fluffy.meow.org>, Fluffy <fluffy@meow.org> wrote:
>silasd@user.psyber.com (Silas Dunsmore) wrote:
>/*
> * If a notice issuer has tagged that Message-ID as 'hide', and the user
> * accepts that issuer's recommendations, then that line of overview data
> * is just dropped on the floor. The client wouldn't ever see it.
> */
>
>This could get sticky, given nnrpd's normally helpful habit of falling
>back to the article file for NOV info. The GRPscandir filler-inner
>might need a little bit of faking out.
nnrpd can do what it likes. In this scenario, nnrpd would behave as
normal, and this new proxy would filter out those overview lines that
match against nocem notices. Seperate processes, cascading data. And
if the filter breaks, it doean't break nnrpd. You'd just reconfigure
to read news directly.
>/*
> * The database could be a Perl hash, a DBM file, or even an external
> * SQL database. All it needs to maintain is a single table keyed on
> * Message-ID that tracks what issuers (by PGP key?) have said what
> * (spam/hide, MMF/hide) about the Message-ID. And some internal info
> * such as expiration date.
> */
>
>That could be ouchful, all mashed together like that. It means that
>you'd have to run a whole slew of queries each time you enter a group.
>
>If there's a simple sequential NOV-like thingy for each group, it's
>just one big swipe to see what's interesting. Now, this would pretty
>much limit filtering to in-group artnum requests; but if someone's
>bothering to request by message-id, there's probably not much point in
>pretending the article doesn't exist. That's consistent with what the
>reference NoCeM client does, too.
Maybe. But this would require writing to a lot of files every time a
notice comes in. Consider the arrival (all-to-often) of a big spam
notice -- say 1000 IDs with an average of 10 groups per ID, with 500
unique newsgroups amongst the IDs. We then need to append around 20
new IDs to each of 500 files. Just for that notice. Worse, most of
those IDs probably have been or will be cancelled, so they won't ever
be checked.
>/*
> * The database would need to be valid in a multiple access, many-reader,
> * one-writer situation. I believe Berkeley DBM has this, as does (of
> * course) SQL. A shared-memory Perl hash would need explicit interlocks.
> */
>
>Sequential files meet this too. I like sequential files, they're
>simple and very hard to break =) They've also proven to be a good fit
>for NOV, and the access patterns on this thingy would be quite
>similiar.
It would reduce reading costs -- suck and parse a flat file, versus
a DB lookup (which probably doesn't hit) per existing article. But
notice-processing costs seem sharply higher. I'm already worried about
missing notices because of a backlog. (I don't know if this has ever
actually happened to me, though.)
I really don't know which way is worse.
>/*
> * I could see running this over a modem, iff the connect was nailed up.
> * For a dialup, though, it would be much better to run this on the server
> * side.
> */
>
>There was talk long ago of http-driven client NoCeM, but for some
>reason it never took off. I'm guessing that it's because you'd still
>need to run something extra at the client. I just can't see Joe
>Average Luser messing around with .newsrc preprocessors and stuff =)
>It's definitely got to be a server thingy.
It does need to be near the server, but it probably doesn't need to be
on the server box itself. It would be more convenient, but....
A proof-of-concept lashup could be run on an ISP's user-shell machine.
I wonder if it could actually be done on a third-party box? Not really,
since it wouldn't have access to the ISP's news server.
Hmmm. The part that hurts is sucking and processing all the notices.
Run the actual proxy on the client side, and let it consult a trusted-
third-party nocem database? Client connects his newsreader to
localhost:news, the proxy mediates between the reader process(es) and
the news server, with occasional flurries of requests to the database.
The list of what keys to trust and notice types to accept can then be
maintained locally. (I'm not volunteering to run this, mind.)
--
Later, eh? Silas
CUT TO: J. DANFORTH QUAYLE giving a speech.
Quayle: It is a terrible waste to lose your mind ... oh, ah, I mean not
having a mind is a terrible waste. How true that is.
Technical Details
Message-ID:
<6lg43g$pvs$1@warez.psyber.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:
<357066c0.0@news2.lightlink.com> <Mw.4wop4_f6i@fluffy.meow.org> <6l9ab5$126$1@warez.psyber.com> <87yav9x76y.meow@fluffy.meow.org>Show Full Headers
Complete Article Headers
Message-ID: <6lg43g$pvs$1@warez.psyber.com> Subject: Re: feed question on alt.binaries.sounds.mp3 Date: Mon, 08 Jun 1998 00:00:00 +0000 From: silasd@user.psyber.com (Silas Dunsmore) References: <357066c0.0@news2.lightlink.com> <Mw.4wop4_f6i@fluffy.meow.org> <6l9ab5$126$1@warez.psyber.com> <87yav9x76y.meow@fluffy.meow.org> 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: 360591677 Organization: Psyberware Internet Access Newsgroups: news.software.nntp