Programmer's Guide to Apache Thrift provides comprehensive coverage of the Apache Thrift framework along with a developer's-eye view of modern distributed application architecture.
Foreword by Jens Geyer.
About the Technology
Thrift-based distributed software systems are built out of communicating components that use different languages, protocols, and message types. Sitting between them is Thrift, which handles data serialization, transport, and service implementation. Thrift supports many client and server environments and a host of languages ranging from PHP to JavaScript, and from C++ to Go.
About the Book
Programmer's Guide to Apache Thrift provides comprehensive coverage of distributed application communication using the Thrift framework. Packed with code examples and useful insight, this book presents best practices for multi-language distributed development. You'll take a guided tour through transports, protocols, IDL, and servers as you explore programs in C++, Java, and Python. You'll also learn how to work with platforms ranging from browser-based clients to enterprise servers.
What's inside
• Complete coverage of Thrift's IDL
• Building and serializing complex user-defined types
• Plug-in protocols, transports, and data compression
• Creating cross-language services with RPC and messaging systems
About the Reader
Readers should be comfortable with a language like Python, Java, or C++ and the basics of service-oriented or microservice architectures.
About the Author
Randy Abernethy is an Apache Thrift Project Management Committee member and a partner at RX-M.
Author(s): Randy Abernethy
Edition: 1
Publisher: Manning Publications
Year: 2019
Language: English
Commentary: True PDF
Pages: 592
City: Shelter Island, NY
Tags: C++; Python; Java; JavaScript; C#; Serialization; Node.js; Software Architecture; Apache Thrift; .NET Core; Script; RESTful API; Interface Definition Language; Exception Handling; Clients; Servers; Enterprise Systems
PART 1 - APACHE THRIFT OVERVIEW
1. Introduction to Apache Thrift
2. Apache Thrift architecture
3. Building, testing, and debugging
PART 2 - PROGRAMMING APACHE THRIFT
4. Moving bytes with transports
5. Serializing data with protocols
6. Apache Thrift IDL
7. User-defined types
8. Implementing services
9. Handling exceptions
10. Servers
PART 3 - APACHE THRIFT LANGUAGES
11. Building clients and servers with C++
12. Building clients and servers with Java
13. Building C# clients and servers with .NET Core and Windows
14. Building Node.js clients and servers
15. Apache Thrift and JavaScript
16. Scripting Apache Thrift
17. Thrift in the enterprise