Re: XMLRPC Server
- From: "Paul Boddie" <paul@xxxxxxxxxxxxx>
- Date: 6 Feb 2007 03:41:54 -0800
On 6 Feb, 12:30, "Lorenzo" <lorenzo.visca...@xxxxxxxxx> wrote:
Unfortunately I have to use Apache. The server implementation will we
very easy, so I'm also considering more efficient solutions than
python
You could try mod_python if there isn't an absolute requirement for
CGI:
http://www.modpython.org/
Some people might recommend other frameworks which operate in separate
long-running processes, but if you don't have the freedom to have such
processes, you might wish to consider focusing on the start-up costs
of your CGI programs. Once upon a time, CGI was deemed very expensive
because process creation was itself expensive, and many database-
related CGI programs had to open connections to database systems whose
connection costs were very expensive (eg. Oracle). While not spawning
new processes and not opening and closing database connections avoids
such costs, it is worth reviewing just how expensive such things are
on modern operating systems (on modern hardware) and with other
database systems (such as MySQL, which you said you were using).
Ultimately, some benchmarking/profiling will indicate whether your
performance expectations are realistic.
Paul
.
- References:
- XMLRPC Server
- From: viscanti
- Re: XMLRPC Server
- From: Diez B. Roggisch
- Re: XMLRPC Server
- From: Lorenzo
- XMLRPC Server
- Prev by Date: Re: XMLRPC Server
- Next by Date: Re: How to prevent from race conditions to share data between many process and thread in python
- Previous by thread: Re: XMLRPC Server
- Next by thread: Re: XMLRPC Server
- Index(es):
Relevant Pages
|