After upgrading to spring batch 5 from spring batch 4, service is failing on load #4789
Replies: 3 comments
-
I think you will encounter same issue with Spring Batch 4 if the load is heavy enough. |
Beta Was this translation helpful? Give feedback.
-
load is much less( just 5 RPS of a batch of 25). The spring batch 4 was easily able to handle this |
Beta Was this translation helpful? Give feedback.
-
I see nothing in v5 that changed with regard to the job launcher in Spring Batch. So this issue might happen with v4 as well. But since it seems to happen at the incrementer level ( |
Beta Was this translation helpful? Give feedback.
-
Bug description
After the upgrade, during a load test, the service threads are getting blocked due to the below error and the service is returning 504 timeout but this behavior is not with spring batch 4. Please help
stackTrace:
Environment
Spring Batch version - 5
Java version - 21
database - MySQL
Expected behavior
there should not be any 504 and service should keep on receiving requests
Beta Was this translation helpful? Give feedback.
All reactions