[pylucene-dev] PyLucene in CherryPy

Ken Kinder kkinder at gmail.com
Fri Jun 30 08:45:40 PDT 2006


On 6/29/06, joe kim <joe.kim at gmail.com> wrote:
>
> I need to do more research on PB.  Are you saying that PB can function
> as a HTTP load balancer?


No. The use-case I have in mind is that you already have an application with
an existing load balancer. When you add full-text indexing to your
application, you have another server setup with nxlucene. The web servers
query that server for data.

Of course, xmlrpc is one way to query them, but it has some drawbacks. One
connection can only handle on concurrent request, and with HTTP/1.0, only
one request. With pb, besides some improvements in the binary nature of the
protocol, you can handle hundreds (thousands?) of queries with one
connection. So having one permanent connection instead of thousands of
transient connections gives you some scalability advantages.

-Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/pylucene-dev/attachments/20060630/7efbfc72/attachment.html


More information about the pylucene-dev mailing list