You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Dvir Volk <dv...@gmail.com> on 2011/03/04 23:47:17 UTC

Re: python preforking server

In case anyone is interested, it's up:
https://issues.apache.org/jira/browse/THRIFT-1083


On Mon, Feb 28, 2011 at 6:26 PM, Dvir Volk <dv...@gmail.com> wrote:

> Hi all,
>
> I've written a python preforking thrift server, based loosely on
> TThreadPoolServer.
> This server has both the advantage of avoiding GIL single CPU binding, and
> of voiding the overhead of forking a new child for each client.
>
> It's of course much faster than TThreadPoolServer, and in situations where
> clients connect and disconnect all the time and don't issue a lot of
> requests per connection, also also much faster than TForkingServer.
>
> If anyone is interested, or if the core developers want this class
> contributed back, I'd be happy to post it.
>
> Thanks
>



-- 
Dvir Volk
System Architect, Do@, http://doat.com