Hi Emanuele, 

Mi dispiace, volgio aiutarlo en Italiano ma mio Italiano e non buon.

So, Ferret is thread-safe yes, but Rails is not - each instance of Rails
fastcgi will be running in a separate process (with a separate Ferret et
al.) 

So, if your initial plan is for only one fastcgi process then you'll be
fine.  If you will be having multiple fastcgi processes then you may
encounter problems without the DRb server.

Whether it's a cluster of mongrels of a cluster of fastcgis, they are
separate processes either way.

John.

On Thu, 2007-06-14 at 09:34 +0200, Emanuele wrote:
> Greetings,
> 
> I'm certainly :-) too thick, but after reading Ferret and AAF's
> documentation I'm still wondering if I really need a DRb server in
> production.
> 
> At the moment, the planned structure for production mode is a single
> server running the app with Apache and fastcgi; as far as I know, Ferret
> is multithread-safe, isn't it? So, is a DRb server required to avoid any
> concurrent access problem in this scenario?
> 
> Let's say we're going to switch to a bunch of mongrels, still keeping
> everything on a single server: now the DRb server would be really
> necessary, right? I mean, there would be multiple processess trying to
> access the index to read and possibly update it, so here the DRb server
> would save the day, right?
> 
> Thanks for your patience :-)
> 
-- 
http://johnleach.co.uk

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to