Learning Apache Thrift : make applications communicate using Apache Thrift /
Make applications cross-communicate using Apache Thrift!About This Book Leverage Apache Thrift to enable applications written in different programming languages (Java, C++, Python, PHP, Ruby, and so on) to cross-communicate. Learn to make your services ready for real-world applications by using step...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2015.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introducing Apache Thrift; Distributed systems and their services; Service-oriented architecture; Distributed systems; Maintainability; Scalability; Testability; An introduction to Apache Thrift; Supported programming languages; Data types; Transports; Protocols; Versioning; Security; Interface description language; Apache Thrift and others; Custom protocols; XML-RPC and JSON-RPC; SOAP and WSDL; RESTful APIs; CORBA; Apache Avro; Protocol Buffers
- When to choose Apache ThriftSummary; Chapter 2: Installing and Running Apache Thrift; Installing Apache Thrift on Linux; Installation requirements; Installing dependencies; Installing dependencies on CentOS; Installing dependencies on Debian and Ubuntu; Installing Apache Thrift; Installing Apache Thrift on Mac OS X; Installing Apache Thrift; Installing Apache Thrift on Windows; Testing the installation; Summary; Chapter 3: Running Your First Apache Thrift Service and Client; Creating necessary project files; Creating a local copy of the Apache Thrift libraries
- Defining our first service and generating filesThe service code in PHP; The client code in Python; Running the code; What really happened?; Analyzing the code; The service description
- IDL; The server script
- PHP; The client script
- Python; Summary; Chapter 4: Understanding How Apache Thrift Works; Prepare your tools; Apache Thrift's architecture; Going about using the tool; Designing the services; Preparing the interface description; Generating service and client libraries; Implementing services and clients; Running server and clients; The network stack; Transport; Protocol; Processor
- Server and clientExample; Apache Thrift's type system; Basic types; Special types; Structs; Unions; Containers; list; set; map; Usage of containers; Enums; Exceptions; Services; IDL syntax; Comments; Document; Headers; Thrift include; C++ include; Namespace; Definitions; const; typedef; Summary; Chapter 5: Generating and Running Code in Different Languages; PHP; Generating the code; Examining the code; Transports; Protocols; Servers; Implementing and running the service; Implementing and running the client; Java; Generating the code; Examining the code; Transports; Protocols; Servers
- Implementing and running the serviceImplementing and running the client; Python; Generating the code; Examining the code; Transports; Protocols; Servers; Building the libraries; Implementing and running the service; Implementing and running the client; JavaScript; Generating the code; Examining the code; Transport, protocol, and servers; Implementing and running the client; Ruby; Generating the code; Examining the code; Transports; Protocols; Servers; Implementing and running the service; Implementing and running the client; C++; Generating the code; Examining the code; Transports; Protocols