Skip to content
GitLab

What we learned about configuring Sidekiq from GitLab.com

Sep 2, 2021Craig Miskell12 min read
Opens about.gitlab.com
What the post coversAI, from the source post

This post details the configuration of Sidekiq on GitLab.com to address Redis CPU saturation.

  • It explains the historical one-queue-per-worker approach and its limitations with a large number of queues.
  • The solution implemented is a one-queue-per-shard model using Sidekiq routing rules, which significantly reduces the overhead on Redis by simplifying BRPOP operations.
  • The post also touches on concurrency and the GIL in Ruby, and the experiments conducted to validate the chosen approach.
Read the full post on about.gitlab.com · 12 min (opens in a new tab)

More from the GitLab CI and Distributed Builds trail