Off to the races

July 14, 2023 44 min Free

Description

This talk explores race conditions in Rails applications, including common patterns like read-modify-write and check-then-act. It covers strategies for testing and fixing race conditions, such as atomic operations, optimistic and pessimistic locking, and detecting/recovering from errors. The speaker also discusses the trade-offs involved in dealing with race conditions and how to approach them in a development team.