- Published on
Article · Through the layers
Release the mutex before calling a remote API
Keep network waits outside a shared-state lock, then check that the state is still current before applying the result. Shorter locks need a correctness policy too.