API problems: retries, pagination and rate limits
1 post. All topics
How to build APIs that survive retries, heavy use and mistakes.
You will learn
- Safe retries, so no double charges
- Paging that stays fast and correct
- Rate limits
Good for: anyone who builds or calls APIs.
Posts on Apis
-
9 min read
Idempotency key: stop a retry from charging twice
A timeout and a retry can charge a customer twice. See how to find the duplicate and how an idempotency key makes a retry safe.