概念:
Apache Thrift是一个RPC框架(工具),跨语言调用等,支持丰富的数据类型,并且可以自定义数据结构,进行与远程服务通信。目前支持主流的开发语言有:Java、C#、C、C++...
Apache Thrift的网络堆栈
+-------------------------------------------+ | Server | | (single-threaded, event-driven etc) | +-------------------------------------------+ | Processor | | (compiler generated) | +-------------------------------------------+ | Protocol | | (JSON, compact etc) | +-------------------------------------------+ | Transport | | (raw TCP, HTTP etc) | +-------------------------------------------+
时间: 2024-10-23 04:05:28