Grokking Modern Mobile System Design Interview
0% completed
The Request Lifecycle
A request lifecycle describes how work starts, waits, succeeds, fails, and recovers. For writes, distinguish the user's intended operation from the individual network attempts used to complete it.
For example, “post this comment” is one operation. Sending it, timing out, and sending it again are separate attempts at that operation.
Give durable writes a recoverable identity
An operation record may include an operation ID, account, immutable request data, state, attempt count, and the next allowed attempt time.
Persist this record when the app promises that the write survives restart
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%