🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Brian Thu, 04 Dec 1997 00:00
ordering sites in newsfeeds
#24006
Author: Brian
Date: Thu, 04 Dec 1997 00:00
40 lines
2181 bytes
I have a question regarding the ordering of sites in
/var/news/etc/newsfeeds.

When an article comes in, is it sequentially sent to what you have in
newsfeeds, or is it done in paralell?

For example, let say I have "ME, overchan!, NoCeM!, gfilter!, uunet"

Is there ANY advantage to having say your ME entry first, followed by spam
blockers, then actual sites?  If it were fed sequentially, then I could
see that, since spam filters will kill the article before its sent
anywhere else.....yet if its down in parallel, then I really don't see an
advantage.

I had heard re-ordering sites in newsfeeds can help things.  If so, can
someone kind of explain why?  For example, how do you order: fast peers,
slow peers, spam filters, ME, innfeed?  And I would think that if order
did matter, than possibly the "order" of spam filtering would matter.

Sorry if this sounds a little basic, I have read the FAQ and alot of other
stuff and never really heard a whole lot mentioned on it, yet I have heard
a comment or two about the "ordering" of newsfeeds, and was just curious
as to the reasoning.


Brian


/-------------------------- signal@shreve.net -----------------------------\
| Brian Feeny                | USR TC Hubs | ShreveNet Inc. (318)222-2638  |
| Systems Administrator      | Perl, Linux | Web hosting, online stores,   |
| ShreveNet Inc.             |  USR Pilot  | Dial-Up 14.4-56k, ISDN & LANs |
| 89 CRX DX w/MPFI, lots of  |-=*:Quake:*=-| http://www.shreve.net/        |
| mods/Homepage coming soon  |LordSignal/SN| Quake server: 208.206.76.3    |
\-------------------------- 318-222-2638 x109 -----------------------------/



Re: ordering sites in newsfeeds
#24041
Author: Jerry Aguirre
Date: Fri, 05 Dec 1997 00:00
31 lines
2242 bytes
In article <Pine.LNX.3.96.971204205924.32094A-100000@mercury.shreve.net>,
Brian   <signal@shreve.net> wrote:
>Is there ANY advantage to having say your ME entry first, followed by spam
>blockers, then actual sites?  If it were fed sequentially, then I could
>see that, since spam filters will kill the article before its sent
>anywhere else.....yet if its down in parallel, then I really don't see an
>advantage.

I don't think that the order in the newsfeeds has anything to do with how
it gets processed.  Inn does NOT sequence thru the newsfeeds file looking
at "ME", sitea, siteb, etc. for each article it processes.  Instead the
newsfeeds and active are used to structures in memory.  The matching of
articles to subscriptions involves setting a flag.  Later it looks at
all the entries to see which ones have that flag set and then does the
associated processing.  The reason do do this is that all the expression
processing, alt.*,*.d, is done only once when the newsfeeds file is parsed
at startup.  After that only direct comparisons of newsgroups to active
file entries is done.

And even if there were some particular order you need to remember that innd
does not send any articles anywhere.  All it does is write the pathname.
As what it writes to is buffered it sequences thru all the outgoing feeds
very quickly writing the necessary information.  How quicly they processes
it is going to depend on the type of feed, the backlog, and other such
factors, not the order that innd wrote them.

So put your innfeed sites in the order that makes it easiest for you
to maintain.  It is not going to effect performance.

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