[Xapian-discuss] xapian-tcpsrv very slow

Roger Fishwick roger at keyslider.co.uk
Wed Feb 8 15:15:36 GMT 2006


I have been looking at xapian for a project and have so far been very 
impressed.  I have hit one major problem the final architecture requires 
that the web server be a deferent machine from the server that xapian is 
installed on.  With my test code using local database ($db_path = 
"/var/xapain_db/default";    $db = new_database($db_path);) a query takes 
around 0.012 seconds on the same machine with the connection changed to use 
tcp ($db = remote_open('',3055);) the same query takes 129 seconds 
or times out.   I am currently trying to follow tcpsrv via the debuger 
however so far everything looks reasonable !

Any ideas would be well received.

environment: HP G4 2X3.6Ghz 2Gb ram, mandrake 2005, xapian 0.9.2


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 267.15.2/252 - Release Date: 06/02/2006

More information about the Xapian-discuss mailing list