On 6/29/06, Julien Anguenot <[EMAIL PROTECTED]> 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:
http://www.itamarst.org/software/twistedjava/
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
HTTP/1.1!)
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.
-Ken
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev