thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dvir Volk <>
Subject Re: Thrift - who is using
Date Wed, 20 Jul 2011 20:54:18 GMT

> I want to know who is using thrift,

We at use it to connect a few independent modules in out

> what are typical problems faced by
> using thrift

The problems we've had weren't so much due to thrift, but rather due to
language limitations.
Our core back end server is written in python, which has a limitation of a
single CPU for all threads in one process.
To overcome this, we wrote and contributed back TProcessPoolServer - a
pre-forked, process pool based server that uses many worker processes in one
wrapper server process.
This has increased our performance considerably.

Another C++ based server we had did not share these issues as we used a non
blocking server.

We are also using PHP based clients.

and I also want to know how to load balance thrift services

We use Pen to load balance the clients. Each front end machine has its own
load balancer that gets automatically configured with the available
So from the perspective of the client code, it is just connecting to$someport

> Thanks and Regards
> Prabakaran.N
> Architect - Technology, GTO - SOA CoE
> Cognizant Technology Solutions, BTP, Bangalore
> Mobile:+91-9739386923; Vnet: 58157; Direct: +91-80-30748157
> This e-mail and any files transmitted with it are for the sole use of the
> intended recipient(s) and may contain confidential and privileged
> information.
> If you are not the intended recipient, please contact the sender by reply
> e-mail and destroy all copies of the original message.
> Any unauthorized review, use, disclosure, dissemination, forwarding,
> printing or copying of this email or any action taken in reliance on this
> e-mail is strictly prohibited and may be unlawful.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message