[freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-21 Thread Matthew Toseland
On Tuesday 20 May 2008 21:19, Ian Clarke wrote: > On Tue, May 20, 2008 at 3:09 PM, Matthew Toseland > wrote: > > On Tuesday 20 May 2008 20:46, bbackde at googlemail.com wrote: > >> Uh? You have to mark in-memory objects as unused to get rid of them? > > > > No, on-disk ones. Because db4o is

[freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-20 Thread bbac...@googlemail.com
Uh? You have to mark in-memory objects as unused to get rid of them? On Tue, May 20, 2008 at 9:40 PM, Matthew Toseland wrote: > On Monday 19 May 2008 15:24, Matthew Toseland wrote: >> On Monday 19 May 2008 14:47, Matthew Toseland wrote: >> > On Monday 19 May 2008 11:34, Matthew Toseland wrote:

[freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-20 Thread Matthew Toseland
On Tuesday 20 May 2008 20:46, bbackde at googlemail.com wrote: > Uh? You have to mark in-memory objects as unused to get rid of them? No, on-disk ones. Because db4o is query-oriented, it doesn't know what objects you want and what you don't. > > On Tue, May 20, 2008 at 9:40 PM, Matthew Toseland

[freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-20 Thread Matthew Toseland
On Monday 19 May 2008 15:24, Matthew Toseland wrote: > On Monday 19 May 2008 14:47, Matthew Toseland wrote: > > On Monday 19 May 2008 11:34, Matthew Toseland wrote: > > > On Sunday 18 May 2008 19:44, Ian Clarke wrote: > > > > > > > > Looking at the manual, it looks like Perst operates at a lower

[freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-20 Thread Julien Cornuwel
Matthew Toseland a ?crit : > On Monday 19 May 2008 18:02, Julien Cornuwel wrote: >> Matthew Toseland a ?crit : >> >>> Thoughts? IMHO backups are an important feature, and they'd probably have > to >>> be hot backups for our usage... but then, not corrupting on running out of >>> disk space is

Re: [freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-20 Thread Matthew Toseland
On Monday 19 May 2008 15:24, Matthew Toseland wrote: On Monday 19 May 2008 14:47, Matthew Toseland wrote: On Monday 19 May 2008 11:34, Matthew Toseland wrote: On Sunday 18 May 2008 19:44, Ian Clarke wrote: Looking at the manual, it looks like Perst operates at a lower level than

Re: [freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-20 Thread bbackde
Uh? You have to mark in-memory objects as unused to get rid of them? On Tue, May 20, 2008 at 9:40 PM, Matthew Toseland [EMAIL PROTECTED] wrote: On Monday 19 May 2008 15:24, Matthew Toseland wrote: On Monday 19 May 2008 14:47, Matthew Toseland wrote: On Monday 19 May 2008 11:34, Matthew

Re: [freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-20 Thread Matthew Toseland
On Tuesday 20 May 2008 20:46, [EMAIL PROTECTED] wrote: Uh? You have to mark in-memory objects as unused to get rid of them? No, on-disk ones. Because db4o is query-oriented, it doesn't know what objects you want and what you don't. On Tue, May 20, 2008 at 9:40 PM, Matthew Toseland [EMAIL

Re: [freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-20 Thread Ian Clarke
On Tue, May 20, 2008 at 3:09 PM, Matthew Toseland [EMAIL PROTECTED] wrote: On Tuesday 20 May 2008 20:46, [EMAIL PROTECTED] wrote: Uh? You have to mark in-memory objects as unused to get rid of them? No, on-disk ones. Because db4o is query-oriented, it doesn't know what objects you want and

Re: [freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-20 Thread Matthew Toseland
On Tuesday 20 May 2008 21:19, Ian Clarke wrote: On Tue, May 20, 2008 at 3:09 PM, Matthew Toseland [EMAIL PROTECTED] wrote: On Tuesday 20 May 2008 20:46, [EMAIL PROTECTED] wrote: Uh? You have to mark in-memory objects as unused to get rid of them? No, on-disk ones. Because db4o is

[freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-19 Thread Julien Cornuwel
Matthew Toseland a ?crit : > Thoughts? IMHO backups are an important feature, and they'd probably have to > be hot backups for our usage... but then, not corrupting on running out of > disk space is important too! I just rewrote the WoT plugin to use db4o and I must say I like it. My code is

[freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-19 Thread Matthew Toseland
On Monday 19 May 2008 18:02, Julien Cornuwel wrote: > Matthew Toseland a ?crit : > > > Thoughts? IMHO backups are an important feature, and they'd probably have to > > be hot backups for our usage... but then, not corrupting on running out of > > disk space is important too! > > I just

[freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-19 Thread Matthew Toseland
On Monday 19 May 2008 14:47, Matthew Toseland wrote: > On Monday 19 May 2008 11:34, Matthew Toseland wrote: > > On Sunday 18 May 2008 19:44, Ian Clarke wrote: > > > > > > Looking at the manual, it looks like Perst operates at a lower level > > > than db4o - you need to manually create and

[freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-19 Thread Matthew Toseland
On Monday 19 May 2008 14:47, Matthew Toseland wrote: On Monday 19 May 2008 11:34, Matthew Toseland wrote: On Sunday 18 May 2008 19:44, Ian Clarke wrote: Looking at the manual, it looks like Perst operates at a lower level than db4o - you need to manually create and maintain indexes.

Re: [freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-19 Thread Julien Cornuwel
Matthew Toseland a écrit : Thoughts? IMHO backups are an important feature, and they'd probably have to be hot backups for our usage... but then, not corrupting on running out of disk space is important too! I just rewrote the WoT plugin to use db4o and I must say I like it. My code is much

Re: [freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-19 Thread Matthew Toseland
On Monday 19 May 2008 18:02, Julien Cornuwel wrote: Matthew Toseland a écrit : Thoughts? IMHO backups are an important feature, and they'd probably have to be hot backups for our usage... but then, not corrupting on running out of disk space is important too! I just rewrote the WoT

Re: [freenet-dev] More on Perst was Re: New database for Freenet: db4o

2008-05-19 Thread Julien Cornuwel
Matthew Toseland a écrit : On Monday 19 May 2008 18:02, Julien Cornuwel wrote: Matthew Toseland a écrit : Thoughts? IMHO backups are an important feature, and they'd probably have to be hot backups for our usage... but then, not corrupting on running out of disk space is important too!