简体   繁体   English

WSO2 CEP表现

[英]WSO2 CEP performance

I have few questions related to WSO2 CEP performance. 我对WSO2 CEP性能问题很少。

  1. How many events can be process within a second? 一秒钟内可以处理多少事件?
  2. How many execution plans can be handle at one time without doing huge variation to the performance? 在不对性能做出巨大变化的情况下,可以同时处理多少个执行计划?
  3. What is the maximum number of receivers and publishers which can be add to CEP? 可以添加到CEP的接收方和发布方的最大数量是多少?
  4. What is the maximum number of execution plans which can be add to CEP? 可以添加到CEP的最大执行计划数是多少?

Everything depends on the scenario, so just giving a specific number may not applicable for your scenario. 一切都取决于场景,因此只提供一个特定的数字可能不适用于您的场景。 By using thrift wso2event protocol CEP can process over 100000 events per second. 通过使用thrift wso2event协议,CEP每秒可处理超过100000个事件。 Depending on the complexity of the query performance numbers could change. 根据查询的复杂性,性能数字可能会发生变化。 Also you need to consider about the resource allocation such as memory heap size and etc. Allocated memory will be significance if the size of the event is high, Therefor things like number of receivers, publishers and execution plans depend on the complexity of process. 您还需要考虑资源分配,例如内存堆大小等。如果事件的大小很高,分配的内存将是重要的,因此接收器,发布者和执行计划的数量取决于进程的复杂性。 As these are very dynamic situations you can tune the CEP instance according to your scenario. 由于这些是非常动态的情况,您可以根据您的方案调整CEP实例。 Please refer Performance Tuning Recommendations [1] for more details. 有关详细信息,请参阅性能调整建议[1]。 For an instance, of you require to achieve very high throughput but you are not concerned about the latency, you can increase the QueueSize in data-agent-config. 例如,您需要实现非常高的吞吐量但不关心延迟,您可以在data-agent-config中增加QueueSize。 Depending on the size of the event, sometimes you may also have to increase the heap memory as well. 根据事件的大小,有时您可能还需要增加堆内存。

[1] https://docs.wso2.com/display/CEP400/Performance+Tuning+Recommendations [1] https://docs.wso2.com/display/CEP400/Performance+Tuning+Recommendations

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

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