[pylucene-dev] PyLucene in CherryPy
kkinder at gmail.com
Thu Jun 29 09:44:01 PDT 2006
On 6/29/06, Julien Anguenot <ja at nuxeo.com> wrote:
> nope never checked that out.
> Just checked the documentation of PB after your mail. The thing is that
> I don't want any Python specifics server side. I'd like to be able to
> request the NXLucene server from Java code for instance. Am I missing
> something here ?
Technically, Perspective Broker is not limited to Python, although the
only other implementation I know of is actually for Java:
One problem I've come across using xmlrpc (with Twisted) in a web
environment, is that when traffic is high you run out of file handles
on your server. 100 web server requests means 100 (or more) HTTP
connections for HTTP/1.0 -- which is by far the easiest to
implemenent. (I'm not sure Twisted's xmlrpc service supports
So let's say you have 4 round-robin web servers all hitting a central
server. If each of those takes 500 hits, that means 2,000 connections
to the web server. Over PB, it means 4 connections.
And as Pete Fein mentioned, xmlrpc serialization isn't always fast,
especially for large, complex data structures.
More information about the pylucene-dev