🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Steve Peltz Thu, 07 Dec 1989 05:00
When was last?
#399
Author: Steve Peltz
Date: Thu, 07 Dec 1989 05:00
16 lines
1360 bytes
I just read the RFC 977, and one thing really puzzled me. When asking for
new articles or newsgroups since a particular date, how do you find out what
time the server thinks it is? In a perfect world, this wouldn't be a problem,
but with the amount of traffic coming in, there's almost sure to be a few
articles slip by because of time differences.

Either: in the reply to the NEWNEWS or NEWGROUPS commands, repond with the
current date and time;

Or: (for NEWNEWS, anyway) be able to ask for all message ids that were added
after a given message id (which would, presumably, be the last message id
that was received the last time a NEWNEWS had been done).
--
Steve Peltz (almost) CFI-G
"Monticello traffic, Glider 949 landing 18, full stop"
Re: When was last?
#400
Author: Brian Kantor
Date: Thu, 07 Dec 1989 15:13
19 lines
1737 bytes
In article <1989Dec7.050042.18935@ux1.cso.uiuc.edu> peltz@cerl.uiuc.edu (Steve Peltz) writes:
>I just read the RFC 977, and one thing really puzzled me. When asking for
>new articles or newsgroups since a particular date, how do you find out what
>time the server thinks it is? In a perfect world, this wouldn't be a problem,
>but with the amount of traffic coming in, there's almost sure to be a few
>articles slip by because of time differences.

You don't currently, except by other means.  The NNTP herald when you
first connect has usually got the date and time in it, and you could
conceivably parse that out and calculate an offset from your local
system's concept of time, but that would be an obscene kludge.  You
could use NTP to query the server, if you both support it.  You can use
ICMP timestamps if you're using an IP network for NNTP access.

However, we recognize this problem and in an upcoming revision to the
NNTP spec we'll be providing a DATE or TIME command that returns the
server's estimate of what time it is.
	- Brian
Re: When was last?
#401
Author: Bob Sutterfield
Date: Thu, 07 Dec 1989 18:13
12 lines
1456 bytes
NNTP is the wrong place to manage or communicate time if you intend to
use the time for something that matters to you.   If two machines each
care what time the other has, they should  use  NTP to coordinate with
each other, and themselves to an outside standard Real Time.  The news
software  should  only need  to  worry about whatever its  local clock
claims the time to be.

Are there any   existing or  projected  uses  of netnews that  require
sub-millisecond  time coordination between  two hosts?  If so, how  do
you  tell  whether  or not  you've  achieved  it  if  you're not using
something at least as good as NTP?
A suggested solution (was Re: When was last?)
#403
Author: Samuel Lam
Date: Fri, 08 Dec 1989 01:27
41 lines
2759 bytes
In article <BOB.89Dec7131357@volitans.MorningStar.Com>, bob@MorningStar.Com
 (Bob Sutterfield) wrote:
>NNTP is the wrong place to manage or communicate time if you intend to
>use the time for something that matters to you.

But it isn't really "absolute time" that the two NNTP peers are trying
to communicate here, it's just a "magic token" that point backs to a point
in the server's time.

It's like some LISP systems which has a built-in "time travelling machine";
You could ask it to give you a "ticket" for the moment "now" at any time,
and you keep that ticket and present it to the time machine if/when you
want to go back to that instance in time.

In the NNTP world, we just need a way to tell the server that we would like
to come back later to this point in time to pick up where we left off, and
ask for a ticket which will bring me back here later.  What the absolute
time of the moment is should only be relevent to the server, if anyone.

Having said that, how about having a new NNTP command "TICKET" which
may, depending on the implementation, returns the return value of time()
in %ld format, and have the "NEWNEWS command extended to optionally accept
"TICKET non-blanks" instead of "yymmdd hhmmss" as the go-back-to point?

Having the legal value of a ticket being a series of non-blank characters
will allows the server to decide how it wants to keep track of the tickets
it issued.

Of course, a magic ticket is only redeemable at the outlet that issued it
originally.  And the ticket could be of the form "...@server.domain.name"
to ensure that.  To the client, the ticket is just a string of characters,
and it wouldn't need to know the format of it beyond that.

In the ideal world where everyone's clocks are synchronized, this discussion
would be irrelevent, but in the imperfect world we live in, we need realistic
and practical solutions.

..Sam
-- 
Samuel Lam     <skl@wimsey.bc.ca> or {uunet,ubc-cs}!wimsey.bc.ca!skl
Re: A suggested solution (was Re: When was last?)
#406
Author: Doug Eastick
Date: Fri, 08 Dec 1989 02:22
17 lines
1280 bytes
skl@van-bc.UUCP (Samuel Lam) writes:
>In the ideal world where everyone's clocks are synchronized, this discussion
>would be irrelevent, but in the imperfect world we live in, we need realistic
>and practical solutions.

If you can talk NNTP, why not talk NTP (Network Time Protocol) as
well?  You get sub-second accurracy which would be (I assume) more
than you would need for NNTP.

Might as well strive for the perfect world...

>Samuel Lam     <skl@wimsey.bc.ca> or {uunet,ubc-cs}!wimsey.bc.ca!skl

--
Doug Eastick				UUCP: uunet!utai!me!eastick
Mechanical Engineering			eastick@me.utoronto.ca
Re: A suggested solution (was Re: When was last?)
#407
Author: Samuel Lam
Date: Fri, 08 Dec 1989 05:54
26 lines
1749 bytes
In article <1989Dec7.212233.12005@me.toronto.edu>, eastick@me.utoronto.ca
 (Doug Eastick) wrote:
>If you can talk NNTP, why not talk NTP (Network Time Protocol) as
>well?

Is NTP available for Xenix V boxes with SCO TCP/IP then?

>Might as well strive for the perfect world...

I would very much like to, but maintainence resources here (and at some
other NNTP sites I presume) is at a premium.  I would rather maintain
one slightly-bigger-than-needed package here than having to maintain
two packages that are "just the right size" just so that I could use
the first one.  Afterall, it's one project versus two.

Not having NNTP depending on NTP will also minimize the amount of thread
one has to pull to get NNTP installed at a new site, especially one that's
not BSD/SunOS based.

>Doug Eastick				UUCP: uunet!utai!me!eastick
>Mechanical Engineering			eastick@me.utoronto.ca

..Sam
-- 
Samuel Lam     <skl@wimsey.bc.ca> or {uunet,ubc-cs}!wimsey.bc.ca!skl
Re: A suggested solution (was Re: When was last?)
#413
Author: Samuel Lam
Date: Fri, 08 Dec 1989 08:31
11 lines
1230 bytes
In article <1989Dec7.212233.12005@me.toronto.edu>,
 eastick@me.utoronto.ca (Doug Eastick) wrote:
>If you can talk NNTP, why not talk NTP (Network Time Protocol) as well?

But wouldn't the upstream sites my site talks to via NNTP have to
have NTP running as well?  (Since those sites are under different
administrative control, I can't just tell them to run NTP.)

-- 
Samuel Lam     <skl@wimsey.bc.ca> or {uunet,ubc-cs}!wimsey.bc.ca!skl
Re: A suggested solution (was Re: When was last?)
#409
Author: Bob Sutterfield
Date: Fri, 08 Dec 1989 17:05
24 lines
1944 bytes
In article <82@van-bc.UUCP> skl@van-bc.UUCP (Samuel Lam) writes:
   In article <1989Dec7.212233.12005@me.toronto.edu>, eastick@me.utoronto.ca (Doug Eastick) wrote:
      If you can talk NNTP, why not talk NTP (Network Time Protocol)
      as well?

   Is NTP available for Xenix V boxes with SCO TCP/IP then?

One  of the  developers is inside   HP, so SysV   stuff is pretty well
available.  Ports  exist  to MS-DOS  (and  I believe  VMS),  so  other
hostile   environments   (meaning  those   without convenient BSD-like
facilities) should be do-able.  Please contact ntp@trantor.umd.edu for
current details.

      Might as well strive for the perfect world...

   ...maintainence resources here is at a premium... it's one project
   versus two.

NTP   installation is fairly straightforward.    Since it is a general
facility,  it provides benefits to activities  other  than  news.  For
instance, time-dependent NFS weirdnesses  decrease in frequency.  Many
sites,  even those  not running  NNTP,  consider correct timekeeping a
benefit worth investing a day or so into.
Re: A suggested solution (was Re: When was last?)
#417
Author: Eliot Lear
Date: Mon, 11 Dec 1989 21:54
9 lines
1083 bytes
I'll thank you for not bloating my binaries by reinventing wheels I
already have installed in the form of NTP, simply because it's only
one package.  If time synchronization is so important to NNTP, then
maybe Stan should distribute NTP with NNTP.  It's a pretty easy
package to install, assuming your OS supports adjtime and TCPIP.
-- 
Eliot Lear
[lear@net.bio.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