[pylucene-dev] Need to build a high-load searcher
Bill Janssen
janssen at parc.com
Tue Mar 20 12:01:15 PST 2007
> I've looked around for embeddable python web servers, or python http server
> classes, and could only find the ones included in the python standard
> library (like BaseHTTPServer), which frankly suck (though I'm using it for
> development for now, for lack of something better).
I've wrapped PyLucene with the Medusa server framework; works like a
charm. Not sure you're going to get "hundreds of requests per second"
with an HTTP-based framework, though; HTTP isn't generally very
efficient.
Python threading works just fine; however, PyLucene uses gcj
threading, which may have different performance parameters. In
general, I've been pretty happy with using PyLucene threads on most
platforms. In general, I'm very happy with a Python VM for servers,
in particular the memory management.
Twisted seems to be the recommended platform, but it's too heavyweight
for my taste.
Bill
More information about the pylucene-dev
mailing list