You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently several race conditions are possible in the bookSlot endpoint:
The provider could delete the appointment slot the user is about to book during the booking procedure.
Another user could book the same appointment slot.
While the likelihood of this happening is negligible for a small number of users it can become larger as the number of concurrent users grows. We should therefore use the Redis WATCH mechanism to ensure that no race conditions occur during the booking process.
The text was updated successfully, but these errors were encountered:
Currently several race conditions are possible in the
bookSlot
endpoint:While the likelihood of this happening is negligible for a small number of users it can become larger as the number of concurrent users grows. We should therefore use the Redis
WATCH
mechanism to ensure that no race conditions occur during the booking process.The text was updated successfully, but these errors were encountered: