简体   繁体   English

如何提高WSO2 Message Broker的传递速度?

[英]How to increase the delivery speed of WSO2 Message Broker?

I want to create a publish and subscribe model for developing a IoT project. 我想创建用于开发物联网项目的发布和订阅模型。 I have created it using Python language. 我已经使用Python语言创建了它。 Everything is working well and fine, but there seems to be a delay of 3 seconds to reach the message to the subscriber from the publisher. 一切工作正常且良好,但是似乎要延迟3秒才能从发布者处将消息传递给订阅者。

Is there any way to minimize the delay in message delivery and increase its performance in WSO2 Message Broker or any suggestion... 有什么方法可以最小化消息传递的延迟并提高其在WSO2 Message Broker中的性能或任何建议...

You can find the Performance tuning guide for MB 1 . 您可以找到MB 1的性能调优指南。 Also, check the message publisher and consumer performance guide as well 2 . 另外,还要查看消息发布者和消费者性能指南2

  1. https://docs.wso2.com/display/MB310/Performance+Tuning+Guide https://docs.wso2.com/display/MB310/Performance+Tuning+Guide
  2. https://docs.wso2.com/display/MB310/Message+Publisher+and+Consumer+Performance https://docs.wso2.com/display/MB310/Message+Publisher+and+Consumer+Performance

You can change broker.xml , 您可以更改broker.xml

<messageAccumulationTimeout>2000</messageAccumulationTimeout>

this parameter to 1000, default 3000 此参数为1000,默认为3000

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM