[Xapian-discuss] Persistant connections

double ninive at gmx.at
Tue Sep 29 17:16:30 BST 2009


I see, Xapian is multiple-reader, single-writer.
Keeping a WriteableDatabase would be a bad idea.
Thanks
Marcus


double schrieb:
> Hello,
>
> We use Xapian on a fastcgi-webserver and have about 25 worker
> processes. The database is updated about 20 times a minute.
>
> Currently we open a "Database"/"WriteableDatabase" when it is
> needed and close it immediately afterwards. Because of some
> performance issues we would prefer to keep the connection
> permanently open (because the processes are fastcgi...).
>
> Shall I keep my readable "Database" permanently open and open
> the "WriteableDatabase" according to my needs or should I keep
> the "WriteableDatabase" permantley open?
>
> Thanks and greetings from Switzerland
> Marcus
>
>
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>
>   




More information about the Xapian-discuss mailing list