You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Pr...@cognizant.com on 2011/07/19 10:37:30 UTC

Thrift - who is using

Hi

 

I want to know who is using thrift, what are typical problems faced by
using thrift and I also want to know how to load balance thrift services

 

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.

Re: Thrift - who is using

Posted by Jools <jo...@gmail.com>.
Hi

We've (AssessTech) have been using thrift for the last 2 years or so.

I want to know who is using thrift, what are typical problems faced by
> using thrift and I also want to know how to load balance thrift services
>

We have written a custom discovery lay based on bonjour which allows us to
route client requests to an applicable service instance.

Our thrift servers manage quite a hefty load, and so far we've never had any
issues with it.

In terms is issues 'using' Thrift, the only issues have come as a result of
language limitations which have guided our use of thrift.

We use the java, php and cocoa (on osx and iOS) bindings.

Cheers,

--Jools

Re: Thrift - who is using

Posted by Dvir Volk <dv...@gmail.com>.
OH HAI!


> I want to know who is using thrift,



We at www.doat.com use it to connect a few independent modules in out
backend.


> 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
backends.
So from the perspective of the client code, it is just connecting to
127.0.0.1:$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.
>

Re: Thrift - who is using

Posted by Joel Meyer <jo...@gmail.com>.
On Tue, Jul 19, 2011 at 1:37 AM, <Pr...@cognizant.com> wrote:

> Hi
>
>
>
> I want to know who is using thrift,


We (OpenX) use it extensively.


> what are typical problems faced by
> using thrift


I don't remember encountering many problems (we started using it late in
2008). We use the Java, Erlang, and PHP libraries.


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

We're using HAProxy to load-balance between a pool of back-ends. I've
written some libraries for Java and Erlang that make it easy to re-use
connections and get dynamically resizing pools based on traffic volumes and
back-end response times.

HTH,
Joel


>
>
>
> 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.
>