Thrift,Protocol Buffers,JSON,EJB等的性能比较? [英] Performance comparison of Thrift, Protocol Buffers, JSON, EJB, other?
问题描述
我们正在调查传输/协议解决方案,并且即将进行各种性能测试,所以我想如果他们已经这样做,我会向社区查询:
We're looking into transport/protocol solutions and were about to do various performance tests, so I thought I'd check with the community if they've already done this:
有没有人为简单的回显服务做过服务器性能测试,以及比较Linux上的EJB3,Thrift和Protocol Buffers的各种消息大小的序列化/反序列化?
Has anyone done server performance tests for simple echo services as well as serialization/deserialization for various messages sizes comparing EJB3, Thrift, and Protocol Buffers on Linux?
主要语言是Java,C / C ++,Python和PHP。
Primarily languages will be Java, C/C++, Python, and PHP.
更新:我对此仍然很感兴趣,如果有人做了任何进一步的基准测试,请让我知道。此外,非常有趣的基准显示压缩JSON执行类似/优于Thrift / Protocol Buffers ,所以我我也把JSON扔进这个问题。
Update: I'm still very interested in this, if anyone has done any further benchmarks please let me know. Also, very interesting benchmark showing compressed JSON performing similar / better than Thrift / Protocol Buffers, so I'm throwing JSON into this question as well.
推荐答案
thrift-protobuf-compare 项目维基。它包括许多其他序列化库。
Latest comparison available here at the thrift-protobuf-compare project wiki. It includes many other serialization libraries.
这篇关于Thrift,Protocol Buffers,JSON,EJB等的性能比较?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!