[elephant-devel] Is it safe to use the same elephant store in two different processes?

Robert Synnott rsynnott at gmail.com
Fri Dec 12 01:52:08 UTC 2008


2008/12/11 Yarek Kowalik <yarek.kowalik at gmail.com>:
> I've read section 4.13 in the doc, and it appears that it's possible to use
> two processes.  However, when I launch two processes reading the same
> database, the first process trows errors (see trace below).
>
> Something is messing up the access/confing for the first process.
>
> I was hoping I would not be running into this problem, since I am running
> two processes on purpose: one is running standard HTTP server, the other SSL
> for secure longins, etc.  I'm using BDB as a means of communicating the user
> login state: the user logs in on SSL side, sets up a pass tokens in the
> cookie, redirects to HTTP, and there the server fetches authorisation code
> from DB using the token.
>

If that's all you need it for, you can actually probably run both
servers in the same process.
Rob




More information about the elephant-devel mailing list