concept Apache Thrift in category apache thrift

This is an excerpt from Manning's book Programmer's Guide to Apache Thrift.
This chapter introduces the Apache Thrift framework and its role in modern distributed applications. We’ll look at why Apache Thrift was created and how it helps programmers build high-performance, cross-language services. To begin, we’ll consider the growing need for multi-language integration and examine the role Apache Thrift plays in polyglot application development. Next, we’ll look at the two key functions of Apache Thrift, serialization and RPC, and walk through the construction of a simple Apache Thrift service. At the end of the chapter we’ll compare Apache Thrift to several other tools offering similar features to help you determine when Apache Thrift might be a good fit.
Imagine you have a module that tracks and computes sailing team statistics and that this module is built into a Windows C++ GUI application designed to visualize wind flow dynamics. As it happens, your company’s web dev team wants to use the sail stats module to enhance a client-facing, Node.js-based web application on Linux. Faced with multiple languages and platforms and the “laziness” axiom (wanting to write as little code as possible), Apache Thrift could be a good solution (see figure 1.3).
With Apache Thrift we could repackage the sail stats functions as a microservice and provide the Node.js programmers with access to the service through an easy-to-use Node.js client stub. To create the sail stats microservice we need only define the service interface in IDL, compile the IDL to create client and server stubs for the service, select one of the prebuilt Apache Thrift servers to host the service, and then assemble the parts.
Apache Thrift is a cross-language serialization and service implementation framework. Apache Thrift supports a wide array of languages and platforms. Apache Thrift makes it easy to build high performance services. Apache Thrift is a good fit for service-oriented and microservice architectures. Apache Thrift is an Interface Definition Language (IDL)–based framework.
$ docker search thrift NAME DESCRIPTION STARS thrift Thrift is a framework for generating clien... 66 evarga/thrift This is a Docker image for Apache Thrift. ... 4 apache/thrift Apache Thrift 4 whiteworld/thrift 1 thrift/thrift-compiler Apache Thrift Compiler 1 randyabernethy/thrift-book Companion container image for the Programm... 1 jimdo/thrift Mirror of Apache Thrift 0 lulichn/thrift Thrift 0 bufferoverflow/thrift Apache Thrift - *make cross* 0 thrift/thrift-compiler-test thrift-compiler test run to verify https:/... 0 cjmay/thrift thrift builds 0 saltside/thrift Our thrift fork as docker image used to ge... 0 nsuke/thrift Temporary docker images for Apache Thrift CI 0 iwan0/hbase-thrift-standalone hbase-thrift-standalone 0 foxwoods/thrift Thrift 0.8 0 itzg/thrift Provides the Apache Thrift generator tool 0 thrift/ubuntu 0 cjmay/thrift-4042 MWE of THRIFT-4042 (egg extraction error) 0 thrift/debian build/docker/debian 0 zezuladp/thrift 0 thrift/thrift-build Apache Thrift build environment. 0 rzhilkibaev/spark-standalone-thrift Standalone Spark with Thrift 0 andyfactual/jenkins-dind-thrift Jenkins server with thrift compiler installed 0 reecerobinson/spark-thrift-server Docker container based on spark-nosql that... 0 zhoumingjun/thrift 0 !@%STYLE%@! {"css":"{\"css\": \"font-weight: bold;\"}","target":"[[{\"line\":0,\"ch\":2},{\"line\":0,\"ch\":22}]]"} !@%STYLE%@!