The Fastest Way to Become a Backend Developer Online
NY State-Licensed Certificates in Design, Coding & AI — Online
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore race conditions in Rails applications through this RailsConf 2023 talk. Dive into the concept of race conditions, their occurrence in shared resource environments, and the challenges they present as systems scale. Learn to identify, reproduce, and test these elusive issues. Discover strategies for fixing race conditions, including atomic operations, optimistic locking, and pessimistic locking. Gain insights into automated testing techniques to ensure confidence in your solutions. Use the provided flowchart to navigate race condition scenarios and enhance your ability to build robust, scalable Rails applications.
Syllabus
Intro
The dining philosophers
Multiple processes
Race conditions
Automated testing
Atomic operations
Optimistic locking
Pessimistic locking
Fixing race conditions
Flowchart
Questions
Taught by
Ruby Central