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

Evaluate best way to reduce the task data for process instances #1567

Open
harmeet-status opened this issue May 20, 2024 · 5 comments
Open
Assignees
Labels
question Further information is requested

Comments

@harmeet-status
Copy link
Collaborator

harmeet-status commented May 20, 2024

We should look into these 2 things:

  1. Find a way to only store changes to the task data, incremental approach
  2. Compressing all the task data server side
  3. Anything else?
@harmeet-status
Copy link
Collaborator Author

Let's chat on Wednesday morning and discuss progress.

@harmeet-status harmeet-status added the question Further information is requested label May 20, 2024
@burnettk
Copy link
Contributor

jason rocked out the compression.

it was discussed that bpmn process architects tending process data and process instance archival are generally good practices that should be continued and discussed as we go forward. we also were thinking that possibilities for other set-it-and-forget-it code solutions probably still exist, such as:

  1. store top level keys in separate documents
  2. store diffs instead of full documents, and maintain current data snapshots for performance, potentially via non-task-data based environment

we should probably pick one of these approaches and prototype it in order to determine if it will be a complete solution or whether the complexity is not worth it (and we should stick with compression along with non-code solutions for the time being).

@harmeet-status will file a new ticket for implementation.

@harmeet-status
Copy link
Collaborator Author

@burnettk we dont need to file a new ticket, we agreed to do a POC. Let's do it as part of this ticket?

@harmeet-status
Copy link
Collaborator Author

What's the latest on this ticket? @burnettk

@burnettk
Copy link
Contributor

Jon’s hammering on the first part of it. We think there’s a good chance we can reuse some code related to a non-task-data-based environment
to help here. More soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: In Progress
Development

No branches or pull requests

4 participants