/[Apache-SVN]
ViewVC logotype

Revision 666359


Jump to revision: Previous Next
Author: dreiss
Date: Tue Jun 10 22:54:49 2008 UTC (16 years, 5 months ago)
Changed paths: 1
Log Message:
Forking Python server.

The python threading model does not provide concurrency for CPU-bound
processes.  Process forking is the current recommended way of writing
scalable Python servers.

Harry Wang ran the [elided] backend with this change for 3 days and observed
no errors.  The threaded backend caused unexplained lockups under this load
after 24 hours.

I also ran a CPU-bound load test against this server with 32 concurrent
clients.  It completed 5X faster than the threaded implementation.


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/py/src/server/TServer.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26