Re: Storing hierarchical information?

From: Carl Rosenberger <carl_at_db4o.com>
Date: Tue, 8 May 2001 00:09:51 +0200
Message-ID: <9d76he$653$02$1_at_news.t-online.com>


Dave Kimmel wrote:
> The
> only thing that concerns me is the phrase "single user, single thread,
> no transactions" on the Products page. Does this mean that only one
> process can be accessing the database at any one time?

Dave,

yes, I am sorry, at this point in time we have not implemented concurrent access for multiple threads or multiple processes yet.

We do have quite a few users, that use db4o behind a webserver, by using a singleton object with synchronised methods.

Depending on your expected traffic, this might also work out fine for you. The Java language provides object and method locking by simply declaring a method as synchronised.

The description of your usecase sounds as if you could even share a lot of data between sessions. Only changing data would require special instances to be generated for each web client.

Please feel free to contact me privately if a discussion of further details could help. Of course we can also continue the discussion here.

Kind regards,
Carl

---
Carl Rosenberger
db4o - database for objects - http://www.db4o.com
Received on Tue May 08 2001 - 00:09:51 CEST

Original text of this message