medium10 pts · first answer countssystem-designconsistencydatabases
Stale data from a read replica
After changing their phone number, a user is sent an OTP to the old number. Writes go to the primary and the OTP service reads from an async replica. What is the best fix?
Discussion 0
Join free to post in the discussion.
Related questions
- Building SQL from user inputBackend Developer
- What atomicity guaranteesBackend Developer
- WHERE column = NULL finds nothingBackend Developer
- COUNT(*) versus COUNT(column)Backend Developer
- Column type for pricesBackend Developer
- Storing order times for two countriesBackend Developer
- Students and courses table designBackend Developer
- What a foreign key doesBackend Developer