Drb - shared app with multiple private databases - howto?

Hello,

I’ve been trying to get my head around ferret and the one thing that
stumps me is how I might use Drb on a dedicated server with multiple
clients using the SAME application but each with their own private
database and other file assets (in an uploads directory within the
app)

Thank you for any suggestions, pointer etc.

Also I’d be very interested in hearing from those who are using it in
production apps right now and what your experience has been in terms
of stability.

-bakki

On Mon, Sep 17, 2007 at 03:21:02PM -0400, Bakki K. wrote:

Hello,

I’ve been trying to get my head around ferret and the one thing that
stumps me is how I might use Drb on a dedicated server with multiple
clients using the SAME application but each with their own private
database and other file assets (in an uploads directory within the
app)

difficult thing, you’d have to severely hack the DRb server to achieve
that (tell the server with each method call which db to use).

And you should probably synchronize access inside the DRb server so the
switching around of connections doesn’t interfere with simultaneous
indexing from multiple application processes.

cheers,
Jens


Jens Krämer
http://www.jkraemer.net/ - Blog
http://www.omdb.org/ - The new free film database

Thank you for your feedback. I am getting to the conclusion that for
this and other reasons we should use VPS for each client. So we are
thinking of using Xen.

-bakki