Re:Do you really need Redis? How to get away with just Postg...
by abhishekjha on Sunday June 13, 2021 @09:48AM
(#27492561)
So what do you propose here? I see that stackoverflow mentions some preemptive locking for a seat in cache for a few minutes. During that time the seat is taken out of the pool for potential booking. If the time lapses without the seat getting booked then the seat returns to the pool. This avoids going to the DB and see who wins.
[ Parent
| on HN ]
There are no comments on this comment yet.