thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Stanley <>
Subject Re: Thrift query - Need help
Date Thu, 21 Feb 2013 17:56:30 GMT
I myself am new to thrift, and new to this mail list, but let me try and
answer your question.

Thrift provides cross language data serialization format, an IDL, and
out-of-the-box server implementations/code-generation for working with
various libraries.   It is not directly a replacement or analogous to
something like SWIG

However, it is useful for interopability between services & clients written
in different languages.  In other words, the approach you would take with
thrift to use a library written in a different language, is to expose and
run a service for the desired library, and then a client in your target

The service doesn't necessarily need to be a TCP/network service.  It can
be file based, unix sockets, unix pipes, etc.  You do need a service
provider side, and a client side though.  Thrift is good at helping with
all the plumbing and data format issues dealing with integrating different

hope this helps answer your question.

On Thu, Feb 21, 2013 at 2:49 AM, Rajendra Jasathy <> wrote:

> Hi,
> I got this email from Apache archives, I have a basic query on thrift.
> I am developing an test automation framework in Perl. I usually come
> across useful libraries written in other prog languages (C++, Python, Java,
> ...).
> Can I use Thrift to interface with these libraries without using a RPC
> mechanism? If yes how to do it?
> Based on literature available on Thrift I got an understanding that I can
> use libraries written in other prog languages only if I use a Client-Server
> kind of a model using Thrift with Server exposing the libs as a servce.
> Please correct me and provide me guidance.
> Regards
> Rajendra
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Information contained and transmitted by this e-mail is confidential and
> proprietary to iGATE and its affiliates and is intended for use only by the
> recipient. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution, copying or use of this e-mail is
> strictly prohibited and you are requested to delete this e-mail immediately
> and notify the originator or <mailto:
>>. iGATE does not enter into any agreement with any
> party by e-mail. Any views expressed by an individual do not necessarily
> reflect the view of iGATE. iGATE is not responsible for the consequences of
> any actions taken on the basis of information provided, through this email.
> The contents of an attachment to this e-mail may contain software viruses,
> which could damage your own computer system. While iGATE has taken every
> reasonable precaution to minimise this risk, we cannot accept liability for
> any damage which you sustain as a result of software viruses. You should
> carry out your own virus checks before opening an attachment. To know more
> about iGATE please visit <>.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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