Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-07 Thread Alex Mizrahi
> How can you guarantee that the postgres cache is coherent across machines? When something is updated invalidation notifications are recorded. Notifications are read and applied before each transaction. > Also, BDB does caching in shared memory regions across multiple processes, > so I'm not s

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-07 Thread lukas.georgi...@hormail.com
. Mai 2011 18:20 To: elephant-devel@common-lisp.net Subject: Re: [elephant-devel] using one store with mutiple lisp instances > I am curious why the postgres backend is so unpopular. I would not recommend postgres backend as a default choice because it has its own "peculiarities". Par

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-07 Thread Ian Eslick
How can you guarantee that the postgres cache is coherent across machines? Also, BDB does caching in shared memory regions across multiple processes, so I'm not sure how much extra benefit you'll get from the Postgres cache. Sent from my iPhone On May 7, 2011, at 9:20 AM, Alex Mizrahi wrote:

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-07 Thread Alex Mizrahi
> I am curious why the postgres backend is so unpopular. I would not recommend postgres backend as a default choice because it has its own "peculiarities". Particularly, it requires a discipline with use of types, as only strings and (64-bit) integers are properly sorted. Another major drawback

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-05 Thread Lukas Georgieff
t in the mentioned scenario with BDB.But seems that we've to rethink and test our app with postgres! Best regards, Lukas > Date: Thu, 5 May 2011 12:01:40 +0200 > From: hen...@evahjelte.com > To: elephant-devel@common-lisp.net > Subject: Re: [elephant-devel] using one store wi

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-05 Thread Ian Eslick
BDB. > But seems that we've to rethink and test our app with postgres! > > > Best regards, > > Lukas > > > > > Date: Thu, 5 May 2011 12:01:40 +0200 > > From: hen...@evahjelte.com > > To: elephant-devel@common-lisp.net > > Subject: Re: [e

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-05 Thread Lukas Georgieff
ahjelte.com > To: elephant-devel@common-lisp.net > Subject: Re: [elephant-devel] using one store with mutiple lisp instances > > > Has anybody of you any idea or clue that could help us to use elephant with > > Berkeley DB in the mentioned scenario, maybe an additional framework

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-05 Thread Henrik Hjelte
> Has anybody of you any idea or clue that could help us to use elephant with > Berkeley DB in the mentioned scenario, maybe an additional framework, etc. > that could handle the locking of the shared db? > I am curious why the postgres backend is so unpopular. As far as I know there is no real da

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-04 Thread lukas.georgi...@hormail.com
Hi Ian, hi Leslie, thank you for comments! > I should clarify the first sentence. With a bunch of external machinery to support a distributed transaction model, it's possible to run BDB across machines, but Elephant > doesn't have any of it so can only use the built-in shared memory locking faci

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-04 Thread Ian Eslick
I should clarify the first sentence. With a bunch of external machinery to support a distributed transaction model, it's possible to run BDB across machines, but Elephant doesn't have any of it so can only use the built-in shared memory locking facility. There was some talk a year or two ago a

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-04 Thread Ian Eslick
BDB does not work across multiple machines, its transaction support relies on a shared memory region to handle locking so any shared memory architecture (with multiple CPUs) works fine but separate machines and a NAS device don't work. You'll have to use the Postgres store (5x slower, but reaso

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-04 Thread Leslie P. Polzer
On Wed, May 04, 2011 at 08:37:51PM +0200, Lukas Georgieff wrote: > well, if the points I've mentioned before are correct, I've only one > specific question :-) > > We want to share a network device that contains the Berkeley-DB files. > This BDB shall be accessed by two or more other machines that

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-04 Thread Lukas Georgieff
Hi Leslie, >Hi Lukas, > >> Has someone any experience using elephant in that manner? > >Yes -- lots in fact. But you need to ask a specific question. well, if the points I've mentioned before are correct, I've only one specific question :-) We want to share a network device that contains the Ber

Re: [elephant-devel] using one store with mutiple lisp instances

2011-05-04 Thread Leslie P. Polzer
Hi Lukas, > Has someone any experience using elephant in that manner? Yes -- lots in fact. But you need to ask a specific question. Leslie ___ elephant-devel site list elephant-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/elephant