Optimization tales with CockroachDB: the slow password reset flow
A password reset flow in CockroachDB was slower than expected despite a 3-second timeout. The author traces the problem to unnecessary network round trips caused by sequential synchronous storage calls, rather than batching or parallelizing them.