简单来说Thrift是一种可扩展的跨语言的服务器,功能基本上和protobuf是一样的,更好用,功能更加强大,不过相对来说比protobuf更难学。
下载thrift,安装thrift的编译器(和protobuf差不多)
这个实例就是以python作为客户端,来调用java的服务端,中间使用Thrift这个RPC来实现调用(这一章节讨论的那个东西到现在是不是尽在直尺了o(* ̄︶ ̄*)o)
简单介绍:
语法规则:
这个和protobuf基本上是一样的
简单来说Thrift是一种可扩展的跨语言的服务器,功能基本上和protobuf是一样的,更好用,功能更加强大,不过相对来说比protobuf更难学。
下载thrift,安装thrift的编译器(和protobuf差不多)
这个实例就是以python作为客户端,来调用java的服务端,中间使用Thrift这个RPC来实现调用(这一章节讨论的那个东西到现在是不是尽在直尺了o(* ̄︶ ̄*)o)
简单介绍:
语法规则:
这个和protobuf基本上是一样的