[Xapian-discuss] xapian-tcpsrv php in real fastcgi loop

Olly Betts olly at survex.com
Thu Mar 25 13:32:15 GMT 2010


On Tue, Mar 23, 2010 at 03:32:12PM +0100, Martin Regner wrote:
> What i mean is, what you have written above. The idea was a
> queueing/buffering solution inside tcpsrv. The tcpsrv daemon retrieves
> an 'index-this-document' command, takes the data and sends it to the
> database if write lock on the database is released. If there is no lock
> it behaves as before. So what i mean is that the tcpsrv is handling the
> queueing. It's just an idea without knowing what exactly the tcpsrv
> daemon is doing. 

When you open a database remotely, it behaves just like a local database
would, except that a few operations may not be supported, and ones which
involve passing a lot of data will be speed limited by the network.

So you can't really shoe-horn in a queueing system like that - the
database would appear to behave in inconsistent ways to clients.

Cheers,
    Olly



More information about the Xapian-discuss mailing list