thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vikas prasad <vikasmc...@gmail.com>
Subject Re: Visual Studio with C++ client Thrift
Date Sun, 02 Feb 2014 15:51:39 GMT
Great !! Thanks for so detailed answer ... Thanks a tonne !!

Thanks,
Vikas| Software Dev Engineer| McAfee Software (India) Pvt. Ltd. | Mobile Mobile
- +91 9 6633 7 6688

Skype - vikasmca05

Also available on *Tango*,*Viber* and *WhatsApp*
website :www.vikasgomia.blogspot.com




On Sun, Feb 2, 2014 at 8:51 PM, Jens Geyer <jensgeyer@hotmail.com> wrote:

> Hi Vikas,
>
>
>  trying to write sample app with thrift..
>>
>
> Great! Please have a look at our tutorials and the TestServer/TestClient
> implementations of the various languages, this helps you getting started
> quickly.
>
>
>  What are the basic differences between COM and Thrift?
>>
>
> Thrift is lightweight and cross-platform by design. COM is mainly (only?)
> used in the Microsoft world, similar to CORBA the initial design goals
> focused more on objects (the "O" in both names) rather than general RPC. In
> contrast, Thrift is designed to be lightweight and flexible from the
> beginning, and the focus lies on connecting languages and platforms with as
> less overhead as possible, both vis-√°-vis development and runtime
> performance.
>
> Next, with Thrift you do have much more influence on the actual
> transports/protocols used (e.g. Sockets, HTTP, Pipes, etc), this is
> something COM hides from you very good, especially with cross-machine
> calls. As part of the MS ecosystem, COM is well-integrated into Windows'
> security concepts - this is not the case with Thrift, and you have to
> develop a suitable concept for your service(s) public APIs on your own.
> Similar to COM you get a marshalling layer, composed from generated code
> and the Thrift library, so you don't have to spend much time with this
> besides designing the interface in an easy to learn IDL.
>
>
>  What are the performance benefits of using thrift vs. COM:
>> 1- Impact on binary size
>>
>
> Good question, but less important, honestly. Most the COM infrastructure
> is shipped with Windows, and I never felt the need to compared the size of
> my binaries. But I can tell, that we just recently trew out a COM interface
> we used to connect the .NET part and the Win32 part of an application of
> ours, and replaced that interface by a Thrift-based solution, and it was a
> full success. If we were faced again with the same decision, we would do it
> in a heartbeat.
>
>  2- Initialization time
>>
>
> Depends on what transport you use. In general, the time needed to
> initialize the serevr or client transports properly and maybe start the
> threadpool (if used). Did I mention that Thrift is very lightweight?
>
>
>  3- Impact to boot time
>>
>
> It's all static code, or static or dynamic libraries linked to your
> application, so it does not affect OS boot time. If you mean "load time" of
> the application binaries, the impact is less than you probably think.
>
> Have fun,
> JensG
>
> -----Urspr√ľngliche Nachricht----- From: vikas prasad
> Sent: Sunday, February 2, 2014 11:13 AM
> To: user@thrift.apache.org ; jfarrell@apache.org
> Subject: Re: Visual Studio with C++ client Thrift
>
> Hi,
>
> I am c++ developer using COM for IPC all through out these days.. currently
> trying to write sample app with thrift..
> What are the basic differences between COM and Thrift?
> What are the performance benefits of using thrift vs. COM:
> 1- Impact on binary size
> 2- Initialization time
> 3- Impact to boot time
>
>
> Thanks,
> Vikas| Software Dev Engineer| McAfee Software (India) Pvt. Ltd. | Mobile
> Mobile
> - +91 9 6633 7 6688
>
> Skype - vikasmca05
>
> Also available on *Tango*,*Viber* and *WhatsApp*
> website :www.vikasgomia.blogspot.com
>
>
>
>
> On Mon, Jan 27, 2014 at 11:48 PM, Jake Farrell <jfarrell@apache.org>
> wrote:
>
>  The install guide is available at:
>> http://thrift.apache.org/docs/install/windows/
>>
>> and there is also the windows README in the source:
>> compiler/cpp/README_Windows.txt
>>
>> -Jake
>>
>>
>> On Mon, Jan 27, 2014 at 1:05 PM, Jens Geyer <jensgeyer@hotmail.com>
>> wrote:
>>
>> > Vikas,
>> >
>> > the single best recommendation is to have a look at the tutorials. If >
>> you
>> > have specific questions or need help, you are free to ask here or at
>> > freenode at any time.
>> >
>> > Have fun!
>> > JensG
>> > ________________________________
>> > Von: vikas prasad
>> > Gesendet: 27.01.2014 15:03
>> > An: user@thrift.apache.org
>> > Betreff: Visual Studio with C++ client Thrift
>> >
>> > Hi,
>> >
>> > I am new  to Thrift framework
>> > I went through few of the online tutorials to develop c++ thrift client
>> > using c++/
>> > can someone please list down the steps to develop c++ thrift client?
>> >
>> > Thanks,
>> > Vikas| Software Dev Engineer| McAfee Software (India) Pvt. Ltd. | Mobile
>> > Mobile
>> > - +91 9 6633 7 6688
>> >
>> > Skype - vikasmca05
>> >
>> > Also available on *Tango*,*Viber* and *WhatsApp*
>> > website :www.vikasgomia.blogspot.com
>> >
>>
>>
>

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