🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Luu Tran Sun, 07 Mar 1999 00:00
How large can message number be?
#35838
Author: Luu Tran
Date: Sun, 07 Mar 1999 00:00
14 lines
819 bytes
Hi

How large can the message number be?  rfc977 doesn't seem to say.
I thought using a 32-bit int would suffice, but maybe not.  64-bit?  
Should I be prepared to deal with arbitrarily large message numbers 
(e.g., use a string type)?

tia

-- 
  luu


Re: How large can message number be?
#35829
Author: Andrew Gierth
Date: Sun, 07 Mar 1999 00:00
13 lines
1294 bytes
>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:

 Curt> And my question: What happens when you hit 2^32?  Are there any
 Curt> news servers that deal with that or do they all just assume the
 Curt> news admin will do something to reset the numbers before then?

At, say, a quarter of a million articles/group/day, it will take about
50 years before you reach the limit.

-- 
Andrew.

Re: How large can message number be?
#35833
Author: Curt Welch
Date: Sun, 07 Mar 1999 00:00
25 lines
1647 bytes
Luu Tran <luutran@geocities.com.invalid> wrote:
> Hi
>
> How large can the message number be?  rfc977 doesn't seem to say.
> I thought using a 32-bit int would suffice, but maybe not.  64-bit?
> Should I be prepared to deal with arbitrarily large message numbers
> (e.g., use a string type)?

32 bit unsigned int.

Values from 1 to 4,294,967,295.

This is what draft-ietf-nntpext-base-05.txt says (August 1998).  And
I'm pretty sure all the major news servers only support 32 bit ints
for the article numbers.

And my question: What happens when you hit 2^32?  Are there any
news servers that deal with that or do they all just assume
the news admin will do something to reset the numbers before then?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: How large can message number be?
#35852
Author: Curt Welch
Date: Mon, 08 Mar 1999 00:00
35 lines
2478 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
> >>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:
>
>  Curt> And my question: What happens when you hit 2^32?  Are there any
>  Curt> news servers that deal with that or do they all just assume the
>  Curt> news admin will do something to reset the numbers before then?
>
> At, say, a quarter of a million articles/group/day, it will take about
> 50 years before you reach the limit.

That number doesn't deal with the exponential growth of Usenet.

control.cancel seems to get about 100K articles per day right now.  If
usenet article volume doubles every year then a new active file today will
hit the 2^31 article count limit in 5 years and 141 days.  And it will
cross 2^32 a bit less than a year after that.  So this problem is not as
far off as many might suspect.

Now control.cancel isn't a group that anybody needs to read, so when it
hits those limits, we can just do something to fix that special case.  And
the "real" groups have a nice built in volume limit.  When the volume for
any one group gets too large, it gets split into multiple groups (or is
filtered because it's nothing but spam or database dumps (*jobs*)).  So the
other groups will take a much longer time before any of them become
problems.

So I guess this isn't an issue we need to worry about today.  But it would
be nice to know what the servers and newsreaders are going to do when we
pass those numbers...

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: How large can message number be?
#35888
Author: bill davidsen
Date: Wed, 10 Mar 1999 00:00
28 lines
2161 bytes
In article <19990307213231.411$aP@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:

| Now control.cancel isn't a group that anybody needs to read, so when it
| hits those limits, we can just do something to fix that special case.  And
| the "real" groups have a nice built in volume limit.  When the volume for
| any one group gets too large, it gets split into multiple groups (or is
| filtered because it's nothing but spam or database dumps (*jobs*)).  So the
| other groups will take a much longer time before any of them become
| problems.

I have been playing with cleanfeed and have some code to detect high
volume posters to jobs groups and create a group for them on the spot,
like misc.jobs.offered.hi-vol.joe-jobshop. At the moment it's *almost*
working, works better with the flag set for simply deleting all posts by
people who flood the group ;-)

I set the Followup-To: back to the original newsgroup, unless there is a
spec already. Since I do this on the reader machines, I don't mess up my
feed.
-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Politicians and diapers have one thing in common. They should both be
changed regularly and for the same reason.
	--Ted Symons(?)


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