🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51022

Re: tracking responses to my post....

#51022
From: Terrance Richard Boyes
Date: Tue, 06 Mar 2001 19:23
34 lines
3202 bytes
In news.software.nntp prence@removethis.hotpop.com wrote:
> We can create the database locally on the client but what is the most

I'd have thought it better to keep it in a database on the
server, then add some cgi-bin to interrogate it if you want
the "inform the poster" bit to be done on request.

> efficient way to check (track) if a response has been posted for one
> of the msgs. We could be required to handle about 1000  to 10000 posts
> a day or more and if we keep them alive in our tracking dbase for 20
> days thats 200,000 posts to keep track of.

The numbers may look big in some ways, but that's nowt really :)
200,000 msgids is only about 10MB, and msgid keyed access should 
be pretty fast (remember it's a unique id and hashing it works well).
You'll obviously need to store the userid against the msgid, and
may want to add a timestamp to make expiry simple.

If the nntp server you're using supports it you could check
each new article as it arrives. If not then one way to do it
would be to run a job every hour that scans all new articles 
since the last time it ran. Or vice versa check all msgids
you store msgids against all new References:. 

I suggest trying it both ways, which one is quicker will be
partly dependant on the numbers of new articles vs the number
of stored msgids. Then you could either store the matches
in another table, or email the poster, or ...

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
Loose lips, sink ships.

Technical Details
Message-ID: <20010306.192301.9E9801DE.1daa@pierrot.co.uk>
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!supernews.google.com!sn-xit-03!supernews.com!freenix!isdnet!newsfeed.icl.net!newsfeed.icl.net!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
References: <3aa3e1f4.3238074@news.alt.net> <1ept2vh.2sff0d15xrbacN%planb@newsreaders.com> <3aa45c9a.34654336@news.alt.net>

Show Full Headers
Complete Article Headers
Message-ID: <20010306.192301.9E9801DE.1daa@pierrot.co.uk>
Subject: Re: tracking responses to my post....
Date: Tue, 06 Mar 2001 19:23:01 +0000
From: tez@pierrot.co.uk (Terrance Richard Boyes)
References: <3aa3e1f4.3238074@news.alt.net> <1ept2vh.2sff0d15xrbacN%planb@newsreaders.com> <3aa45c9a.34654336@news.alt.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!supernews.google.com!sn-xit-03!supernews.com!freenix!isdnet!newsfeed.icl.net!newsfeed.icl.net!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
Newsgroups: news.software.nntp,news.software.readers
Organization: ECL.Net
X-Trace: mail2news.demon.co.uk 983906600 mail2news:11517 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!finch-post-11.mail.demon.net!pierrot.demon.co.uk!pierrot.co.uk!tez@pierrot.co.uk
X-Lan-Trace: news.pierrot.lan 20010306.192301 news:1daa IDENT tez@pierrot.demon.co.uk
User-Agent: tin/1.4.3-20000502 ("Marian") (AMIGA)
X-Cancel-Lock: TEZT:6d84f4bf3bce2cb18288492c2bd2dbd1 296f9c1d1d578c53dcda71b0ab63b7ce
X-PGP-Keyfile: <URL:http://www.pierrot.co.uk/pgpauth/>
X-PGP-Fingerprint: 20 66 0F E8 85 64 9C 2C 6F 82 6F 19 6C 2F 6A 1D
X-PGP-Auth: pub 512/3A14C4B9 1999/04/22 Tez Boyes <tez@pierrot.co.uk> iQBVAwUBOqU5G0Xush46FMS5AQGSlgH/VFDLmw0kBetqMik3Axkf7Cy1ICqF+Gzc 9zIdvHJ+15Kb+OGC5JAgIR4l+g/wreHobbtOs3VVQGsQj43Y3weCbw== =f6GH
X-NaMLServ: $VER: v0.9b <tez@pierrot.co.uk>
Lines: 33