Aleksandr Kunin
Writing Ruby at work. Writing Ruby in my free time. Hotwire over React.
Share DHH ideas on how to write software well.
Creator of skyderby.io - like Strava but for skydivers and base jumpers.
Session
08/10
10:55
30min
Loosing Seat in Concurrency: A tale of Transactions and Locks
Aleksandr Kunin
Let's say there is one seat left in the aircraft. And two people want to buy a ticket. And they submit a form at the almost same time. Who gets the seat?
In this talk I'll touch classic database concurrency problems, transaction isolation and anomalies, pessimistic, optimistic and advisory locking and patterns to use it.
RubyConf Taiwan
TR209