Thrift Tutorial
This tutorial is known to be woefully incomplete, and is a work in progress. This skeleton is illustrative of what is being worked on and will soon be available.
Contents
- Download Thrift
- Build and Install
- Writing a Thrift file
- Using the Thrift Compiler
- Running a Thrift Server
- Running a Thrift Client
Download Thrift
To get started, download a copy of Thrift.Build and Install
Next, build and install the Thrift libraries and compiler.Writing a Thrift file
Let's define and create a simple service.Using the Thrift Compiler
Invoke the Thrift compiler on the test file.Running a Thrift Server
Fill in the server stubs and build the server.Running a Thrift Client
Using the client libraries.