Apache Thrift

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(链接)
 
(未显示1个用户的13个中间版本)
第1行: 第1行:
 +
{{top news}}
 +
{{SeeWikipedia|Apache Thrift}}
 +
 
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 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.
  
第5行: 第8行:
 
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.
  
Facebook has announced their intent to migrate Thrift into Apache Incubator.
+
==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==
 
*Cocoa
 
*Cocoa
第17行: 第35行:
 
*Python
 
*Python
 
*Ruby
 
*Ruby
 +
 
==Requirements==
 
==Requirements==
 
*A relatively POSIX-compliant *NIX system
 
*A relatively POSIX-compliant *NIX system
第26行: 第45行:
 
*PHP 5.0+
 
*PHP 5.0+
 
*Ruby 1.8+
 
*Ruby 1.8+
==Links==
+
==链接==
*http://developers.facebook.com/thrift/
+
*http://thrift.apache.org/
 
*http://download.huihoo.com/thrift/
 
*http://download.huihoo.com/thrift/
 
*http://docs.huihoo.com/thrift/
 
*http://docs.huihoo.com/thrift/
 +
 +
[[category:framework]]
 +
[[category:apache]]
 +
[[category:facebook]]
 +
[[category:RPC]]
 +
[[category:c++]]

2014年10月9日 (四) 23:29的最后版本

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+

[编辑] 链接

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

变换
操作
导航
工具箱