Thread View: news.software.nntp
4 messages
4 total messages
Started by Mark Carrington
Sat, 20 Mar 2004 10:45
Xref slaving
Author: Mark Carrington
Date: Sat, 20 Mar 2004 10:45
Date: Sat, 20 Mar 2004 10:45
24 lines
1981 bytes
1981 bytes
Is Xref slaving still a valid method of replicating the articles from one
news server to another?
I ask because of various assertions in the new NNTP draft stating that the
low water mark for a group may never decrease. As far as I can see, there is
no guarantee when using Xref slaving that you will always be able to assign
increasing article numbers. What is stopping articles numbered x and (x+1)
on one server arriving at the slave server in the opposite order?
If they do arrive in the opposite order, what should the low water mark for
the group be at the point when article (x+1) arrives, assuming at that point
that it is the lowest numbered article in the group? If the low water mark
should be (x+1) at that point, should it then be decreased when article x
arrives, or should that article be rejected?
Mark Carrington
mark.carrington@mutantpenguin.co.uk
http://www.mutantpenguin.co.uk/
--
MPNews - host your own newsgroups and access them via the web!
http://www.mpnewsserver.com/
Re: Xref slaving
Author: Russ Allbery
Date: Mon, 17 May 2004 07:28
Date: Mon, 17 May 2004 07:28
38 lines
2873 bytes
2873 bytes
Mark Carrington <mark.carrington@mutantpenguin.co.uk> writes:
> Is Xref slaving still a valid method of replicating the articles from
> one news server to another?
Yes.
> I ask because of various assertions in the new NNTP draft stating that
> the low water mark for a group may never decrease. As far as I can see,
> there is no guarantee when using Xref slaving that you will always be
> able to assign increasing article numbers. What is stopping articles
> numbered x and (x+1) on one server arriving at the slave server in the
> opposite order?
Care. :)
When you're doing Xref slaving, you generally want to be careful to send
out articles in the same order in which they arrived, and you generally
only want to use a single article stream between the servers because of
that.
> If they do arrive in the opposite order, what should the low water mark
> for the group be at the point when article (x+1) arrives, assuming at
> that point that it is the lowest numbered article in the group? If the
> low water mark should be (x+1) at that point, should it then be
> decreased when article x arrives, or should that article be rejected?
In that situation, I think decreasing the low water mark is the least bad
option, but the reason why the NNTP draft says what it does is because
news clients are not required to check for this case or handle it. So
chances are that lower-numbered article will never be seen by a reader
that connected between the arrival of (x+1) and x.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Xref slaving
Author: Mark Carrington
Date: Mon, 17 May 2004 18:45
Date: Mon, 17 May 2004 18:45
34 lines
2551 bytes
2551 bytes
> When you're doing Xref slaving, you generally want to be careful to send
> out articles in the same order in which they arrived, and you generally
> only want to use a single article stream between the servers because of
> that.
So simply implementing Xref slaving in a way that could potentially decrease
the low water mark would not be taken as violating the NNTP standard,
provided care is taken on how it is used?
> In that situation, I think decreasing the low water mark is the least bad
> option, but the reason why the NNTP draft says what it does is because
> news clients are not required to check for this case or handle it. So
> chances are that lower-numbered article will never be seen by a reader
> that connected between the arrival of (x+1) and x.
Decreasing the low-water mark seemed the best option to me, as I didn't
really want to be rejecting articles that were wanted just to comply with
this requirement.
As far as I can tell, Xref slaving would normally only be used in cases
where there are a small number of articles (so the chances of the articles
arriving in a different order are low), or when you are moving from one
server to another (so no readers would be connecting in the middle of the
process).
Mark Carrington
mark.carrington@mutantpenguin.co.uk
http://www.mutantpenguin.co.uk/
--
MPNews - host your own newsgroups and access them via the web!
http://www.mpnewsserver.com/
Re: Xref slaving
Author: Russ Allbery
Date: Mon, 17 May 2004 20:00
Date: Mon, 17 May 2004 20:00
27 lines
2428 bytes
2428 bytes
Mark Carrington <mark.carrington@mutantpenguin.co.uk> writes:
>> When you're doing Xref slaving, you generally want to be careful to
>> send out articles in the same order in which they arrived, and you
>> generally only want to use a single article stream between the servers
>> because of that.
> So simply implementing Xref slaving in a way that could potentially
> decrease the low water mark would not be taken as violating the NNTP
> standard, provided care is taken on how it is used?
I hope not, since that's what INN does. :)
> As far as I can tell, Xref slaving would normally only be used in cases
> where there are a small number of articles (so the chances of the
> articles arriving in a different order are low), or when you are moving
> from one server to another (so no readers would be connecting in the
> middle of the process).
That's generally the case, although some people use it to provide a
replicated reader farm and do handle full feeds that way.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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