[AAF] concurrency in ferret-server


#1

AFAICT, ferret_server should be able to handle multiple clients
writing to it at once, since ferret itself is thread safe. However,
it’s not clear whether running concurrent index rebuilds on different
would be possible, since they run inside ferret_server. Anyone have
experience with this?

-ryan


#2

On Thu, Apr 12, 2007 at 02:39:48PM -0700, Ryan K. wrote:

AFAICT, ferret_server should be able to handle multiple clients
writing to it at once, since ferret itself is thread safe. However,
it’s not clear whether running concurrent index rebuilds on different
would be possible, since they run inside ferret_server. Anyone have
experience with this?

As I wrote in my other mail regarding 0.11.4 problems, rebuild_index is
a problem since it trashes the whole index directory and starts from
scratch.

The fact that rebuild_index uses it’s own Ferret::I instance for doing
this may be part of the problem. I do this to set auto_flush to false
when rebuilding the index.

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
removed_email_address@domain.invalid | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa