Skip to content

retry capability

retry adds a retry wrapper to your Go service with exponential backoff and jitter for handling transient failures gracefully.

  • Retry wrapper with exponential backoff
  • Jitter
  • Max attempts configuration

Use retry for transient failures from external services — network blips, rate limit responses, temporary unavailability. Always pair with idempotency when retrying operations that mutate state — retrying a non-idempotent payment operation causes duplicate charges.

Terminal window
verikt new my-service --language go --cap retry
# or add to an existing service:
verikt add retry

circuit-breaker

Stop retrying when the dependency is down hard.

idempotency

Required when retrying state-mutating operations.

http-client

Resilient HTTP client with retry built in.