Skip to content
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

Data Index processing events in groups #2113

Closed
Tracked by #1505
fjtirado opened this issue Oct 10, 2024 · 0 comments · Fixed by #2114
Closed
Tracked by #1505

Data Index processing events in groups #2113

fjtirado opened this issue Oct 10, 2024 · 0 comments · Fixed by #2114
Assignees

Comments

@fjtirado
Copy link
Contributor

Description

apache/incubator-kie-issues#1457 allows the possibility of grouping event publishing.
Data index and data audit were modified to be able to consume the new events, but they are still processed individually.
While this is perfectly fine for data audit, in the case of data index it will be pretty interesting, from performance point of view, to be able to process them in groups, achieving a potentially huge performance gain

Implementation ideas

Modify indexing and storage interfaces to accept collection of ProcessInstaceDataEvent and UserTaskInstanceEvent
This way, in the JPA implementation we can take full benefit of the hibernate optimitazion when several sets are invoked within the same transaciton.

@fjtirado fjtirado self-assigned this Oct 10, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 14, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 14, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 14, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 14, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 14, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 14, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 14, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 15, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 15, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 15, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 15, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 15, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 15, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 15, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 15, 2024
fjtirado added a commit to fjtirado/kogito-apps that referenced this issue Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant