🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Julio Sanchez Tue, 02 Sep 1997 00:00
Too many articles rejected as duplicate from Cyclone
#21197
Author: Julio Sanchez
Date: Tue, 02 Sep 1997 00:00
28 lines
1612 bytes

Since my main feed moved from INN to Cyclone v1.3.1, I get 20% to 25%
articles that I reject as duplicates.

I checked my archive and found a couple of interesting messages from
Jerry Aguirre that explained the intricacies of the interaction
between feeds that offer the same articles at the same time.

However, all the reasons I can think of cannot account for this number
of duplicates.  The number of duplicates that they send me (counted
from /var/log/news/news) is higher than total number of articles
accepted from all other feeds.  So it seems that Cyclone is sending me
some articles twice.

Does this make any sense?  To anyone?

Can I fix it?  Should I ask my feed to change something?

Julio

-- 
Julio Sanchez, SGI Soluciones Globales Internet
Tel: (91) 804 28 37 Fax: (91) 804 14 05  WWW: http://www.esegi.es
jsanchez@esegi.es jsanchez@gmv.es
 PGP Key fingerprint =  E5 29 93 6F 41 4E 00 E2  90 11 A1 8C 72 D0 DE 71 

Re: Too many articles rejected as duplicate from Cyclone
#21187
Author: Julio Sanchez
Date: Tue, 02 Sep 1997 00:00
38 lines
1994 bytes

Jeff Garzik <jgarzik@pobox.com> writes:

> Julio Sanchez  <jsanchez@esegi.es> wrote:
> >Since my main feed moved from INN to Cyclone v1.3.1, I get 20% to 25%
> >articles that I reject as duplicates.

> I have a feeling that you are seeing Cyclone's "highly adaptive"
> streaming strategy.  Every 25 CHECKs, for example, Cyclone will send
> an article via TAKETHIS.  It's these articles that are probably
> getting rejected as duplicates.

This may be a factor, but if this accounts for a significant share of
the result, the strategy is pretty broken.  It would have to be doing
it at least every fourth article presuming I reject all of them, but
taking into account that I would accept a high share of them anyway,
the frequency of those unCHECKed TAKETHIS's would be pretty high.

There must be something else there...

> As for the fact that you're rejecting more duplicates than you're
> accepting from other feeds simply implies that the Cyclone feed you
> are receiving is very fast and very up-to-date.

They are.

Thanks for the help,

Julio

-- 
Julio Sanchez, SGI Soluciones Globales Internet
Tel: (91) 804 28 37 Fax: (91) 804 14 05  WWW: http://www.esegi.es
jsanchez@esegi.es jsanchez@gmv.es                   Have car, will LART.
 PGP Key fingerprint =  E5 29 93 6F 41 4E 00 E2  90 11 A1 8C 72 D0 DE 71 

Re: Too many articles rejected as duplicate from Cyclone
#21206
Author: Jeff Garzik
Date: Tue, 02 Sep 1997 00:00
29 lines
1521 bytes
Julio Sanchez  <jsanchez@esegi.es> wrote:
>Since my main feed moved from INN to Cyclone v1.3.1, I get 20% to 25%
>articles that I reject as duplicates.
>[...]

>The number of duplicates that they send me (counted
>from /var/log/news/news) is higher than total number of articles
>accepted from all other feeds.  So it seems that Cyclone is sending me
>some articles twice.

I have a feeling that you are seeing Cyclone's "highly adaptive"
streaming strategy.  Every 25 CHECKs, for example, Cyclone will send
an article via TAKETHIS.  It's these articles that are probably
getting rejected as duplicates.

As for the fact that you're rejecting more duplicates than you're
accepting from other feeds simply implies that the Cyclone feed you
are receiving is very fast and very up-to-date.

	Jeff



-- 
Often statistics are used as a drunken man uses lampposts -- for support
rather than illumination.

Re: Too many articles rejected as duplicate from Cyclone
#21225
Author: Jonathan I. Kamens
Date: Tue, 02 Sep 1997 00:00
15 lines
1237 bytes
I complained to BBNplanet recently about the same problem, and they
responded to me on August 28, "I know what's happening here.  It has to
do with the way that Cyclone implements history.  In their latest
release (which I'm putting on [your feed machine] tomorrow AM), they've
inproved the mechanism for this in a number of ways.  I suspect you'll
see better numbers on this next week."  And, indeed, I've many fewer
duplicates this week, but so far I'm reserving judgment because the
drop may have been simply do to lower Usenet usage because of the Labor
Day weekend.

-- 
Jonathan Kamens  |   Veritas Software Corporation  |   jik@cam.ov.com

Re: Too many articles rejected as duplicate from Cyclone
#21231
Author: Julio Sanchez
Date: Tue, 02 Sep 1997 00:00
25 lines
1308 bytes
curt@kcwc.com (Curt Welch) writes:

> My guess is that they are not dups but instead are canceled
> articles which show up after the cancles.

No, that cannot be, they would be refused instead, but wait, I have
another idea...

They might be cancels arrived after I told my feed to send them.  Then
they must essentially be spam...

I'll confirm this tomorrow.

Thanks for the help,

Julio

-- 
Julio Sanchez, SGI Soluciones Globales Internet
Tel: (91) 804 28 37 Fax: (91) 804 14 05  WWW: http://www.esegi.es
jsanchez@esegi.es jsanchez@gmv.es                   Have car, will LART.
 PGP Key fingerprint =  E5 29 93 6F 41 4E 00 E2  90 11 A1 8C 72 D0 DE 71 

Re: Too many articles rejected as duplicate from Cyclone
#21235
Author: Jeff Garzik
Date: Tue, 02 Sep 1997 00:00
48 lines
2305 bytes

(cc'd to author)

Julio Sanchez  <jsanchez@esegi.es> wrote:
>Jeff Garzik <jgarzik@pobox.com> writes:
>> I have a feeling that you are seeing Cyclone's "highly adaptive"
>> streaming strategy.  Every 25 CHECKs, for example, Cyclone will send
>> an article via TAKETHIS.  It's these articles that are probably
>> getting rejected as duplicates.

>This may be a factor, but if this accounts for a significant share of
>the result, the strategy is pretty broken.  It would have to be doing
>it at least every fourth article presuming I reject all of them, but
>taking into account that I would accept a high share of them anyway,
>the frequency of those unCHECKed TAKETHIS's would be pretty high.

If you accept a high share of the feed, a number close to or higher
than the number of duplicates *refused* (not rejected), then it is
certainly possible to see a high number of rejections.  Remember,
streaming NNTP does not wait for the other side to reply before
sending another CHECK or TAKETHIS.

This scenario, on well-tuned software, is certainly possible:

1. Your site, news.esegi.es, accepts 95 articles out of a batch of 100.

2. Cyclone sees this run of accepted articles, and switches to
"no-CHECK mode."  It sends 50 articles in a row using TAKETHIS.

3. news.esegi.es rejects 42 out of 50 articles sent via TAKETHIS
as duplicates.

4. Cyclone sees the high number of rejections, and switches back to
"CHECK mode."

5. This could go on all day, rejecting numerous articles...


	Jeff



-- 
Often statistics are used as a drunken man uses lampposts -- for support
rather than illumination.

Re: Too many articles rejected as duplicate from Cyclone
#21238
Author: Curt Welch
Date: Tue, 02 Sep 1997 00:00
14 lines
887 bytes
Julio Sanchez <jsanchez@esegi.es> wrote:
> Since my main feed moved from INN to Cyclone v1.3.1, I get 20% to 25%
> articles that I reject as duplicates.

> Does this make any sense?  To anyone?

My guess is that they are not dups but instead are canceled
articles which show up after the cancles.

Curt Welch
http://CurtWelch.Com/

Re: Too many articles rejected as duplicate from Cyclone
#21240
Author: Mark Hittinger
Date: Tue, 02 Sep 1997 00:00
41 lines
2055 bytes


Are these rejects or refuses? :-)

Jeff's idea that this is check/takethis oscillation is probably the
ticket but ...

If they are refuses then its possible that the cyclone hash function was
producing collisions.  If you have a lots of collisions then you need to strcmp
the message id to double check (ala Clayton's initial history cache patch).

If you have a weak hash, collide, and don't double check - then you may
refuse articles that you don't have.

If this is the case all they need to do is implement a stronger hash
function (like wider md5 or tiger) but this may require the history 
file to be larger and slow things down.

Clayton's latest snapshot keeps some of the wider md5 in memory for
faster determinations and does not appear to strcmp the message id
to double check.

I'm experimenting with a "new history" which keeps all of a 24 byte
tiger hash in the ".pag" file and does not do a strcmp of the message id.

I haven't decided which way is the right way to go yet but it is
looking like a major performance improvement for heavy innd sites
is in the cards.

The hope is that the collisions with these new hashes is low enough
that we will have an acceptable rate of bad refuses - like lottery
odds or better :-)

Regards,

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com

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