astacus icon indicating copy to clipboard operation
astacus copied to clipboard

Use thread pool for DeleteDanglingObjectStorageFilesStep

Open kmichel-aiven opened this issue 2 months ago • 2 comments

CPU intensive steps running in the main thread block all async operations.

This include other concurrent requests, leaving astacus completely unresponsive.

Start moving some steps entirely in a thread pool to avoid that.

We were already using the thread pool a lot anyway, since our object storage library is sync, but now instead of entering/leaving the pool for every small operation, we run an entire step as a single task.

[DDB-951]

kmichel-aiven avatar Apr 21 '24 12:04 kmichel-aiven