Article View: news.software.nntp
Article #1910Re: Periodic sorting of active file needed
From: Mark Delany
Date: Sat, 05 Jun 1993 02:18
Date: Sat, 05 Jun 1993 02:18
32 lines
2069 bytes
2069 bytes
In <1unlev$89n@nickerson.keps.com> ghn@keps.com (Gary Newman x6668) writes: >Should the news transport system, or the news reader sort the >active file? >The reason this is an issue is that the newsreader I use (TIN 1.20) >displays a menu of newsgroups for possible subscription in the order >they appear in the active file. With the roughly 2,000 news groups .. > [doesn't] >make much sense to me to have each client process busily sorting >the same 2,000 item list over and over again when an insertion >sort in the transport system should do the trick. Well, you can do this with INN in a rough fashion. Eg, have a cron job that shuts down INN, sorts the active file and restarts INN. You can't do it while INN is running as 'throttle' doesn't leave the active file closed. A quick look at CCblock() suggests that changing ICDwrite() to ICDclose(); ICDneedsetup=TRUE; would do the trick, but I'm certain I don't understand the full implications of this. A pity really, it would be nice if 'throttle' did flush/close the active file in conjunction with the history file. -- Mark Delany markd@bushwire.apana.org.au
Technical Details
Message-ID:
<1uovpt$km@bushwire.apana.org.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!agate!dog.ee.lbl.gov!network.ucsd.edu!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!bushwire.apana.org.au!not-for-mailReferences:
<1unlev$89n@nickerson.keps.com>Show Full Headers
Complete Article Headers
Message-ID: <1uovpt$km@bushwire.apana.org.au> Subject: Re: Periodic sorting of active file needed Date: Sat, 05 Jun 1993 02:18:37 +0000 From: markd@bushwire.apana.org.au (Mark Delany) References: <1unlev$89n@nickerson.keps.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!agate!dog.ee.lbl.gov!network.ucsd.edu!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!bushwire.apana.org.au!not-for-mail Newsgroups: news.software.readers,news.software.nntp Organization: APANA regional feed site - Melbourne, Australia. Lines: 32 Distribution: inet NNTP-Posting-Host: bushwire.apana.org.au