lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marvin Humphrey <>
Subject Re: [lucy-user] LucyX::Remote::SearchServer concurrency
Date Wed, 09 Nov 2011 18:41:53 GMT
On Wed, Nov 09, 2011 at 08:33:31PM +0200, goran kent wrote:
> Looking at the code (and I'm no Perl guru) for
> LucyX::Remote::SearchServer->serve(), I don't see any forking or other
> multitasking mechanisms being used.  Correct me if I'm miss-reading
> the code, but doesn't that mean that serve() will block until it
> finishes the current search  --  ie, no concurrent searches?


FWIW, Searchers are cheap, because we rely heavily on the OS cache rather than
dump stuff into process RAM.  That aids with multi-process concurrency,
because adding another worker is inexpensive.

Marvin Humphrey

View raw message