Skip to content

Counter intuitive exponential backoff  #9

@jasonjckn

Description

@jasonjckn

Counter intuitive exponential backoff

(take 10 (#'safely.core/exponential-seq 100))
;; => (100 100 100 100 100 100 100 100 100 100)

This had my mind scratching for 5 minutes, wondering if I was using your library wrong, not very exponential.

Why not

delay = base-delay * 2 ^ (retry-number - 1) +/- random-variation

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions