On Mon, Nov 14, 2005 at 09:48:26AM +0000, Michael Rogers wrote: > Matthew Toseland wrote: > > The other > > option is to use some sort of GPL'd java database library. We would > > only need an on-disk indexed (btree?) flatfile database; there must be > > implementations out there. > > There's a Java implementation of Berkeley DB with a GPL-compatible > license: http://sleepycat.com/products/bdbje.html
That's probably the best thing for storing the index and the LRU. It's journaled/transactioned? > > > - Preallocation. We can give freenet a completely fixed space usage, > > which would be useful for some users, by creating a full size empty > > datastore on initialization. > > In that case you could treat the datastore as an encrypted block device > and create a simple filesystem inside it - data, metadata and free space > would be indistinguishable. However if the datastore lives on a > journalled filesystem it will still be possible to work out which blocks > have been accessed by looking at the journal of the host filesystem. Nah, you'd just read the LRU. > > Cheers, > Michael -- Matthew J Toseland - toad at amphibian.dyndns.org Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20051114/b8b76212/attachment.pgp>
