John,
On Nov 15, 2007, at 1:41 PM, Benjamin Krause wrote:
i would not suggest usings AAF's ferret server for searching,
though .. but it's quite easy to do the searching in each mongrel, so
not concern here either.
I'm confused... what does "searching" mean in this context? :)
If you're using AAF, you should use the ferret drb server to index
your objects. however, using the ferret server means, whenever
someone is search (if you're using Model.find_by_contents)
the search will be forwarded to the ferret server.
The ferret server will process the searching request and send
the response back to the mongrel. This overhead isn't
necessary, as mongrel could use a local index to do the
search. there is no need to bother the ferret server.
so, indexing (aka updating, creating, saving, whatever) should
use the ferret server, but searching (using find_by_contents)
will use the ferret server if you're using standard AAF, even
though it's not really necessary and could result in a bottleneck.
don't get me wrong. it is totally fine to use standard AAF, unless
you're having huge amounts of searches or livesearches. I would
not recommend use a custom ferret solution, unless you
expect a problem or already have one :)
Cheers
Ben
---
Benjamin Krause
http://www.omdb.org/
[EMAIL PROTECTED]
Rails-Schulung "Advancing with Rails" mit David A. Black
19.11.-22.11.2007, Berlin-Mitte
Details u. Anmeldung: http://www.railsschulung.de
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk