InHeap & WirebyJitin Kayyala·6d agoYour Distributed Lock Is a Lie With a TimeoutWhat happens when the process holding your lock stops for half a second and does not know it?A response icon1A response icon1
Saravana·Sep 23How a Simple Save Post Feature Turned Into a Concurrency NightmareA real production story about lost updates, hot rows, and why the right question isn’t "how do I add a lock?" — it’s "what actually needs…
Yashika Vijayvargiya·Sep 16Pessimistic Locking in Rails — Preventing Race Conditions in ProductionIntroduction
Talin Krishna·Sep 66th September (Cold, and procrastination)Today was a sunday, I expected too much out of myself but was able to achieve much less compared to what I wanted to. I started my day with…
Febryan Setiawan·Aug 12Both Are Safe. So Why Would I Choose Pessimistic Locking Over Optimistic Locking?A practical look at concurrent balance deduction, contention, retries, and row locking using Go and PostgreSQL.
not_afraid·Aug 10Postgres SELECT FOR UPDATERecently I worked on a few things that required some kind of locking in order to avoid race conditions on some Database DML…
Yashika Vijayvargiya·Jul 28Optimistic Locking in Ruby on Rails: Prevent Lost Updates with lock_versionSenior Ruby on Rails Engineer sharing practical insights on Rails, React, system design, performance optimization,. My goal is to simplify…
Inthe ChallengedbyAdrienne Beaumont·Jul 18You Don’t Have to Lock Your Doors AnywhereIt’s a conscious decision or you simply forgetA response icon22A response icon22
Yashika Vijayvargiya·Jul 13Understanding Database Locking in Ruby on Rails: Types, Examples, and Best PracticesGoal of this article: Build a strong foundation before learning pessimistic locking, optimistic locking, deadlocks, and isolation levels.