Thanks!

I'm trying gevent now. Just replace the socket module, without monky patch. 

------------------ 原始邮件 ------------------
发件人: "Yu, Lx" <[email protected]>;
发送时间: 2015年5月20日(星期三) 11:09
收件人: "user" <[email protected]>;
主题: Re: Thrift async python client



Hi,

I would recommend gevent & monkey_patch.


Best Regards,

--
Lixin Yu
http://lxyu.net

On Mon, May 18, 2015 at 6:39 PM, 郑华斌 <[email protected]> wrote:

> Hi all,
>
>
>     I have a thrift server running, and want to communicate to it with
> async python client. In tutorial directory shipped with thrift package,
> there are py.tornado and py.twisted. After trying them both, I found the
> Tornado client only works with Tornado server, so as the twisted one.
>
>
>     So 1) if it's the truth that Tornado client can not work with general
> Thrift server?
>          2) if so, what's the right way to use a async client to
> communicate with general Thrift server?
>
>
>
>
>     Thanks
>
>
>     Huabin

Reply via email to