Skip to content
mperham edited this page Mar 18, 2012 · 19 revisions

I hate to say it but some of your messages will crash when processed. It's true.

Sidekiq provides two critical features to handle this unfortunate eventuality:

  1. Exception notification - Sidekiq integrates with the top three exception notification services in the Ruby world: Airbrake, Exceptional and ExceptionNotifier. When a message process raises an error, the error and message contents will be sent to the service.
  2. Automatic failure retry - Sidekiq will retry processing failures with an exponential backoff using the formula retry_count ** 4 + 15 (i.e. 15, 16, 31, 96, 271, ... seconds). It will perform 25 retries over approximately 20 days. After 25 times, Sidekiq will drop the message assuming that it will never be successfully processed.

Neither feature has any configuration and are enabled by default.

Clone this wiki locally