🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Victor Sudakov Sun, 15 Jul 2001 05:55
full mesh topologies and dupes
#53287
Author: Victor Sudakov
Date: Sun, 15 Jul 2001 05:55
19 lines
1617 bytes
Colleagues.

Is there any practice in setting up full mesh topologies of NNTP
servers (feeds)? How do you avoid excessive duplicates generation?

Example. There are three nodes A, B and C feeding each other
(full mesh or triangle). A message enters node A and is
propagated to nodes B and C. Then B will try to propagate it to C
and C to B, and they will be rejected; so we have two duplicates
and the volume of feed is doubled (if not tripled). 

So either full mesh topologies are not used, or there must be
some trick. Any help? Thanks in advance.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/
PGP key: finger vas@mpeks.tomsk.su
Re: full mesh topologies and dupes
#53288
Author: Jeffrey M. Vinocur
Date: Sun, 15 Jul 2001 06:05
17 lines
1536 bytes
In article <9irb8r$214a$1@mpeks.tomsk.su>,
Victor Sudakov  <sudakov@sibptus.tomsk.ru> wrote:
>
>Is there any practice in setting up full mesh topologies of NNTP
>servers (feeds)? How do you avoid excessive duplicates generation?

The protocol for feeds specifies that the sending server first
give the Message-ID so that the receiving server can check if it
already has a given article.  This transaction takes perhaps a
hundred bytes, and then the article only need be sent if the
receiving server wants it.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: full mesh topologies and dupes
#53289
Author: Victor Sudakov
Date: Sun, 15 Jul 2001 06:12
18 lines
1697 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote:

>>Is there any practice in setting up full mesh topologies of NNTP
>>servers (feeds)? How do you avoid excessive duplicates generation?

> The protocol for feeds specifies that the sending server first
> give the Message-ID so that the receiving server can check if it
> already has a given article.  This transaction takes perhaps a
> hundred bytes, and then the article only need be sent if the
> receiving server wants it.

What if it is a UUCP feed?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/
PGP key: finger vas@mpeks.tomsk.su
Re: full mesh topologies and dupes
#53296
Author: The Archiver
Date: Sun, 15 Jul 2001 09:33
24 lines
1563 bytes
Victor Sudakov <sudakov@sibptus.tomsk.ru> wrote:

>> The protocol for feeds specifies that the sending server first
>> give the Message-ID so that the receiving server can check if it
>> already has a given article.  This transaction takes perhaps a
>> hundred bytes, and then the article only need be sent if the
>> receiving server wants it.
>
>What if it is a UUCP feed?

Having more than one incoming UUCP feed is a bad idea.
This will result of tons of duplicate transmissions.

If you use one incoming UUCP-feed then your other feeds
should be delayed feeds - or delayed sucking feeds.

I'm receiving a Satellite UUCP-feed - and I'm using additionally
delayed sucking feeds for 'filling the holes' from the UUCP-feed.

HTH
-- 
The Archiver

Re: full mesh topologies and dupes
#53299
Author: Curt Welch
Date: Sun, 15 Jul 2001 16:49
54 lines
3955 bytes
Victor Sudakov <sudakov@sibptus.tomsk.ru> wrote:
> Jeffrey M. Vinocur <jeff@litech.org> wrote:
>
> >>Is there any practice in setting up full mesh topologies of NNTP
> >>servers (feeds)? How do you avoid excessive duplicates generation?
>
> > The protocol for feeds specifies that the sending server first
> > give the Message-ID so that the receiving server can check if it
> > already has a given article.  This transaction takes perhaps a
> > hundred bytes, and then the article only need be sent if the
> > receiving server wants it.
>
> What if it is a UUCP feed?

I guess the standard way it worked is that you would get duplicates sent
to you over the feed but you would only take the first copy you saw.  The
server never ended up with duplicats in the news spool, but you would get
duplicates sent to you.  The Path: header was also used to help cut down
duplicates.  So in your A, B, C, triangle, articles that entered the
triangle at A, and was sent to B, then C, wouldn't get sent back to A
because the path header showed that it had already been through there.

Most sites using UUCP didn't set up a mesh anywhow.  They tended to have
only one upstream connection to "the 'net", and multiple downstream
connections.  As long as your "downstream" feeds didn't send articles back
to the net though some other channel, then there were no loops and no
duplicates to deal with.

But I believe there was an I-have system set up for UUCP as well.  I think
the sending system just sent lists of articles over, then the receiving
system would figure out what it needed, and send a batch of "sendme" type
commands back to the feeding system.  I'm not sure, but I think it worked
by posting those ihave lists as articles to special groups -- like the
feeding system would create the list and post it to the "ihave.sysname"
group - and that article would move by normally uucp news batches.  The
receiving side would run programs to scan those messages, and create
"sendme" messages which were send back to the feed.

Don't know how much use that ever saw.  I think NNTP came into use about
the same time and worked much better in the "mesh" environment, so servers
which had access to the internet and NNTP became the core servers which
formed the real "mesh" that still exists today, and UUCP was left behind as
a"tree" networks hanging off the "mesh" network of NNTP servers.

UUCP itself was typically set up as mesh networks, but the news feeds over
UUCP were not.

I had to deal a lot with UUCP networks in my time, but I never ran a news
over UUCP system, so some of my "facts" above could be a bit off.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: full mesh topologies and dupes
#53307
Author: Kai Henningsen
Date: Sun, 15 Jul 2001 22:45
32 lines
2452 bytes
curt@kcwc.com (Curt Welch)  wrote on 15.07.01 in <20010715124920.999$gl@newsreader.com>:

> I had to deal a lot with UUCP networks in my time, but I never ran a news
> over UUCP system, so some of my "facts" above could be a bit off.

Still doing UUCP (and NNTP) over here.

A mesh is fine for small subsets (that you consider important). Otherwise,  
it's indeed better to have only one incoming UUCP-link for each article to  
travel over.

If you have UUCP and NNTP links, you can still have duplicates even if  
your UUCP links are perfectly balanced, because the article might have  
already gotten there by NNTP.

Theoretically you could use the ihave stuff, but frankly I have never seen  
it used. In these days, it's just not worth it, and in former times, it  
was much too slow.

As an aside, I remember that Fidonet also had a path similar to Usenet  
(completely different syntax, of course), but with a twist: a site would  
note in the path of the article it kept when it sent the article to  
another site. So, in the A/B/C example, if A sent an article to B, then C,  
C would know that B already got a copy. (B probably still wouldn't know C  
got one.) I guess in an UUCP-lookalike, that optimization might pay.

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)
Re: full mesh topologies and dupes
#53310
Author: Victor Sudakov
Date: Mon, 16 Jul 2001 03:46
30 lines
2356 bytes
Kai Henningsen <kaih=84-O6ffHw-B@khms.westfalen.de> wrote:


[dd]

> As an aside, I remember that Fidonet also had 

And still has :)

> a path similar to Usenet  
> (completely different syntax, of course), but with a twist: a site would  
> note in the path of the article it kept when it sent the article to  
> another site. So, in the A/B/C example, if A sent an article to B, then C,  
> C would know that B already got a copy. (B probably still wouldn't know C  
> got one.) I guess in an UUCP-lookalike, that optimization might pay.

In fact, being an offline technology, Fidonet handles such
situations very efficiently. A message has a PATH parameter,
which is equivalent to the Usenet Path: header, and an important
SEEN-BY parameter for handling full mesh topologies. If node A
propagates a message to nodes B and C, it will add all the three
nodes to the SEEN-BY parameter. Thus, node B will know that node
C has already seen the message, and node C will know that node B
has already received this message; no dupes.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/
PGP key: finger vas@mpeks.tomsk.su
Re: full mesh topologies and dupes
#53312
Author: Jeffrey M. Vinocur
Date: Mon, 16 Jul 2001 04:45
16 lines
1554 bytes
In article <9ito2d$kos$1@mpeks.tomsk.su>, Victor Sudakov
<sudakov@sibptus.tomsk.ru> wrote:
>
>If node A propagates a message to nodes B and C, it will add all
>the three nodes to the SEEN-BY parameter. Thus, node B will know
>that node C has already seen the message, and node C will know
>that node B has already received this message; no dupes.

But what if B and C both peer with D?  Surely then D will receive
two copies?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: full mesh topologies and dupes
#53321
Author: Victor Sudakov
Date: Mon, 16 Jul 2001 12:39
19 lines
1822 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote:

>>
>>If node A propagates a message to nodes B and C, it will add all
>>the three nodes to the SEEN-BY parameter. Thus, node B will know
>>that node C has already seen the message, and node C will know
>>that node B has already received this message; no dupes.

> But what if B and C both peer with D?  Surely then D will receive
> two copies?

It seems that it will. But I suppose it will be en example of a
bad design. In a full mesh topology, D should peer with A, B and C.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/
PGP key: finger vas@mpeks.tomsk.su
Re: full mesh topologies and dupes
#53322
Author: Victor Sudakov
Date: Mon, 16 Jul 2001 12:48
46 lines
2702 bytes
Curt Welch <curt@kcwc.com> wrote:

>> >>Is there any practice in setting up full mesh topologies of NNTP
>> >>servers (feeds)? How do you avoid excessive duplicates generation?
>>
>> > The protocol for feeds specifies that the sending server first
>> > give the Message-ID so that the receiving server can check if it
>> > already has a given article.  This transaction takes perhaps a
>> > hundred bytes, and then the article only need be sent if the
>> > receiving server wants it.
>>
>> What if it is a UUCP feed?

> I guess the standard way it worked is that you would get duplicates sent
> to you over the feed but you would only take the first copy you saw.  The
> server never ended up with duplicats in the news spool, but you would get
> duplicates sent to you.  The Path: header was also used to help cut down
> duplicates.  So in your A, B, C, triangle, articles that entered the
> triangle at A, and was sent to B, then C, wouldn't get sent back to A
> because the path header showed that it had already been through there.

I think the situation (generation of dupes with several UUCP
peers) can also be helped by carefully crafting the exclude
patterns in the newsfeeds file. For INN on node B:

 ================= cut here ====================
nodeA/nodeC\
       :*\
       :Tf,Wnb:

nodeC/nodeA\
       :*\
       :Tf,Wnb:

 ================= cut here ====================

Is this feasible?

[dd]


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/
PGP key: finger vas@mpeks.tomsk.su
Re: full mesh topologies and dupes
#53323
Author: Jeffrey M. Vinocur
Date: Mon, 16 Jul 2001 13:02
14 lines
1439 bytes
In article <9iunad$1c1g$2@mpeks.tomsk.su>,
Victor Sudakov  <sudakov@sibptus.tomsk.ru> wrote:
>
>In a full mesh topology, D should peer with A, B and C.

But if it's truly a full mesh, then everything is trivial.  The
originating site of an article passes it on to everyone else, and
no one else needs to feed it at all.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: full mesh topologies and dupes
#53326
Author: Victor Sudakov
Date: Mon, 16 Jul 2001 14:29
18 lines
1783 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote:

>>
>>In a full mesh topology, D should peer with A, B and C.

> But if it's truly a full mesh, then everything is trivial.  The
> originating site of an article passes it on to everyone else, and
> no one else needs to feed it at all.

Not quite so. This full mesh (triangle or whatever) construction
may be the core of a backbone, each member of the full mesh
feeding many leaf nodes.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/
PGP key: finger vas@mpeks.tomsk.su
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