node.js - 将 Apache Thrift 与 Node.js 一起使用

标签 node.js thrift

我正在尝试使用 Apache Thrift 作为 node.js 的 RPC 机制。但是,official Thrift tutorial for node.js似乎不完整,并且没有描述如何从 node.js 访问 Thrift 服务。是否可以将 Apache Thrift 与 Node.js 一起使用,是否有任何文档可用?

如果 Thrift 还不支持 node.js,那么是否有任何类似的 RPC 框架可以与 node.js 一起使用?

最佳答案

tutorial has been updated有一个很好的例子。如果您正在寻找 Node 中的其他 RPC 模块,可以查看 my answer in this question .

关于node.js - 将 Apache Thrift 与 Node.js 一起使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12875598/

相关文章:

node.js - Docpad 服务器没有响应

node.js - Knex.js PostgreSQL 列引用 "id"不明确

Java程序卡在TTransport Transport = new THttpClient ("this.host.com"上)

python - 配置 : error: Python interpreter is too old

python - thrift hbase 客户端 - 支持过滤器和协处理器

java - spark thrift 服务器使用尽可能多的工作线程

javascript - .sendEmbed 不适用于 RichEmbeds

javascript - 如何防止 Mongoose 使用 ObjectID 插入而不是嵌入它

node.js - MongoDB/Node.js-mongoose-text-search 中的全文搜索

php - Apache 节俭 : client timeout issues