Skip to content

Conversation

@fmbenhassine
Copy link
Contributor

This PR improves the performance of splitting a step execution by 20x (See benchmark here). It moves the logic of finding the last step execution of a job instance to the database (instead of doing it in memory).

This PR is functionally the same as #725. However, it does not:

  • Load all step executions and all job executions of a given job instance in memory to get the last step execution
  • change the signature of SimpleStepExecutionSplitter#isStartable (which is a breaking change)

This PR resolves BATCH-2716.

This commit improves the performance of splitting a step execution.
It moves the logic of finding the last step execution of a job instance
to the database (instead of doing it in memory).

Resolves BATCH-2716
@mminella
Copy link
Member

mminella commented Sep 5, 2019

Rebased, polished, and merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants