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

Inefficient Variable Propagation #12042

Open
Tracked by #12035
Zelldon opened this issue Mar 15, 2023 · 0 comments
Open
Tracked by #12035

Inefficient Variable Propagation #12042

Zelldon opened this issue Mar 15, 2023 · 0 comments
Labels
area/performance Marks an issue as performance related component/engine component/zeebe Related to the Zeebe component/team kind/toil Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.

Comments

@Zelldon
Copy link
Member

Zelldon commented Mar 15, 2023

Description

Related to #12035

Related to #12033
Came up in #11813

Variable Propagation

When setting variables (on job completion), it will traverse the process instance tree from the local scope up to the process instance scope, until all variables are set/updated:

https://github.com/camunda/zeebe/blob/28fe054b79fcc7398a086a1576199efef01a122c/engine/src/main/java/io/camunda/zeebe/engine/processing/variable/VariableBehavior.java#L103-L146

This results in (many) point lookups with non-existing keys.

@Zelldon Zelldon added kind/toil Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc. area/performance Marks an issue as performance related component/engine labels Mar 15, 2023
@romansmirnov romansmirnov added the component/zeebe Related to the Zeebe component/team label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/performance Marks an issue as performance related component/engine component/zeebe Related to the Zeebe component/team kind/toil Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.
Projects
None yet
Development

No branches or pull requests

2 participants