[Xapian-discuss] Performance of remote database

Rafael SDM Sierra sdm at underlinux.com.br
Tue Nov 7 21:39:48 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.


Hmm, it's pretty good, especially with replace_document, now both
(add/replace) take the same time, now I'm getting arround of 9~10
documents/s

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')


But isn't equal this method (progsrv)

Cheers,
>     Olly
>
>
>


-- 
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