🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #4040

Re: mmap()'ing the active file for innd and nnrpd

#4040
From: Brad Templeton
Date: Wed, 03 Jan 1996 00:00
15 lines
1313 bytes
Better to put the active file into a more usable form however, ie. a hashed
database where you can look up fields based on keys (the newsgroup name).

Of course to do this you would have to modify your hash package to work in
a special memory block, ie. don't use pointers, but offsets from the start
of the memory block.

You can write a trivial memory allocator because you never free data, just
add new groups on rare occasions.
-- 
Brad Templeton, publisher, ClariNet Communications Corp.	 info@clari.net
The net's #1 E-Newspaper (1,160,000 paid sbscrbrs.)  http://www.clari.net/brad/


Technical Details
Message-ID: <9512311505.aa14260@looking.clarinet.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
References: <4bp24r$ogm@piano.synapse.net> <4bposb$4t1@piano.synapse.net>

Show Full Headers
Complete Article Headers
Message-ID: <9512311505.aa14260@looking.clarinet.com>
Subject: Re: mmap()'ing the active file for innd and nnrpd
Date: Wed, 03 Jan 1996 00:00:00 +0000
From: brad@looking.clarinet.com (Brad Templeton)
References: <4bp24r$ogm@piano.synapse.net> <4bposb$4t1@piano.synapse.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
X-Deja-AN: 133873051
Distribution: world
Sender: zorch@ftp.UU.NET
Organization: ClariNet Communications Corp.
Newsgroups: news.software.nntp,news.admin.technical