1 Aug 15:03
Multithreaded read access
Lucian Nicolescu <lucian <at> tonicagency.com>
2007-08-01 13:03:47 GMT
2007-08-01 13:03:47 GMT
Hi all, I have a Xapian index set up and a mutithreaded xmlrpc server serving results. Inside the xmlrpc server I only open the xapian database for reading once. This causes requests to "stay in line" in order to get results and sometimes a one operation can take up to 1 second to complete (a time-taking operation includes text analisys and some more operations besides the actual Xapian interaction) thus delaying all the queued requests. I read lots of documents about xapian in mutithreaded environment and concluded that even for read access one cannot open the same database more than once and perform operations at the same time. Because I did not find a straight answer to this I am hoping one of you guys can clear this once and for all. I am using Xapian 0.9.6, Python bindings and Twisted Python XMLRPC package. Thanks, Lucian Nicolescu
I'll confirm closer to the date.
>>
>> Fabrice
>>
>
> I've added this to the Wiki. Please edit and add to the Wiki page if you
> can attend one of the meetings (we still need to confirm a date for
> London).
>
> Cheers
>
> Charlie
>
I suggest we fix the details of the London Xapian pubmeet as:
Thursday 13th September
from 6pm
at the Pembury Tavern
RSS Feed