On Tue, Apr 24, 2007 at 01:58:35AM +0200, Lachlan Laycock wrote: > Hi there, > > I am getting this error very often on our website now that it is > experiencing heavey traffic (www.mintd.com). I'd like to address this > problem. Can you please explain what is meant by "DRb" to avoid these > write lock errors?
DRb is a way to for Ruby programs to communicate between processes. In the context of Ferret it means to set up one server process that does all the indexing (and searching). The 'real' application processes (e.g. Mongrel instances) only access the index through this DRb server. This usually eliminates all the locking problems that might arise since now always only one process is accessing the index. If you use acts_as_ferret, you can use the built-in DRb server: http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer Jens -- Jens Krämer webit! Gesellschaft für neue Medien mbH Schnorrstraße 76 | 01069 Dresden Telefon +49 351 46766-0 | Telefax +49 351 46766-66 [EMAIL PROTECTED] | www.webit.de Amtsgericht Dresden | HRB 15422 GF Sven Haubold, Hagen Malessa _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

