Article View: news.software.nntp
Article #6107Re: How to do a better USENET file system
From: USENET news
Date: Thu, 28 Mar 1996 00:00
Date: Thu, 28 Mar 1996 00:00
32 lines
2309 bytes
2309 bytes
In article <4je9g8$e2d@infa.central.susx.ac.uk>,
Andy Clews <andy@central.susx.ac.uk> wrote:
>And lo, thus spake Jerry Aguirre unto the assembled multitudes:
>> If you had a list of IDs already, from the "push" fed URL/NOV, then you
>> don't need a "newnews" command. Even with the current scheme this would
>> only require a lookup of the pathname. If the articles were stored by
>> message id, instead of the stupid !@#$$&* article number you would not
>> even need that.
>
>...except that storing articles with file names such as
>
> <4imb61$fe5@tines.hsc-sec.fr>
>
>might cause all sorts of problems, given that most news servers are UNIX
>boxes. Don't forget that the characters <, > and $ are all shell
>metacharacters and this may cause more overall administrative grief than it is
>worth, not to mention the increase in space requirements due to the greatly
>increased length of file names.
You could always encode the problem characters, e.g. as in URLs
(%+hexadecimal code). However, since you wouldn't want all the articles
(maybe a million or more) in one enormous directory (lookup speed would be
awful on many systems, even if directories that large worked at all), you'd
probably want to use some sort of hashing scheme and then subdivide into
directories e.g. by leading substring, or something like that. Given some
means to resolve hashing collisions, you could well be able to use
hash-derived filenames much shorter than the ridiculously long message IDs
generated by some software, and containing only safe characters.
John Line
Technical Details
Message-ID:
<4jf00k$bdc@lyra.csx.cam.ac.uk>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!not-for-mailReferences:
<Dn4HrC.KIx@twwells.com> <4imb61$fe5@tines.hsc-sec.fr> <4ja5d3$a48@olivea.ATC.Olivetti.Com> <4je9g8$e2d@infa.central.susx.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <4jf00k$bdc@lyra.csx.cam.ac.uk> Subject: Re: How to do a better USENET file system Date: Thu, 28 Mar 1996 00:00:00 +0000 From: news@news.cam.ac.uk (USENET news) References: <Dn4HrC.KIx@twwells.com> <4imb61$fe5@tines.hsc-sec.fr> <4ja5d3$a48@olivea.ATC.Olivetti.Com> <4je9g8$e2d@infa.central.susx.ac.uk> 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!not-for-mail X-Deja-AN: 144732617 Distribution: inet Organization: Computing Service, Cambridge University, England Newsgroups: news.software.nntp