User Tools

Site Tools


devel:blueprints:smsd-retry-backoff

This is an old revision of the document!


SMSD retry backoff on full dispatch failure (specification)

Introduction

When all dispatchers fail to dispatch an SMS, smsd will retry at the next queue read (which implies a 30 second delay, using default values). A total dispatch failure is a CRITICAL level error, and the loghandler will notify the NAV admin via e-mail.

A long-lasting error state will result in a lot of e-mail spam for the administrator. This should be mitigated by introducing a backoff mechanism for retries.

Requirements

  • For each completely failed dispatch attempt, the retry delay will increase by a factor X.
  • Factor X must be configurable in smsd.conf
  • Once Y repeated dispatch attempts have been unsuccessful, smsd will give up and ignore the remaining messages.
    • When smsd gives up, this should be logged as a CRITICAL error, and details of the ignored messages should be logged along with it (so the admin can see what they just missed).
  • The value of Y must be configurable in smsd.conf
devel/blueprints/smsd-retry-backoff.1236091581.txt.gz · Last modified: 2009/03/03 14:46 by morten