Optimize Ci::ArchiveTraceWorker
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Ci::ArchiveTraceWorker jobs use a significant amount of CPU on Sidekiq.
Attached is a stack-prof flamegraph generated on a pod:
One thing we can do is reuse Fog::Storage for each chunk, since this makes an HTTP request to retrieve credentials.
Edited by 🤖 GitLab Bot 🤖