Article View: news.software.nntp
Article #9411Re: how to speed up innd
From: Jerry Aguirre
Date: Wed, 17 Jul 1996 00:00
Date: Wed, 17 Jul 1996 00:00
41 lines
2756 bytes
2756 bytes
In article <4sfnpn$5c0$1@bushwire.mira.net.au> Mark Delany <markd@mira.net.au> writes: >What is really needed - and what has been discussed here before - is >to modify inn (the whole package, not just the program) so it >interfaces via a News-Storage API of some sort so that different >libraries can be bolted in at the bottom end. Libraries that come to >mind include the current UFS implementation, commercial RDBMS, the >stuff we're discussing here, whatever. So, what really needs to be done is to come up with the API. If that is done correctly then the rest is a "small matter of programming". An important consideration is where to break the functionality and define the inteface. By example is only the article storage, with cross posting included, to be considered? What about the maintenance of the active and history file? Specifying only the article storage would be the simplist break. One could then store the data in a variety of ways. Only a realatively small amount of existing code would need to be changed, those related to the create, link, open, and close of the article text. But keeping the existing secondary files could hamper more inovative approaches. By example it might be nice to change the format of the NOV file to directly index to the location of the article in the new storage scheme. Or one might want to change the format of the active file for similar reasons. The format of the history file could also become a limitation. Changing the format of the active, history, or NOV, would effect a significantly larger amount of code. Is it worth writing an API that one simply throws and article at to handle all the filing. Then one needs to include article indexing (NOV) and expiration in the API. I would like to stress again that whatever API is created must be applicable to the existing storage scheme as well as allowing more inovative approaches. That way the existing code could ship with a library that implemented the API as separate files for each article. New schemes would simply replace that API library.
Technical Details
Message-ID:
<4shjvl$qj0@olivea.ATC.Olivetti.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!not-for-mailReferences:
<4sc8e0$q8u@twwells.com> <4sel1d$33m@twwells.com> <vz2enmcvi1q.fsf@wildstar.net> <4sfnpn$5c0$1@bushwire.mira.net.au>Show Full Headers
Complete Article Headers
Message-ID: <4shjvl$qj0@olivea.ATC.Olivetti.Com> Subject: Re: how to speed up innd Date: Wed, 17 Jul 1996 00:00:00 +0000 From: jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre) References: <4sc8e0$q8u@twwells.com> <4sel1d$33m@twwells.com> <vz2enmcvi1q.fsf@wildstar.net> <4sfnpn$5c0$1@bushwire.mira.net.au> 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: 169554742 Organization: Olivetti ATC; Cupertino, CA; USA Newsgroups: news.software.nntp