-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve ReactiveEventPublisher throughtput #1457
Improve ReactiveEventPublisher throughtput #1457
Comments
What is the root cause of the sending being too slow? I remember that the numbers of events in the stress tests were not big. |
@rgolangh The number of processes was not too big, but the number of events per process is. |
This issue depends on this one quarkiverse/quarkus-reactive-messaging-http#281 |
Fixing outdated pom in dmn example
@tkobayas |
^ @fjtirado Probably because the commit message |
* [Fix apache/incubator-kie-issues#1457] Allow grouping of events * Add test for coverage * [Fix apache/incubator-kie-issues#1457] Grouping of event serialization * [Fix apache/incubator-kie-issues#1457] Adding default constructor * [Fix apache/incubator-kie-issues#1457] Adding TYPE constant --------- Co-authored-by: gmunozfe <[email protected]>
) * Add unit tests * [Fix apache/incubator-kie-issues#1457] Grouping of events 2nd approach * Add integration tests * [Fix apache/incubator-kie-issues#1457] Grouping of event serialization * [Fix apache/incubator-kie-issues#1457] DataAudit serialization * Update data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingConsumerIT.java Co-authored-by: Gonzalo Muñoz <[email protected]> Update data-index/data-index-service/data-index-service-postgresql/src/test/java/org/kie/kogito/index/service/messaging/PostgreSqlMessagingKafkaConsumerIT.java Co-authored-by: Gonzalo Muñoz <[email protected]> Update data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingConsumerIT.java Co-authored-by: Gonzalo Muñoz <[email protected]> Update data-index/data-index-service/data-index-service-postgresql/src/test/java/org/kie/kogito/index/service/messaging/PostgreSqlMessagingKafkaConsumerIT.java Co-authored-by: Gonzalo Muñoz <[email protected]> Fix to run collections tests for all * [Fix apache/incubator-kie-issues#1457] Converter deserialization * [Fix apache/incubator-kie-issues#1457] Converter deserialization right --------- Co-authored-by: gmunozfe <[email protected]>
* [Fix apache/incubator-kie-issues#1457] Allow grouping of events * Add test for coverage * [Fix apache/incubator-kie-issues#1457] Grouping of event serialization * [Fix apache/incubator-kie-issues#1457] Adding default constructor * [Fix apache/incubator-kie-issues#1457] Adding TYPE constant --------- Co-authored-by: gmunozfe <[email protected]>
EventPublisher has the list of events generated at the end of a UnitOfWork
These events are currently sent one by one by ReactiveEventMessagePublisher, which is the case of Http Smallrye connector heavily affects system throughput, which in turn increase memory consumption because of event queuing.
One possible improvement is to set the message body to the entire collection, minimizing the number of external calls. However this will affect consumers. For example, in DataIndex, ReactiveMessageEventConsumer will have to be changed to check if the message body contains one event or a collection of them.
The text was updated successfully, but these errors were encountered: