On 8/5/06, Sam <[EMAIL PROTECTED]> wrote:
> > Solution? You can kind of get around this problem by using the Index
> > class and setting the :auto_flush parameter to true. If you are
> > concerned about performance though you are better off with just the
> > one process writing to the index.
> >
> > Does that make sense?
>
> Yes. Mongrel_cluster uses a different pid for each mongrel instance. I
> don't think there would be any way to specify which instance the load
> balancer uses based on the action so... :auto_flush seems the way to go.
> The application should be 99.9% about reading so hopefully the
> performance hit won't be significant. I'll have to test and see. Cheers
> Dave.

Cool. If that solution doesn't work you can write a simple server
using DRb that takes indexing requests. This shouldn't be too hard and
will probably be added to a future version of Ferret.

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

Reply via email to