🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Brad Beck Thu, 22 Jan 1998 00:00
NEWNEWS or GROUP command?
#25477
Author: Brad Beck
Date: Thu, 22 Jan 1998 00:00
15 lines
1022 bytes
I'm writing a news client and am wondering if I should be using the
NEWNEWS or GROUP command when enqiring about new articles. I'm leaning
towards GROUP because I have recently learned that some newservers
no longer support NEWNEWS. If I use the GROUP command will I miss
any articles? Maybe I should give user the option to choose.


-- 
Brad Beck                   Little Fort Fly and Tackle
bbeck@littlefort.com        http://www.littlefort.com/



Re: NEWNEWS or GROUP command?
#25494
Author: Ian Stirling
Date: Fri, 23 Jan 1998 00:00
24 lines
2266 bytes
Fluffy <fluffy@fluffy.meow.org> wrote:
: Ian Stirling <000034C88A81.NO_UCE@mauve.demon.co.uk> wrote:
:>Give the option.
:>At least on some servers, newnews has been re-written to give decent
:>performance,

: But there is still that clock synchronization problem...

So add an option to use either the nntp command date, or hit the time
port on the news-server.

-- 
Ian Stirling.   Designing a linux PDA, see  http://www.mauve.demon.co.uk/
----- ******* If replying by email, check notices in header ******* -----
The fight between good and evil, an epic battle. Darth vader and Luke, 
suddenly in the middle of the fight, Darth pulls Luke to him, and whispers
"I know what you'r getting for christmas!" Luke exclaims "But how ??!?"
"It's true Luke, I know what you'r getting for christmas" Luke tries to ignore
this, but wrenches himself free, yelling "How could you know this?", 
Vader replies "I felt your presents" 


Re: NEWNEWS or GROUP command?
#25513
Author: Ian Stirling
Date: Fri, 23 Jan 1998 00:00
23 lines
2174 bytes
Fluffy <fluffy@fluffy.meow.org> wrote:
: Brad Beck <bbeck@littlefort.com> wrote:
:>I'm writing a news client and am wondering if I should be using the
:>NEWNEWS or GROUP command when enqiring about new articles. I'm leaning
:>towards GROUP because I have recently learned that some newservers
:>no longer support NEWNEWS. If I use the GROUP command will I miss
:>any articles? Maybe I should give user the option to choose.

: Use the 'group' command.  As long as you keep something like a .newsrc that
: tracks the article numbers read, there is never a need to rely on newnews. 

Give the option.
At least on some servers, newnews has been re-written to give decent
performance,

-- 
Ian Stirling.   Designing a linux PDA, see  http://www.mauve.demon.co.uk/
----- ******* If replying by email, check notices in header ******* -----
Among a man's many good possessions, A good command of speech has no equal.


Re: NEWNEWS or GROUP command?
#25533
Author: Bill Stewart-Cole
Date: Sat, 24 Jan 1998 00:00
27 lines
1722 bytes
In article <000034C88A81.NO_UCE@mauve.demon.co.uk>, Ian Stirling
<000034C88A81.NO_UCE@mauve.demon.co.uk> wrote:

> Fluffy <fluffy@fluffy.meow.org> wrote:
> : Brad Beck <bbeck@littlefort.com> wrote:
> :>I'm writing a news client and am wondering if I should be using the
> :>NEWNEWS or GROUP command when enqiring about new articles. I'm leaning
> :>towards GROUP because I have recently learned that some newservers
> :>no longer support NEWNEWS. If I use the GROUP command will I miss
> :>any articles? Maybe I should give user the option to choose.
> 
> : Use the 'group' command.  As long as you keep something like a .newsrc that
> : tracks the article numbers read, there is never a need to rely on newnews. 
> 
> Give the option.
> At least on some servers, newnews has been re-written to give decent
> performance,

Yes, but has it been modified so that the snapshot it provides includes a
firm sub-second timestamp?

-- 
Bill Stewart-Cole                             bill@scconsult.com        
So how do I get one of those unpaid interns? 

Re: NEWNEWS or GROUP command?
#25537
Author: Bill Stewart-Cole
Date: Sat, 24 Jan 1998 00:00
25 lines
1545 bytes
In article <000034C8F015.NO_UCE@mauve.demon.co.uk>, Ian Stirling
<000034C8F015.NO_UCE@mauve.demon.co.uk> wrote:

> Fluffy <fluffy@fluffy.meow.org> wrote:
> : Ian Stirling <000034C88A81.NO_UCE@mauve.demon.co.uk> wrote:
> :>Give the option.
> :>At least on some servers, newnews has been re-written to give decent
> :>performance,
> 
> : But there is still that clock synchronization problem...
> 
> So add an option to use either the nntp command date, or hit the time
> port on the news-server.

I don't think you've thought about this carefully enough. 

The only way to assure that you see all the messages you want with newnews
is to assure that you see some twice.

-- 
Bill Stewart-Cole                             bill@scconsult.com        
So how do I get one of those unpaid interns? 

Re: NEWNEWS or GROUP command?
#25538
Author: Bill Stewart-Cole
Date: Sat, 24 Jan 1998 00:00
44 lines
2860 bytes
In article <34c7cde64707b81@littlefort.com>, bbeck@littlefort.com (Brad
Beck) wrote:

> I'm writing a news client and am wondering if I should be using the
> NEWNEWS or GROUP command when enqiring about new articles. I'm leaning
> towards GROUP because I have recently learned that some newservers
> no longer support NEWNEWS. If I use the GROUP command will I miss
> any articles? Maybe I should give user the option to choose.

NEVER use NEWNEWS. 

The major reason is that it is hard on servers, but beyond that the
situation is exactly reversed from what you fear: NEWNEWS cannot guarantee
that you will get all articles, but GROUP (and a client-side record of
what article numbers are read, the functional equivalent of the classical
.newsrc file)  will ensure that much better. The simplest mode of failure
is that news comes in so fast that newnews cannot draw the line finely
enough. A full-feed server accepts 5-10 messages per second. You have the
better part of a second of uncertainty in what time the server believes it
is, and a NEWNEWS command will generally not execute in less than many
seconds, and you cannot tell where the latency in the command is. You may
know when you issued the NEWNEWS in server time within one second, but you
do NOT know what server time the command response actually reflects. 

Using GROUP lets you know group contents by article number and article
numbers on a server are unique except in extremely unusual
circumstances[*]. If you've read article 200 in group foo.bar, you can be
sure to a very high level that article 200 in group foo.bar will never be
some other article which you have not read. 

*: On some servers it is barely possible for a confluence of expiration
and cancels to result in article numbers being reused. I recall reading an
explanation for how it would have to happen, but I've never seen an
occurence documented. The likelihood of such a hypothetical occurence to
actually cause a reader to miss an article is even lower because it would
have to occur almost instantly after the reader retrieves the article
whose number is reused.

-- 
Bill Stewart-Cole                             bill@scconsult.com        
So how do I get one of those unpaid interns? 

Re: NEWNEWS or GROUP command?
#25560
Author: Simon Slavin
Date: Sun, 25 Jan 1998 00:00
38 lines
2234 bytes
In article <000034C8F015.NO_UCE@mauve.demon.co.uk>,
Ian Stirling <000034C8F015.NO_UCE@mauve.demon.co.uk> wrote:

> Fluffy <fluffy@fluffy.meow.org> wrote:
> : Ian Stirling <000034C88A81.NO_UCE@mauve.demon.co.uk> wrote:
> :>Give the option.
> :>At least on some servers, newnews has been re-written to give decent
> :>performance,
> 
> : But there is still that clock synchronization problem...
> 
> So add an option to use either the nntp command date, or hit the time
> port on the news-server.

[I'm not the poster who started this thread.]
I was delighted by the invention of the 'DATE' command because I felt
it allowed me to be absolutely certain about which articles and new
groups I was getting:

1. get previous date from file
2. issue DATE command
3. issue request for stuff new since <date retrieved from file>
4. store <date from step 2> in file

Theory being that since the source of the date and the articles was
the same server, any error should take care of itself.  I suppose
that one useful exercise would be to have the program compare the
two dates and always use the earlier of the two.

Simon.
-- 
Simon Slavin -- Computer Contractor. | If I ran usenet, the timestamp for
   http://www.hearsay.demon.co.uk    | anything posted between 2am and 5am
 Check email address for UBE-guard.  | would *blink*. -- Nancy Lebovitz
My s/ware deletes unread >3 UBEs/day.| Junk email not welcome at this site.

Re: NEWNEWS or GROUP command?
#25569
Author: Jon Ribbens
Date: Sun, 25 Jan 1998 00:00
32 lines
1628 bytes
-----BEGIN PGP SIGNED MESSAGE-----

Bill Stewart-Cole <bill@scconsult.com> wrote:
> The only way to assure that you see all the messages you want with newnews
> is to assure that you see some twice.

Well, to ensure that you see their Message-IDs twice. Then you check in
your list of recently-fetched Message-IDs, see that you already have the
article, and don't bother fetching it again.

Cheers


Jon
-- 
____
\  //    Jon Ribbens    // 100MB virtual-hosted // www.oaktree.co.uk
 \// jon@oaktree.co.uk //  web space for 99UKP //

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBNMt/0YMzEl4yn7LtAQGvWAP+LSxFFH5ICdnEhB4LbOzZtReaZL+umQ47
Ltm7IupAKRLoqwgqai3yHgDUOpkrGJyCoSMMLDhFacUrzv8mcGeCRWtYd4VGihgA
9t85k+Bvx7CvQyVY3QAem9JzuZ9E2Hfg/noh8dCIiXSaLAzPJYcu6qwn8ER5/bSi
Z39+k9fSfes=
=/Ycq
-----END PGP SIGNATURE-----

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