Thread View: news.software.nntp
10 messages
10 total messages
Started by Larry J. Blunk
Fri, 17 May 1996 00:00
Newsgroup database for IHAVE feed sites
Author: Larry J. Blunk
Date: Fri, 17 May 1996 00:00
Date: Fri, 17 May 1996 00:00
25 lines
1482 bytes
1482 bytes
I was wondering if anyone has considered using a database (dbz) for newsgroups rather than wildmat patterns in the newsfeeds file. This could potentially offer much finer grain control over which groups are sent (without having to resort to very lengthy and inefficient wildmat patterns). Assuming one developed a mechanism for the downstream site to notify the sending feed of which groups it wanted (based on user demand) one could do something akin to the "sucking" style news servers but in a more efficient manner. There are also feeds I have right now which accept a somewhat limited, but heirarchy diverse set of groups. Trying to encode this into a wildmat pattern is a nightmare and would result in something very long and inefficient. I would like to be able to just do a "list" to get the groups in their active file and put this in a database. -- ------------------- Larry J. Blunk Merit Network, Inc.
Re: Newsgroup database for IHAVE feed sites
Author: Mark Turner
Date: Fri, 17 May 1996 00:00
Date: Fri, 17 May 1996 00:00
28 lines
1647 bytes
1647 bytes
In article <4ni6kv$p9m@lastactionhero.rs.itd.umich.edu>, Larry J. Blunk <ljb@merit.edu> wrote: > > There are also feeds I have right now which accept a somewhat > limited, but heirarchy diverse set of groups. Trying to > encode this into a wildmat pattern is a nightmare and would result > in something very long and inefficient. I would like to be > able to just do a "list" to get the groups in their active > file and put this in a database. Apart from maybe a slightly longer startup time for innd there seems to be no problem with having *very* large entries in the newsfeeds file. We (speaking with my PIPEX hat on) have lots of entries that have several thousand lines/patterns and see no significant difference in performance compared with machines with much simpler newsfeeds. For each newsgroup, innd builds a list of sites that should be fed the group. This happens once at startup, and whenever the newsfeeds file is reloaded. If you're interested in the details take a look in the INN source, specifically innd/newsfeeds.c. Cheers, Mark.
Re: Newsgroup database for IHAVE feed sites
Author: Mark Turner
Date: Fri, 17 May 1996 00:00
Date: Fri, 17 May 1996 00:00
25 lines
1468 bytes
1468 bytes
In article <4niaul$r1s@lastactionhero.rs.itd.umich.edu>, Larry J. Blunk <ljb@merit.edu> wrote: > > Oops. Nevermind. I should have looked at the code first before > making assumptions about how it worked. I would add that support for an > "include file" directive for the pattern might be nice. Either that or something like: ctlinnd reload <keyword-that-means-just-one-feed> <feed> <reason> The point is that it shouldn't need a "close, drop, reread, open all feeds" cycle to make a small change that only affects one feed. Also nice would be a scheme where a central server could add, remove or change feeds on other servers via a TCP connection. I'm thinking more along the lines of one admin controlling his own servers rather than a customer or peer controlling his feed from you. Cheers, Mark.
Re: Newsgroup database for IHAVE feed sites
Author: Larry J. Blunk
Date: Fri, 17 May 1996 00:00
Date: Fri, 17 May 1996 00:00
38 lines
2063 bytes
2063 bytes
Mark Turner (mark@kram.org) wrote:
: In article <4ni6kv$p9m@lastactionhero.rs.itd.umich.edu>,
: Larry J. Blunk <ljb@merit.edu> wrote:
: >
: > There are also feeds I have right now which accept a somewhat
: > limited, but heirarchy diverse set of groups. Trying to
: > encode this into a wildmat pattern is a nightmare and would result
: > in something very long and inefficient. I would like to be
: > able to just do a "list" to get the groups in their active
: > file and put this in a database.
:
: Apart from maybe a slightly longer startup time for innd there seems to
: be no problem with having *very* large entries in the newsfeeds file.
: We (speaking with my PIPEX hat on) have lots of entries that have
: several thousand lines/patterns and see no significant difference in
: performance compared with machines with much simpler newsfeeds.
:
: For each newsgroup, innd builds a list of sites that should be fed the
: group. This happens once at startup, and whenever the newsfeeds file is
: reloaded. If you're interested in the details take a look in the INN
: source, specifically innd/newsfeeds.c.
:
: Cheers,
:
: Mark.
Oops. Nevermind. I should have looked at the code first before
making assumptions about how it worked. I would add that support for an
"include file" directive for the pattern might be nice.
--
-------------------
Larry J. Blunk
Merit Network, Inc.
Re: Newsgroup database for IHAVE feed sites
Author: Per Hedeland
Date: Sat, 18 May 1996 00:00
Date: Sat, 18 May 1996 00:00
16 lines
1038 bytes
1038 bytes
In article <4nin27$l53@clio.kram.org> mark@kram.org (Mark Turner) writes: >Either that or something like: > > ctlinnd reload <keyword-that-means-just-one-feed> <feed> <reason> You mean, like ctlinnd begin <feed> (OK, so it doesn't take a <reason> arg.:-) --Per Hedeland per@erix.ericsson.se
Re: Newsgroup database for IHAVE feed sites
Author: Joe Greco
Date: Sun, 19 May 1996 00:00
Date: Sun, 19 May 1996 00:00
28 lines
1769 bytes
1769 bytes
In news.software.nntp article <4nn969$33t@paperboy.osf.org>, rsalz@osf.org (Rich Salz) wrote: :Personally, I'm still disappointed that nobody has posted a set of common :management tools for INN. For example, newsfeeds could always be maintained :via a Makefile: : # Makefile for local newsfeeds : ## Each file named in SITES contains the newsfeeds entry/entries : ## for that site. : SITES = uunet ans pipex : : newsfeeds: $(SITES) : cat prolog $(SITES) >newsfeeds : inncheck -pedantic -newsfeeds=newsfeeds || exit 1; : for I in $? ; do ctlinnd reload $$I ; done : :Something like that, anyway. This is just off the top of my head. This is easy to do :-) some of us have been doing it for years with UUCP feeds. I haven't had the need to do this for NNTP feeds, but it would be "trivial" to adapt... ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
Re: Newsgroup database for IHAVE feed sites
Author: Mark Turner
Date: Sun, 19 May 1996 00:00
Date: Sun, 19 May 1996 00:00
22 lines
1188 bytes
1188 bytes
In article <4nl0lv$jkk@euas20.eua.ericsson.se>, Per Hedeland <per@erix.ericsson.se> wrote: > In article <4nin27$l53@clio.kram.org> mark@kram.org (Mark Turner) writes: > >Either that or something like: > > > > ctlinnd reload <keyword-that-means-just-one-feed> <feed> <reason> > > You mean, like > > ctlinnd begin <feed> <gasp> I never knew it reread the newsfeeds file, thanks Per! I've just reread cc.c and newsfeeds.c a few times just to convince myself and am now a happy man. :) Cheers, Mark.
Re: Newsgroup database for IHAVE feed sites
Author: Rich Salz
Date: Sun, 19 May 1996 00:00
Date: Sun, 19 May 1996 00:00
27 lines
1586 bytes
1586 bytes
In <4niaul$r1s@lastactionhero.rs.itd.umich.edu> ljb@merit.edu (Larry J. Blunk) writes: > I would add that support for an >"include file" directive for the pattern might be nice. Someone at WU St. Louis was working on a curses/gui at one point. Personally, I'm still disappointed that nobody has posted a set of common management tools for INN. For example, newsfeeds could always be maintained via a Makefile: # Makefile for local newsfeeds ## Each file named in SITES contains the newsfeeds entry/entries ## for that site. SITES = uunet ans pipex newsfeeds: $(SITES) cat prolog $(SITES) >newsfeeds inncheck -pedantic -newsfeeds=newsfeeds || exit 1; for I in $? ; do ctlinnd reload $$I ; done Something like that, anyway. This is just off the top of my head. (At one point I think I had a patch that made innd understand #! for newsfeeds. I won't say which luminary sent it to me. :) /r$
Re: Newsgroup database for IHAVE feed sites
Author: Odd Einar Aurbakken
Date: Sun, 19 May 1996 00:00
Date: Sun, 19 May 1996 00:00
11 lines
1030 bytes
1030 bytes
In article <4niaul$r1s@lastactionhero.rs.itd.umich.edu>, ljb@merit.edu (Larry J. Blunk) writes: > I would add that support for an > "include file" directive for the pattern might be nice. Just use a suitable preprocessor, like m4. With the right makefile to run m4 and ctlinnd checkfile and such it works like a charm. -oea
Re: Newsgroup database for IHAVE feed sites
Author: Heiko W.Rupp
Date: Tue, 21 May 1996 00:00
Date: Tue, 21 May 1996 00:00
21 lines
1402 bytes
1402 bytes
Fine to see you posting more often these days... In <4nn969$33t@paperboy.osf.org>, Rich Salz wrote: :| :|Personally, I'm still disappointed that nobody has posted a set of common :|management tools for INN. For example, newsfeeds could always be maintained :|via a Makefile: We run gup with much success here (with my xlink hat on). On the other hand there are management tools - they call them selfes Netscape Commercial server (did they send you a postcard?) -- Heiko W.Rupp Gerwigstr.5 D-76131 Karlsruhe +49 721 9661524 Und wenn das bei den Maedels mit dem Job nicht funktioniert dann werdn die Haare hochtupiert und die Naegel rot lakiert alles gut ausstaffiert und der Rest prostituiert (Die fantastischen 4)
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