Thread View: news.software.nntp
3 messages
3 total messages
Started by Robert Haig
Mon, 20 May 1996 00:00
Dynamic expire times
Author: Robert Haig
Date: Mon, 20 May 1996 00:00
Date: Mon, 20 May 1996 00:00
13 lines
873 bytes
873 bytes
I'm working on writing a perl script that would change the expire times of groups based on their average readership over the last X days. I'm curious how my runtime for expire will be affected if I go from a 50 line expire.ctl to an 800 line expire.ctl. thanks for the input -- Rob
Re: Dynamic expire times
Author: Andreas Ley
Date: Tue, 21 May 1996 00:00
Date: Tue, 21 May 1996 00:00
18 lines
1460 bytes
1460 bytes
In article <4nqr22$11p6@ausnews.austin.ibm.com>, rhaig@austin.ibm.com (Robert Haig) writes: |> I'm curious how my runtime for expire will be affected if I go from a |> 50 line expire.ctl to an 800 line expire.ctl. Plus one second to read and parse the expire.ctl. Internally it's a newsgroup based array, expire.ctl length makes no difference at all. Bye, Andy ------------------------------------------------------------------------------- Andreas Ley ! "Even when you're ! Email: ley@rz.uni-karlsruhe.de Goethestr. 27 ! a genius, life is ! Voice: +49 721 84 10 36 76135 Karlsruhe ! a mystery!" ! RZ: +49 721 608 4038 Germany ! Doogie Howser, M.D. ! AKK: +49 721 96 403 22
Re: Dynamic expire times
Author: Dave Sill
Date: Tue, 21 May 1996 00:00
Date: Tue, 21 May 1996 00:00
55 lines
2686 bytes
2686 bytes
-----BEGIN PGP SIGNED MESSAGE----- In article <4nqr22$11p6@ausnews.austin.ibm.com> rhaig@austin.ibm.com (Robert Haig) writes: > I'm working on writing a perl script that would change the expire > times of groups based on their average readership over the last X > days. Good idea, but it's already been done: # Active Groups -- Detecting actively accessed news groups and setting # expire.ctl accordingly $progname = "actgroups"; $version = "Ver 0.03b, 18 August 1994"; $author = "Yufan Hu <Y.Hu@ulst.ac.uk>"; require 'getopts.pl'; # Usage: run actgroups everyday before expire starts. You can put it # in the crontab to start it before news.daily. It is essential to # run actgroups before the news.notices file is moved to OLD and # gets compressed. # Or: # actgroups -l logfile # for initialising the active group database # The log file and expire.ctl file are assumed to be of INN 1.4 # Other options are: # -d turn on debugging # -m mail results to news user # -h do not keep a "hosts" log # # Copyright: Copyrighted by Yufan Hu <Y.Hu@ulst.ac.uk>, 1994 # # Disclaim: Use it at your own risk. > I'm curious how my runtime for expire will be affected if I go from a > 50 line expire.ctl to an 800 line expire.ctl. Mine's 1100 lines and I haven't noticed it taking significantly longer. -----BEGIN PGP SIGNATURE----- Version: 2.7.1 Comment: Processed by Mailcrypt 3.3, an Emacs/PGP interface iQEVAwUBMaIES6eaUEng/PKPAQGN9Af+NmB3Iy+nWWvAoQ6/CzrVU/ZpRDcyCc+I XUqN9le/A/piKqeS+077MJKV5SUsGXrD6WoypehIMAmhduzrZa0+5uaCdJI0BlOZ +CjuR1EXRMH4/GRTeMj8Y1Xe9QgyQwA6EvfVAPoYgeR0pjyCleIZt9BCuyyjqTOD WzKALthbvZDHyMwQ197ccl62HhWU6t5gqBvi0C2ya5yOYh+jL4u2Q9AGpGb4Yrbz h1ewOQpVdjGQ+GDwkjjRdmwXzB5HMjKqNYJeVg+jswsI7cIMk9utY9tNvYvHmegf 7keGDJpDzUQJ4tUxsl4eZk3Mj0EPsp9JYFVUiAVzBreXU4al9jBECw== =TDWZ -----END PGP SIGNATURE-----
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads