Details
-
Task
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
Description
Adapt this material, from my MongoDB World talk and my article, into a guide in the Manual:
https://emptysqua.re/blog/how-to-write-resilient-mongodb-applications/
The first two thirds of my article is just setup, the actual guide would be much shorter. It would recommend that application developers write code that:
- Uses idempotent operations for all high-value writes
- Catches all network errors and retries idempotent writes once
- Does not retry other errors
... and there can be a short justification of why this is a smart strategy.
Put it in, or link it from, https://docs.mongodb.com/manual/core/crud/ section.