Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.48 KB

rfc-045-consolidate-sidekiq-usage-into-shared-gem.md

File metadata and controls

31 lines (17 loc) · 1.48 KB

Problem

The Publishing Platform team is currently working on adding request tracing to all apps that use the Publishing API in an asynchronous way via Sidekiq - alphagov/collections-publisher#194 and alphagov/whitehall#2567. This will need repeating across many apps. The implementation is sufficiently complex that a mass-change of all apps in the future is not unlikely.

A previous shotgun surgery on apps with Sidekiq was the adding of sidekiq-statsd - https://trello.com/c/z2aHqwS8/48-add-sidekiq-statsd-to-apps-that-use-sidekiq which needed ~10 PRs.

There are ~15 GOV.UK apps that use Sidekiq, and they all use slightly different versions, logging and configuration.

Proposal

Introduce a govuk-sidekiq gem that consolidates all GOV.UK Sidekiq conventions:

This will make all our apps easier to manage and upgrade.