Options
Why
Each replica sees only its share of a client's traffic. Keep the counter in a shared store and use an atomic increment (such as Redis INCR) before the decision, so two replicas cannot both admit the last request.
Resilience · Multiple choice
Each replica sees only its share of a client's traffic. Keep the counter in a shared store and use an atomic increment (such as Redis INCR) before the decision, so two replicas cannot both admit the last request.