Hi Brian > It turns out that I need a highly efficient server. I'm a one-man > shop and am limited in the number of servers I can afford to deploy.
I can't recommend using Twisted highly enough :-) So I've attached a web server that should be compatible with the one that Thrift ships, but using Twisted. You'll have to take care of initializing your handler, processor, etc. though. BTW, if you think that returning NOT_DONE_YET and having a separate _cbProcess method is a bit confusing, don't worry. We (Twisted) are working on returning Deferreds directly from the render method [1] Cheers. 1 - http://twistedmatrix.com/trac/ticket/3711
thrift_twisted_web.py
Description: application/unknown
