Bakki Kudva
2007-Sep-17 19:21 UTC
[Ferret-talk] 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
Jens Kraemer
2007-Sep-20 20:52 UTC
[Ferret-talk] Drb - shared app with multiple private databases - howto?
On Mon, Sep 17, 2007 at 03:21:02PM -0400, Bakki Kudva 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
Bakki Kudva
2007-Sep-24 16:05 UTC
[Ferret-talk] Drb - shared app with multiple private databases - howto?
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 On 9/20/07, Jens Kraemer <jk at jkraemer.net> wrote:> On Mon, Sep 17, 2007 at 03:21:02PM -0400, Bakki Kudva 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 > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk >