Thread View: news.software.nntp
4 messages
4 total messages
Started by Allan Joergensen
Wed, 08 Jul 1998 00:00
DNews
Author: Allan Joergensen
Date: Wed, 08 Jul 1998 00:00
Date: Wed, 08 Jul 1998 00:00
14 lines
1048 bytes
1048 bytes
I have a few questions concerning Dnews: Is there a way of syncing four Dnews server (article-wise, I want the four servers to have the same article numbers)? Why is the dnews.conf argument "post_ahead" not on Winsite's Dnews pages? Does Dnews have the ability to add the X-Trace header to articles posted on the server? -- Allan "[DW]" Joergensen - <URL:http://www.nowhere.dk> Public PGP key: <URL:http://www.nowhere.dk/special/dw.asc> Key fingerprint = 67E1 96F1 49F5 537E 3A07 D9C8 39F9 50D1 D1AD 479D
Re: DNews
Author: Timothy J. Miller
Date: Wed, 08 Jul 1998 00:00
Date: Wed, 08 Jul 1998 00:00
26 lines
1792 bytes
1792 bytes
dw@nowhere.dk (Allan Joergensen) writes: > We have X Dnews boxes (where X is an increasing number), that is feed > by a Diablo backbone feeder wich is feed by a Cyclone server. > So what I want to do is: Syncing the Dnews boxes with each other (thru > the Diablo server?) This can also be done by XREPLIC, but bear in mind that this will only be semi-stable. This is because expire times (and expiry itself) on DNews is sensitive to server load and cached groups. Over time, the contents of the spools *will* diverge, both in terms of recent arrivals and retained posts. We see this daily with our DNews reader boxes; the most heavily loaded usually takes far longer to expire, leading to large backlogs that can take many hours to clear. This is definitely Not What You Want. The users *will* complain. -- Cerebus <tmill06@ibm.net> "No one's jumped off the top of the [Windows] building here, so I guess that's a pretty good indicator that it can't be all that bad." -- Rob Bennett, Microsoft group product manager.
Re: DNews
Author: Matt Dillon
Date: Wed, 08 Jul 1998 00:00
Date: Wed, 08 Jul 1998 00:00
82 lines
4849 bytes
4849 bytes
:In article <87ww9oe8xo.fsf@ibm.net>, Timothy J. Miller <tmill06@ibm.net> wrote:
:>dw@nowhere.dk (Allan Joergensen) writes:
:>
:>> We have X Dnews boxes (where X is an increasing number), that is feed
:>> by a Diablo backbone feeder wich is feed by a Cyclone server.
:>
:>> So what I want to do is: Syncing the Dnews boxes with each other (thru
:>> the Diablo server?)
:>
:> This can also be done by XREPLIC, but bear in mind that this will
:>only be semi-stable. This is because expire times (and expiry itself) on
:>DNews is sensitive to server load and cached groups. Over time, the
:>contents of the spools *will* diverge, both in terms of recent arrivals
:>and retained posts. We see this daily with our DNews reader boxes; the
:>most heavily loaded usually takes far longer to expire, leading to large
:>backlogs that can take many hours to clear.
:>
:> This is definitely Not What You Want. The users *will*
:>complain.
:>
:>--
:>Cerebus <tmill06@ibm.net>
:>"No one's jumped off the top of the [Windows] building here, so I guess
:> that's a pretty good indicator that it can't be all that bad."
:> -- Rob Bennett, Microsoft group product manager.
I'm not totally familiar with DNews, but in order to keep multiple readers
synchronized in general, the readers must support slaved Xref: headers.
What you then do is have some master supply the Xref: headers and all
the slaves set their absolute article numbers based on the Xref: header
received along with the article. The slave news reader machines also
have to send POST's *back* to the master without posting the article
locally in order to allow the master to assign the article number.
Now, what should the 'master' be? Good question! INN will certainly
work. The Diablo feeder can master Xref: headers as long as you use
dsyncgroups to keep it's dactive.kp file synchronized in regards to
group creation and deletion to some other box (the diablo does not
process control messages, only the diablo reader does that).
Another solution is the combination of the diablo feeder & reader (both
running on the same box), where you setup the feeder to do the article
Xref: mastering and the reader to handle control messages and keep
the dactive.kp file up to date (the reader operating in a slave mode
so it doesn't compete with the master in regards to assigning article
numbers). I do not consider this combination 'production' yet, oweing
to the fact that the reader is not yet production quality. It's very
close, but not 100% there.
--
I would like more people to start playing with diablo's reader code. I
need more feedback :-) If you don't trust it you can *still* run it by
slaving it off an INN box or something, using dsyncgroups to keep it's
local version of the active file in sync with INN's in regards to
group creation and deletion. dreaderd has no problem using INN (or
any other box that supports 'article <message-id>') as a spool cache
so the resources required on the reader machine would be minimal. If you
are using INN as the spool backing store, though, you have to configure
it so the nnrpd's don't slow down under heavy activity and to never cache
a copy of the history file's hash table since dreaderd always accesses
remote spool's by message-id, not by group/articleno.
The latest test release, diablo-1.16-test7 is now available on my site:
http://www.backplane.com/diablo/
The test8 release, which will be ready in a day or two, will fix another
big bug in the reader associated with how it deals with the situation
where the 'last' backing spool connection dies, leaving dreaderd with
no spool to fetch articles from. At the moment it returns
article-not-available which can blow up a reader, causing it to 'catch up'
the group.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: DNews
Author: dball
Date: Wed, 08 Jul 1998 00:00
Date: Wed, 08 Jul 1998 00:00
66 lines
3481 bytes
3481 bytes
On 8 Jul 98 09:36:58 GMT, dw@nowhere.dk (Allan Joergensen) wrote: >I have a few questions concerning Dnews: > >Is there a way of syncing four Dnews server (article-wise, I want the >four servers to have the same article numbers)? Yes. you designate one as the master and have it send xreplic feeds to the others. In the newsfeeds.conf on the master, use the xreplic modifier on the feeds to the slaves. On the slaves, set 'postonly true' in dnews.conf. Below is a quote from the manual on the xreplic feed modifier. Of course, you first have to figure out that xreplic is what you're looking for *grin*..... I learned about it from the Dnews mailing list.... It's probably in there somewhere.. FWIW, they've actually been improving the manual lately. --- quoted paragraph --- This is a modifier for a live feed, it makes dnews send out replicating feed. A replicating feed is one that matches article numbers on each slave so that the servers are 'identical' from the users perspective. You should use 'postonly true' in dnews.conf on the slave server. ---- end quote --- BTW, "postonly true" causes the slaves to send local posts to the master so they can be added to the master database and get assigned article numbers. The article will not show up on the slave until the master sends it back out the xreplic feed. I've never tried an xreplic feed so I could be leaving something out, but I think this is enough to get you started. > >Why is the dnews.conf argument "post_ahead" not on Winsite's Dnews pages? I'm not familiar with that one. could you mean the "post_addhead1" thru "post_addhead3" commands. They're documented in the manual section on updates. That section has new features which might not be in the regular part of the manual yet, including docs for beta versions of the server. see http://netwinsite.com/dnews/updates.htm I'm guessing that is the command you actually meant since I noticed that your previous post had a question about adding an x-complaints-to: header and post_addhead1 would be the way to do that. >Does Dnews have the ability to add the X-Trace header to articles posted on the server? Yes. The X-Trace header was added in one of the releases of version 4.6. I just checked something I posted yesterday and it had them. This message was posted on a Dnews 4.6j system running on Linux. It should have an X-Trace header. Hope This Helps. -- David ++++++++++++++++++++++++++++++++++++++++++++++++++++ David Ball Middle Georgia WEB Magazine Homepage: http://www.mid-ga.com/homepage/jdb.html Zine: http://www.mid-ga.com/ (check our SF section) E-mail: dball@mid-ga.com mgweb@mylink.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