🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #12968

Re: "Good Net-Keeping Seal of Approval" for NNTP servers?

#12968
From: Vincent Archer
Date: Wed, 04 Dec 1996 00:00
43 lines
2457 bytes
Brad Templeton (brad@clarinet.com) wrote:
> a) One goal is to make it easy for programs to manipulate, and programs
> can trivially work with 32 bit integers.

What? Last time I checked, sizeof(long) said 8.
How, you mean you're not using an alpha 64bit CPU? How quaint...

(moral: don't assume anything about the architecture of your CPU, most
 notably with the advent of 64bits CPU looming over the horizon)

Besides, using a basic CPU-integer makes sense only if you want to use the
integer for computation. But this is an ID, not a value. The only massaging
it will have is to be hashed into a table (or link table) for faster access.
You can almost as easily hash a long long (the current 64bits standard) as
a long.

Remember: Right now, the ressource needs are ranked as follow:
	1: Network bandwidth
	2: I/O latency
	3: Disk space
	4: CPU use

(yep. Unless you're serving 1000s of LAN readers, you don't need a lot of CPU)

> b) The other goal is to allow the transmission of vast numbers of message
> IDs for various applications.  The smaller the better.

That is a worthwhile goal. However, trying to shrink the protocol overmuch
might not be that good an idea.

> (In fact, one can probably generate a 64 bit hash from current message-ids
> with very low collision probability, which is acceptable for such a project,
> but 32 bit with no collision probability is even better.)

Getting 32bits + X bits (in a manner similar to the current one, and remember
WITHOUT a centralizing/coordinating agency other than existing ones) might
be an accepted step much faster.

-- 
Vincent ARCHER  				Email: archer@frmug.org

Technical Details
Message-ID: <584ldp$gl4@tines.hsc.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.net-abuse.misc.mbox.zip!not-for-mail
References: <trans-ya023180001911961144110001@ssbunews.ih.lucent.com> <87bucmgqb2.fsf@tmill06.sch.advantis.com> <57cvu6$745@fugue.clari.net> <LOC.57e5fm$k19@segfault.monkeys.com> <57fmub$7ua@fugue.clari.net>

Show Full Headers
Complete Article Headers
Message-ID: <584ldp$gl4@tines.hsc.fr>
Subject: Re: "Good Net-Keeping Seal of Approval" for NNTP servers?
Date: Wed, 04 Dec 1996 00:00:00 +0000
From: archer@hsc.fr (Vincent Archer)
References: <trans-ya023180001911961144110001@ssbunews.ih.lucent.com> <87bucmgqb2.fsf@tmill06.sch.advantis.com> <57cvu6$745@fugue.clari.net> <LOC.57e5fm$k19@segfault.monkeys.com> <57fmub$7ua@fugue.clari.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.net-abuse.misc.mbox.zip!not-for-mail
X-Deja-AN: 202379660
Organization: Usenet Canal Historique
Newsgroups: news.admin.net-abuse.misc,news.software.nntp