[Xapian-discuss] Performance of remote database

Rafael SDM Sierra sdm at underlinux.com.br
Tue Nov 7 20:44:50 GMT 2006


On 11/7/06, Rafael SDM Sierra <sdm at underlinux.com.br> wrote:
>
> On 11/7/06, Rafael SDM Sierra <sdm at underlinux.com.br> wrote:
> >
> > On 11/7/06, Olly Betts <olly at survex.com> wrote:
> > >
> > > Try using " 127.0.0.1 " as the IP address to ensure you're using the
> > > loopback interface.  That eliminates any effect from the network
> > > itself (though the TCP stack is still involved).
> >
> >
> > Yes, I will try it
> >
>
> Nothing changes
>
> It's quite possible that either of these are at fault - I've not
> > > done any profiling work in remote writing yet.
> > >
> > > Another thing to try is using xapian-progsrv instead of xapian-tcpsrv.
> > > That will still be serialising documents and using the same remote
> > > protocol, but across a pipe instead of a TCP socket.
> >
> >
> > I just need replace the program? insted start ./xapian-tcpsrv I need
> > only start the xapian-progsrv? Or need more something? Anyway I will try it
> > too
> >
>
> 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
>

Now I tryed in another machine across xapian-progsrv and got the espected
result: lots of documents per second

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



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