原文地址:http://fusesource.com/docs/broker/5.4/tuning/GenTuning-MsgEncoding.html

标签:ActiveMQ优化

Message body type(消息体类型):JMS定义了5中消息体类型

所有的消息中BytesMessage(非解释字节流)最快,ObjectMessage(java对象序列化)最慢。

Encoding recommendation(编码推荐):为了性能,推荐无论什么时候都是尽可能用BytesMessage,我们建议你使用Google的Protobuf,他有非常棒性能特质。

相关文章:

  • 2022-01-31
  • 2021-12-13
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2021-06-14
  • 2022-12-23
  • 2021-07-07
猜你喜欢
  • 2021-12-14
  • 2022-03-05
  • 2021-09-23
  • 2021-08-27
  • 2021-08-28
  • 2021-05-29
  • 2022-02-14
相关资源
相似解决方案