Apache Thrift

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(Supported)
第7行: 第7行:
  
 
Thrift is specifically designed to support non-atomic version changes across client and server code.
 
Thrift is specifically designed to support non-atomic version changes across client and server code.
 +
 +
==network stack===
 +
Simple representation of the Apache Thrift networking stack
 +
 +
 +
  +-------------------------------------------+
 +
  | Server                                    |
 +
  | (single-threaded, event-driven etc)      |
 +
  +-------------------------------------------+
 +
  | Processor                                |
 +
  | (compiler generated)                      |
 +
  +-------------------------------------------+
 +
  | Protocol                                  |
 +
  | (JSON, compact etc)                      |
 +
  +-------------------------------------------+
 +
  | Transport                                |
 +
  | (raw TCP, HTTP etc)                      |
 +
  +-------------------------------------------+
  
 
==Supported==
 
==Supported==
第19行: 第37行:
 
*Python
 
*Python
 
*Ruby
 
*Ruby
 +
 
==Requirements==
 
==Requirements==
 
*A relatively POSIX-compliant *NIX system
 
*A relatively POSIX-compliant *NIX system

2014年10月9日 (四) 23:26的版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Apache Thrift Thanks, Wikipedia.

Thrift is a software framework for scalable cross-language services development. It combines a powerful software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, and Ruby. Thrift was developed at Facebook, and we are now releasing it as open source.

Thrift is a lightweight, language-independent software stack with an associated code generation mechanism for RPC. Thrift provides clean abstractions for data transport, data serialization, and application level processing. The code generation system takes a simple definition language as its input and generates code across programming languages that uses the abstracted stack to build interoperable RPC clients and servers.

Thrift is specifically designed to support non-atomic version changes across client and server code.

目录

network stack=

Simple representation of the Apache Thrift networking stack


 +-------------------------------------------+
 | Server                                    |
 | (single-threaded, event-driven etc)       |
 +-------------------------------------------+
 | Processor                                 |
 | (compiler generated)                      |
 +-------------------------------------------+
 | Protocol                                  |
 | (JSON, compact etc)                       |
 +-------------------------------------------+
 | Transport                                 |
 | (raw TCP, HTTP etc)                       |
 +-------------------------------------------+

Supported

  • Cocoa
  • CPP
  • Erlang
  • hs
  • Java
  • Ocaml
  • Perl
  • PHP
  • Python
  • Ruby

Requirements

  • A relatively POSIX-compliant *NIX system
  • GNU build tools (Autoconf 2.59c+)
  • boost 1.33.1+
  • g++ 4.0+
  • Java 1.5+ / Apache Ant
  • Python 2.4+
  • PHP 5.0+
  • Ruby 1.8+

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱