<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Lock on wid's blog</title><link>https://wid-blog.github.io/en/tags/lock/</link><description>Recent content in Lock on wid's blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 01 Oct 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://wid-blog.github.io/en/tags/lock/index.xml" rel="self" type="application/rss+xml"/><item><title>Optimistic and Pessimistic Locking</title><link>https://wid-blog.github.io/en/posts/tech/database/optimistic-vs-pessimistic-lock/</link><pubDate>Sun, 01 Oct 2023 00:00:00 +0000</pubDate><guid>https://wid-blog.github.io/en/posts/tech/database/optimistic-vs-pessimistic-lock/</guid><description>A transaction gives atomicity, a lock gives serialization — they aren&amp;rsquo;t substitutes. How pessimistic and optimistic locking cover the Lost Update that an isolation level&amp;rsquo;s plain reads don&amp;rsquo;t, and how to choose between them.</description></item></channel></rss>