← Graph

Prefer Small Sidekiq Jobs

takeaway 2 connections

Keep job logic simple and split multi-step work into separate jobs (e.g. one job per website to scrape rather than one job looping through all sites). Benefits: faster processing via concurrency, easy manual re-enqueueing from the console with a single parameter, safe retries that don't redo the whole pipeline, and simple progress tracking. Sidekiq Pro/Enterprise provides batches with callbacks, but small-job progress can also be implemented manually on the free edition.

type
recommendation
takeaway Prefer Small Sidekiq Jobs
about
Sidekiq Batches concept
Small-job decomposition pairs well with Sidekiq batches for progress tracking and callbacks.
takeaway Prefer Small Sidekiq Jobs
from_talk
Recommendation from the practices half of the talk.

Provenance

Read by
11 extractions