消息中间件MetaQ高性能原因分析

转载:https://yq.aliyun.com/articles/52533?spm=a2c4e.11153940.blogcont93815.18.626e2684nqgU88#

这里写图片描述

序列化和反序列化

各序列化框架时间性能对比:
这里写图片描述

各序列化框架空间性能对比:
这里写图片描述

  综合来看,Google的Protocol Buffers是最佳选择,不管软件的质量、社区活跃、软件的后续发展上来说,都是不错的选择,唯一的问题在于某些版本间存在不兼容的情况。最终使用了阿里自研的Fastjson框架。

网络框架

  使用一统江湖的高性能网络框架Netty;

磁盘读写

  具体可查看另一篇博文

参考:

  1. https://yq.aliyun.com/articles/52533?spm=a2c4e.11153940.blogcont93815.18.626e2684nqgU88#
  2. https://blog.csdn.net/yangguosb/article/details/80363864

猜你喜欢

转载自blog.csdn.net/yangguosb/article/details/80965445