Thread View: news.software.nntp
13 messages
13 total messages
Started by John J. Sawa
Tue, 14 Jan 1997 00:00
INNFEED feeding a server in slave mode?
Author: John J. Sawa
Date: Tue, 14 Jan 1997 00:00
Date: Tue, 14 Jan 1997 00:00
18 lines
1020 bytes
1020 bytes
I have just upgraded to 1.5.1 and would like to use innfeed instead of nntplink. I am trying to feed a server which I currently run in slave mode. Does innfeed support this? Do I need to specify any special flags in order to replicate all the message headers? If I can't use innfeed to feed a server in slave mode what would be a typical entry in the conf file? Thank you for all your help in advance John J. Sawa jsawa@delta.net Delta Internet Services
Re: INNFEED feeding a server in slave mode?
Author: Per Hedeland
Date: Wed, 15 Jan 1997 00:00
Date: Wed, 15 Jan 1997 00:00
27 lines
1832 bytes
1832 bytes
In article <yy3d8v6lnb5.fsf@velo.pp.vix.com> James Brister <brister@vix.com> writes: >jsawa@deltanet.com (John J. Sawa) writes: > >> I have just upgraded to 1.5.1 and would like to use innfeed instead of >> nntplink. I am trying to feed a server which I currently run in slave >> mode. Does innfeed support this? Do I need to specify any special >> flags in order to replicate all the message headers? > >innfeed doesn't do this as the plan is to do away with the XREPLIC >extension and have INN handle slaving internally (Xref header parsing). >I may be able to send out some patches written by someone else that will >add XREPLIC. You probably don't want to use innfeed for a slave feed in any case as it tends to reorder articles if the slave falls behind at all - once a backlog file has been created, new articles get "prioritized" over backlogged ones. This is a good policy in general, but in case of a slave feed you get "holes" in the numbering which are filled later, and newsreaders tend to not be able to deal with that... (no surprise). Use nntpsend/innxmit (without sorting!:-) or nntplink in "batchfile mode". --Per Hedeland per@erix.ericsson.se
Re: INNFEED feeding a server in slave mode?
Author: James Brister
Date: Wed, 15 Jan 1997 00:00
Date: Wed, 15 Jan 1997 00:00
20 lines
1392 bytes
1392 bytes
jsawa@deltanet.com (John J. Sawa) writes: > I have just upgraded to 1.5.1 and would like to use innfeed instead of > nntplink. I am trying to feed a server which I currently run in slave > mode. Does innfeed support this? Do I need to specify any special > flags in order to replicate all the message headers? innfeed doesn't do this as the plan is to do away with the XREPLIC extension and have INN handle slaving internally (Xref header parsing). I may be able to send out some patches written by someone else that will add XREPLIC. I'll ask the author if he wants to distribute them, or will let me. James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org/isc inn@isc.org
Re: INNFEED feeding a server in slave mode?
Author: Justin Zaglio
Date: Thu, 16 Jan 1997 00:00
Date: Thu, 16 Jan 1997 00:00
40 lines
1958 bytes
1958 bytes
>>>>> "james" == James Brister <brister@vix.com> writes:
james> innfeed doesn't do this as the plan is to do away with the
james> XREPLIC extension and have INN handle slaving internally
james> (Xref header parsing). I may be able to send out some
james> patches written by someone else that will add XREPLIC. I'll
james> ask the author if he wants to distribute them, or will let
james> me.
I wrote up a set of patches to do this--see below (I'm the author
James mentions above). There are also some cosmetic changes in with
them, and some additions to the innfeed.conf.5 manpage to handle the
new field.
The diffs are against a clean 0.9.3 distribution. The only change you
need to make is to add a twelfth field to the slave machine's line in
your innfeed.conf file (and to add a 'false'--probably--to the end of
the default line).
There are no guarantees with this patch. It has been working fine
here for almost a week now, but, of course, YMMV.
Let me know if you have problems or suggestions.
justin
--
Justin Zaglio justin@columbia.edu
UNIX Systems Group Columbia University
======================================================================
begin 660 innfeed-xreplic.patch
<uuencoded_portion_removed>
8(&AO<W1N86UE.B E<R Z("5S(@H@"B *
end
Re: INNFEED feeding a server in slave mode?
Author: Mark Turner
Date: Fri, 17 Jan 1997 00:00
Date: Fri, 17 Jan 1997 00:00
38 lines
2186 bytes
2186 bytes
Justin Zaglio <justin@columbia.edu> wrote: > > No, it doesn't. It's mostly just a quick hack I did to see if it > _could_ be done and to see how well it would work out. At the time I > had just converted all my nntplink downstream sites to innfeed and > kind of liked the idea that _all_ of my downstream sites--including my > slave machine--could be innfed. :-) Fair enough. :) > Keeping them in strict as-received-on-the-master-machine order would > defeat the nice backlog-handling features of innfeed, no? As it is Yes, it would defeat the backlog handling. That's what made me wonder why you'd added it to innfeed. > here, both the master and slave are Ultras and the slave is accepting > feeds only from the master, so it backlogs articles only _very_ > rarely. But "very rarely" is too often when it could cause problems for thousands of customers. I don't think it's a real solution unless it works on the overloaded machines that many news admins have to use. > I'm open to suggestions, of course, but I see this hack as only a > temporary measure until James releases the next inn with Xref parsing. I don't see how adding Xref parsing to innd will solve the problem as it would still require articles to arrive in the correct order otherwise the server would be "backfilling". I *think* it was recently agreed on the IETF nntp mailing lists that backfilling was a bad idea. Cheers, Mark.
Re: INNFEED feeding a server in slave mode?
Author: Justin Zaglio
Date: Fri, 17 Jan 1997 00:00
Date: Fri, 17 Jan 1997 00:00
25 lines
1694 bytes
1694 bytes
>>>>> "mark" == Mark Turner <markt@uunet.pipex.com> writes:
mark> Does your patch ensure that articles on slave feeds arrive
mark> in the correct order, i.e. in the same order as they arrived
mark> on the feeding machine?
No, it doesn't. It's mostly just a quick hack I did to see if it
_could_ be done and to see how well it would work out. At the time I
had just converted all my nntplink downstream sites to innfeed and
kind of liked the idea that _all_ of my downstream sites--including my
slave machine--could be innfed. :-)
Keeping them in strict as-received-on-the-master-machine order would
defeat the nice backlog-handling features of innfeed, no? As it is
here, both the master and slave are Ultras and the slave is accepting
feeds only from the master, so it backlogs articles only _very_
rarely.
I'm open to suggestions, of course, but I see this hack as only a
temporary measure until James releases the next inn with Xref parsing.
justin
Re: INNFEED feeding a server in slave mode?
Author: Mark Turner
Date: Fri, 17 Jan 1997 00:00
Date: Fri, 17 Jan 1997 00:00
15 lines
1007 bytes
1007 bytes
Justin Zaglio <justin@columbia.edu> wrote: > > I wrote up a set of patches to do this--see below (I'm the author > James mentions above). Does your patch ensure that articles on slave feeds arrive in the correct order, i.e. in the same order as they arrived on the feeding machine? Cheers, Mark.
Re: INNFEED feeding a server in slave mode?
Author: James Brister
Date: Mon, 20 Jan 1997 00:00
Date: Mon, 20 Jan 1997 00:00
45 lines
2579 bytes
2579 bytes
markt@uunet.pipex.com (Mark Turner) writes: > > Justin Zaglio <justin@columbia.edu> wrote: > > > > No, it doesn't. It's mostly just a quick hack I did to see if it > > _could_ be done and to see how well it would work out. At the time I > > had just converted all my nntplink downstream sites to innfeed and > > kind of liked the idea that _all_ of my downstream sites--including my > > slave machine--could be innfed. :-) > > Fair enough. :) I will be looking into what's required to make innfeed handle articles in strict FIFO order for those that want it. It will mean heavier I/O as there will be a point if/when the backup gets big enough where every article transmission request requires writing that article data to disk and pulling the next article info off of the disk. > Yes, it would defeat the backlog handling. That's what made me wonder > why you'd added it to innfeed. It's still useful as I suspect a lot of sites running masters have good connections to the slaving peers, so backlogs are typically less of an issue than when feeding some other unrelated site. > But "very rarely" is too often when it could cause problems for > thousands of customers. I don't think it's a real solution unless it > works on the overloaded machines that many news admins have to use. To be 100% correct about this when running a slave, you would have to turn off parallel feeds and feed articles strict FIFO order. This means that unless the peer can keep up 100%, and infact get ahead whenever recovering from something that interrupts the news flow for a while, a slave machine will always be getting further and further behind. Running parallel feeds and out of order means there's a risk of backfilling occuring (which is bad, but the only other alternative is to just throw the articles away) James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org/isc inn@isc.org
Re: INNFEED feeding a server in slave mode?
Author: Mark Turner
Date: Tue, 21 Jan 1997 00:00
Date: Tue, 21 Jan 1997 00:00
34 lines
2237 bytes
2237 bytes
James Brister <brister@vix.com> wrote: > > I will be looking into what's required to make innfeed handle articles in > strict FIFO order for those that want it. It will mean heavier I/O as there > will be a point if/when the backup gets big enough where every article > transmission request requires writing that article data to disk and pulling > the next article info off of the disk. I agree that many of the benefits of innfeed would be lost, and still wonder whether innfeed is the right tool for slave feeds. It would be nice to have one feeding tool for all jobs, but is the overhead required to cope with this likely to adversely effect "normal" operation? > To be 100% correct about this when running a slave, you would have to turn > off parallel feeds and feed articles strict FIFO order. This means that > unless the peer can keep up 100%, and infact get ahead whenever recovering > from something that interrupts the news flow for a while, a slave machine > will always be getting further and further behind. Running parallel feeds > and out of order means there's a risk of backfilling occuring (which is > bad, but the only other alternative is to just throw the articles away) Why do you have to throw away the benefits of parallel feeds in order to maintain strict FIFO order? As long as the final dots are sent in the right order the articles should still arrive in the right order. Ooops, I may have given a trade secret away there. ;) Cheers, Mark.
Re: INNFEED feeding a server in slave mode?
Author: Justin Zaglio
Date: Tue, 21 Jan 1997 00:00
Date: Tue, 21 Jan 1997 00:00
17 lines
1079 bytes
1079 bytes
me> There are no guarantees with this patch. It has been working
me> fine here for almost a week now, but, of course, YMMV.
Uh-oh. I discovered a problem with the patch this morning, so I would
advise any of you using it to back off to innxmit or nntplink or
nntpsend, etc.
I'm not sure how to get around this one easily, but I'll look at it
(how to deal with xref's).
Thanks.
justin
Re: INNFEED feeding a server in slave mode?
Author: bill davidsen
Date: Tue, 21 Jan 1997 00:00
Date: Tue, 21 Jan 1997 00:00
27 lines
1747 bytes
1747 bytes
In article <iumoheoo1cd.fsf@banzai.cc.columbia.edu>, Justin Zaglio <justin@columbia.edu> wrote: | Keeping them in strict as-received-on-the-master-machine order would | defeat the nice backlog-handling features of innfeed, no? As it is | here, both the master and slave are Ultras and the slave is accepting | feeds only from the master, so it backlogs articles only _very_ | rarely. Backlogs are a fact of life in a large shop. Machines go down, routers go on vacation, etc. | I'm open to suggestions, of course, but I see this hack as only a | temporary measure until James releases the next inn with Xref parsing. There's another advantage to Xref parsing, it allows slave feeds of compressed batches so slaves can exist without a realtime connection to the master. You *can* get there from here now, but it isn't a drop-in feature by any means. -- -bill davidsen (davidsen@tmr.com) "As a software development model, Anarchy does not scale well." -Dave Welch
Re: INNFEED feeding a server in slave mode?
Author: Clayton O'Neill
Date: Wed, 29 Jan 1997 00:00
Date: Wed, 29 Jan 1997 00:00
26 lines
1509 bytes
1509 bytes
On 21 Jan 1997 21:00:39 GMT, bill davidsen <davidsen@tmr.com> wrote: >There's another advantage to Xref parsing, it allows slave feeds of >compressed batches so slaves can exist without a realtime connection >to the master. You *can* get there from here now, but it isn't a >drop-in feature by any means. You can get a copy of my Xref-Slave patches to 1.4unoff4 at http://www.news.erols.com/patches. We've been running them in production for several months now with no problems. As far as feeding reader machines go, we've set up 4 feeds to the reader machines 1 - * 2 - erols.* 3 - *, H3 4 - control.cancel* This works well for us and gives our customers a turn around on new posts even if we're backlogged. Clayton O'Neill Erol's News Administrator
Re: INNFEED feeding a server in slave mode?
Author: R.D. Thrush
Date: Wed, 29 Jan 1997 00:00
Date: Wed, 29 Jan 1997 00:00
38 lines
1909 bytes
1909 bytes
FWIW, I've converted the Xref-Slave patches to inn-1.5.1. They are available at ftp://ftp.magicnet.net/pub/news/xrefslave-1.5.1.diff. I've been using them with my slave reader machines successfully for the past month. The Xref-Slave patches allow streaming to the slave machines which increases performance over the xreplic protocol. Many thanks to Clayton O'Neill for making these patches available. >>>>> "c" == Clayton O'Neill <coneill@oneill.net> writes: c> On 21 Jan 1997 21:00:39 GMT, bill davidsen <davidsen@tmr.com> wrote: >> There's another advantage to Xref parsing, it allows slave feeds of >> compressed batches so slaves can exist without a realtime connection >> to the master. You *can* get there from here now, but it isn't a >> drop-in feature by any means. c> You can get a copy of my Xref-Slave patches to 1.4unoff4 at c> http://www.news.erols.com/patches. We've been running them in production c> for several months now with no problems. As far as feeding reader machines c> go, we've set up 4 feeds to the reader machines c> 1 - * c> 2 - erols.* c> 3 - *, H3 c> 4 - control.cancel* c> This works well for us and gives our customers a turn around on new posts c> even if we're backlogged. c> Clayton O'Neill c> Erol's News Administrator -- Bob Thrush rd@magicnet.net
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