🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61376

Re: [xBin] some examples (was [FNTP])

#61376
From: J.B. Moreno
Date: Sun, 13 Oct 2002 01:31
83 lines
5147 bytes
In article <20021012132501.396$rd@newsreader.com>, 
 Curt Welch <curt@kcwc.com> wrote:

> "J.B. Moreno" <planb@newsreaders.com> wrote:
> > I'm not the one running a full feed, but (a) aren't most binaries
> > posted only to a single group,
> 
> I don't know.  I'd have to study that.  But almost everything in the mp3
> groups is cross posted to many groups, like this from the first one I
> checked:
> 
>   Newsgroups: alt.binaries.sounds.mp3, alt.binaries.sounds.mp3.1990s,
>               alt.binaries.sounds.mp3.indie
> 
> The mp3 groups might be somewhat unique in this practice.

Probably so -- since the problem for most binary groups is too many
post, not too few, it's probably misguided.

Also if you order the groups before hashing them, even crossposting
isn't out of the question if it's limited to a subset of groups.

> > and (b) why guess on the number of bits needed, it ought to be a
> > fairly straightforward test if you've got the hashing code set up
> > (start with 18 bits, run it across the entire group list, if the
> > number of hashes is less than the number of groups, up the bit
> > allocation).
> 
> The group list constantly changes.  Just because you don't get a collision
> today doesn't mean one won't show up tomorrow.  You have to do the above
> test and then add a lot more bits beyond the point you are stop seeing
> collisions in the set of groups today.

True, but in practice you'll be adding bits by 6, not 1 or 2.  Also,
remember it's not all groups, just the ones where binaries are posted
(in fact this will help prevent binaries from being posted to
inappropriate groups).

> > If (a) is correct then there is an additional benefit from hashing the
> > entire Newsgroups header -- namely it allows you to filter out
> > cross-posted binaries.
> 
> Only if you were using a positive filter intead of a negative one.  Someone
> wanting only a few groups could make good use of the hash by accepting only
> a small set of hash values. And collisions for them would not be as
> dangerous because it would tend to sometimes leak a random group (which by
> odds would tend not to have a lot of volume).  But if you wanted to use the
> hash to block a few high volume groups, hasing the entire group list would
> mean anything cross posted in your blcoked group would leak through. That
> would not be good.

Given the number of groups, it seems possible to use a postivie test
without being too time consuming -- making it possible to filter based
upon individual groups and not whole hierarchies.

Small ISPs could carry a binary feed that automatically configures
itself to carry groups that were requested, and not have the bother of
a full feed.  Better yet, it'd allow ISPs do something even more useful
-- retain a limited number of full files (as little as 1 file) for
"unused" groups, and use the bandwidth savings for groups with heavy
traffic (hmn, in fact that could be expanded so that the more times a
group is accessed and files downloaded, the greater it's allocation for
bandwidth and server space).


-snip-
> > This fits in with someone elses suggestion that the structure be
> > partially fixed, allowing you to leave off tags for those fields, but
> > have tags included as part of the "extras" which are allowed for in the
> > future if it's ever expanded (the above suggestion for the ng hash
> > could be one of the extra's, if it's present the binary is posted to a
> > single group, if not either it wasn't or the posting software decided
> > not to include that info).
> 
> Yeah, the idea of using tags in the format is just to allow that type of
> felexibility.

Yeah, but my main point was that you could reduce the required size by
eliminating the tags for "required" fields.

-- 
J.B. Moreno
Technical Details
Message-ID: <121020022131386134%planb@newsreaders.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!dca6-feed2.news.algx.net!allegiance!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!newsreader.com!news2.newsreader.com!flame.newsreader.com!planb
References: <20021011035242.323$xD@newsreader.com> <111020021936591927%planb@newsreaders.com> <20021011215658.332$3G@newsreader.com> <121020020105387942%planb@newsreaders.com> <20021012021809.043$Ah@newsreader.com> <121020020456270923%planb@newsreaders.com> <20021012132501.396$rd@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <121020022131386134%planb@newsreaders.com>
Subject: Re: [xBin] some examples (was [FNTP])
Date: Sat, 12 Oct 2002 21:31:38 -0400
From: "J.B. Moreno" <planb@newsreaders.com>
References: <20021011035242.323$xD@newsreader.com> <111020021936591927%planb@newsreaders.com> <20021011215658.332$3G@newsreader.com> <121020020105387942%planb@newsreaders.com> <20021012021809.043$Ah@newsreader.com> <121020020456270923%planb@newsreaders.com> <20021012132501.396$rd@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!dca6-feed2.news.algx.net!allegiance!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!newsreader.com!news2.newsreader.com!flame.newsreader.com!planb
Newsgroups: news.software.nntp
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8bit
User-Agent: Thoth/1.6.0 (Carbon/OS X)
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8
  N*x>d^h
X-Trace: flame.newsreader.com 9Jj@nbEnltibnKlYgLC4K@mL,U4/3YvAM5-RSg_mLGF1/Tk3
Lines: 82