Article View: news.software.nntp
Article #51044Re: tracking responses to my post....
From: Anand Gupta
Date: Wed, 07 Mar 2001 10:16
Date: Wed, 07 Mar 2001 10:16
45 lines
2793 bytes
2793 bytes
Scanning can be done using XPAT, right ? On the other hand, how would we get the server to trigger an alert automatically when a message arrives either through feed or as a direct posting. I believe this would be hard... On Tue, 06 Mar 2001 19:23:01 +0000 (GMT), tez@pierrot.co.uk (Terrance Richard Boyes) wrote: >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:
<3aa5edba.10819553@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-02!supernews.com!feed1.uncensored-news.com!news.alt.net!usenetReferences:
<3aa3e1f4.3238074@news.alt.net> <1ept2vh.2sff0d15xrbacN%planb@newsreaders.com> <3aa45c9a.34654336@news.alt.net> <20010306.192301.9E9801DE.1daa@pierrot.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <3aa5edba.10819553@news.alt.net> Subject: Re: tracking responses to my post.... Date: Wed, 07 Mar 2001 10:16:28 GMT From: prence@aclindia.net (Anand Gupta) References: <3aa3e1f4.3238074@news.alt.net> <1ept2vh.2sff0d15xrbacN%planb@newsreaders.com> <3aa45c9a.34654336@news.alt.net> <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-02!supernews.com!feed1.uncensored-news.com!news.alt.net!usenet Newsgroups: news.software.nntp,news.software.readers Organization: Altopia Corp. - Usenet Access - http://www.altopia.com Lines: 44 Reply-To: prence@aclindia.net X-Newsreader: Forte Free Agent 1.21/32.243