[Xapian-discuss] Performance of remote database
Rafael SDM Sierra
sdm at underlinux.com.br
Tue Nov 7 21:10:08 GMT 2006
On 11/7/06, Olly Betts <olly at survex.com> wrote:
>
> On Tue, Nov 07, 2006 at 07:35:58PM +0000, Rafael SDM Sierra wrote:
> > WOW!!! 1000 documents in 4 seconds, it's a good change, using
> >
> > xapian_index =
> > xapian.remote_open_writable('/usr/local/xapian-0.9.8
> /bin/xapian-progsrv','--writable
> > /path/to/database')
> >
> > It was very better, so, the problem is not with the serializator,
> > possibility number 2 discarted
>
> And I don't think it's the network as you should definitely be running
> over the loopback interface when you use 127.0.0.1.
>
> Try applying the attached patch which seems to help xapian-tcpsrv
> performance on the testsuite at least.
Yes, I'll try it now
Another interesting thing to try might be (you'll need to have ssh
> public/private keys set up for 127.0.0.1 so you don't need to type your
> password):
>
> xapian_index = xapian.remote_open_writable('ssh', '127.0.0.1/usr/local/xapian-
> 0.9.8/bin/xapian-progsrv --writable /path/to/database')
Yes, I try this too and got a good performance (lots of document, I can't
count - too fast xD -)
Cheers,
> Olly
Thanks
--
SDM Underlinux
Garimpar.com
--
PEP-8
Só existem 3 tipos de pessoas no mundo, as que sabem contar, e as que não
sabem.
There are only 3 kinds of people in the world, who know count, and who don't
know
More information about the Xapian-discuss
mailing list