Slide 1

Slide 1 text

APACHE THRIFT Introduction

Slide 2

Slide 2 text

Thrift? Thrift is an interface definition language and binary communication protocol that is used to define and create services for numerous languages. It is used as a remote procedure call (RPC) framework. Was developed at Facebook and now hosted on Apache as open source project

Slide 3

Slide 3 text

Thrift Architecture

Slide 4

Slide 4 text

How to use? 1. Declare objects and procedures in thrift files. 2. Compile thrift files $ thrift -r --gen 1. Create Handler to implement function in server 2. Run server 3. Call function from client

Slide 5

Slide 5 text

SOAP vs REST vs THRIFT SOAP: Write a letter. THRIFT: Tell directly. REST: Write a postcard. Case: Say you want to tell your neighbor to stop playing the drums in the middle of the night.

Slide 6

Slide 6 text

“Maybe I’m not perfect, at least I’m working on it” - Paramore THANKS!!!