Lavoisier S.A.S.
14 rue de Provigny
94236 Cachan cedex
FRANCE

Heures d'ouverture 08h30-12h30/13h30-17h30
Tél.: +33 (0)1 47 40 67 00
Fax: +33 (0)1 47 40 67 02


Url canonique : www.lavoisier.fr/livre/informatique/programmer-s-guide-to-apache-thrift/descriptif_4828244
Url courte ou permalien : www.lavoisier.fr/livre/notice.asp?ouvrage=4828244

Programmer's Guide to Apache Thrift

Langue : Anglais

Auteur :

Couverture de l’ouvrage Programmer's Guide to Apache Thrift

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. Packed with complete code examples and pragmatic discussion, this book lays the best practices for multi-language distributed application development. You'll take a guided tour through transports, protocols, IDL and servers as you explore complete example programs in C++, Java and Python. You'll also learn how to work with platforms ranging from enterprise servers to mobile clients.

 

About the technology

Any distributed application includes individual components, often written in different languages and hosted in multiple locations, which must communicate quickly and efficiently. Apache Thrift is a communication framework that enables cross-language remote procedure calls and serialization. Apache Thrift supports embedded, mobile, web, and server environments and a host of languages ranging from JavaScript to C++. It's perfect for back end services and embedded systems where size, scalability and performance are mission critical.

 

Key Features

  • Clear, concise coverage of all of the primary Apache Thrift features
  • Complete coverage of the Apache Thrift Interface Definition Language
  • Building and serializing complex user defined types
  • Working with plug in serialization protocols and data compression
  • Creating cross-language services
  • Tools and features to enable interface evolution

Randy Abernethy is an active Apache Thrift contributor and can be found on the dev and user email lists. A serial entrepreneur, Randy founded Hollywood's first all hard disk recording studio in the early 90s, a direct market access institutional brokerage in the 2000s, and has recently focused on the development of proprietary automated trading systems using Apache Thrift for interoperability.

PART 1 APACHE THRIFT OVERVIEW
READ IN LIVEBOOK1. INTRODUCTION TO APACHE THRIFT
1.1. Polyglotism, the pleasure and the pain
1.2. Application integration with Apache Thrift
1.2.1. Type serialization
1.2.2. Service implementation
1.3. Building a simple service
1.3.1. The Hello IDL
1.3.2. The Hello server
1.3.3. A Python client
1.3.4. A C++ client
1.3.5. A Java client
1.4. The communications toolkit landscape
1.4.1. SOAP
1.4.2. REST
1.4.3. Protocol Buffers
1.4.4. Apache Avro
1.4.5. Strengths of Apache Thrift
1.4.6. Take away
1.5. Summary
READ IN LIVEBOOK2. APACHE THRIFT ARCHITECTURE
2.1. Transports
2.1.1. The Transport interface
2.1.2. End point transports
2.1.3. Layered transports
2.1.4. Server transports
2.2. Protocols
2.3. Apache Thrift IDL
2.3.1. User-defined types and serialization
2.3.2. RPC services
2.4. Servers
2.5. Security
2.6. Summary
READ IN LIVEBOOK3. BUILDING, TESTING, AND DEBUGGING
3.1. Installing the Apache Thrift IDL Compiler
3.1.1. Platform installers
3.1.2. VMs and containers
3.1.3. Building from source
3.2. The Apache Thrift source tree
3.3. Apache Thrift tests
3.4. Debugging RPC services
3.4.1. Examining packets on the wire
3.4.2. Unbuffered interfaces
3.4.3. Interface misalignment
3.4.4. I/O stack misalignment
3.4.5. Instrumenting code
3.4.6. Additional techniques
3.5. Summary
PART 2 PROGRAMMING APACHE THRIFT
READ IN LIVEBOOK4. MOVING BYTES WITH TRANSPORTS
4.1. End point transports ? part 1: memory & disk
4.1.1. Programming with memory transports
4.1.2. Programming with file transports
4.2. The transport interface
4.2.1. Basic transport operations
4.3. End point transports ? Part 2: networks
4.3.1. Network programming with TSocket
4.4. Server transports
4.4.1. Programming network servers with server transports
4.4.2. The Server Transport interface
4.5. Layered transports
4.5.1. Message framing
4.6. Summary
READ IN LIVEBOOK5. SERIALIZING DATA WITH PROTOCOLS
5.1. Basic serialization with the binary protocol
5.1.1. Using the C++ TBinaryProtocol
5.1.2. Using the Java TBinaryProtocol
5.1.3. Using the Python TBinaryProtocol
5.1.4. Takeaway
5.2. The TProtocol interface
5.2.1. Apache Thrift serialization
5.2.2. C++ TProtocol
5.2.3. Java TProtocol
5.2.4. Python TProtocolBase
5.3. Serializing objects
5.3.1. Struct serialization
5.3.2. Struct deserialization
5.3.3. Struct evolution
5.4. TCompactProtocol
5.5. TJSONProtocol
5.6. Selecting a protocol
5.7. Summary
READ IN LIVEBOOK6. APACHE THRIFT IDL
6.1. Interfaces
6.2. Apache Thrift IDL
6.2.1. IDL file names
6.2.2. Element names
6.2.3. Keywords
6.3. The IDL compiler
6.3.1. Compilation phases and error messages
6.3.2. Command line switches
6.4. Comments and documentation
6.5. Namespaces
6.6. Built-in types
6.6.1. Base types
6.6.2. Container types
6.6.3. Literals
6.7. Constants
6.7.1. C++ interface constant implementation
6.7.2. Java interface constant implementation
6.7.3. Python interface constant implementation

Randy Abernethy is an active Apache Thrift contributor and can be found on the dev and user email lists. A serial entrepreneur, Randy founded Hollywood's first all hard disk recording studio in the early 90s, a direct market access institutional brokerage in the 2000s, and has recently focused on the development of proprietary automated trading systems using Apache Thrift for interoperability.

Date de parution :

19x24 cm

Disponible chez l'éditeur (délai d'approvisionnement : 14 jours).

61,59 €

Ajouter au panier

Thème de Programmer's Guide to Apache Thrift :