<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Transactions on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/transactions/</link><description>Recent content in Transactions on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 20 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/transactions/index.xml" rel="self" type="application/rss+xml"/><item><title>Mastering Concurrency: MVCC Transactions in Stoolap</title><link>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/mastering-concurrency-mvcc/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/mastering-concurrency-mvcc/</guid><description>&lt;h2 id="introduction-the-magic-of-concurrent-databases"&gt;Introduction: The Magic of Concurrent Databases&lt;/h2&gt;
&lt;p&gt;Welcome back, fellow data adventurers! In our previous chapters, we laid the groundwork for understanding Stoolap&amp;rsquo;s unique position as a modern, high-performance embedded SQL database. We explored its architecture and got our hands dirty with basic data operations. Now, it&amp;rsquo;s time to tackle one of the most crucial and fascinating aspects of any robust database system: &lt;strong&gt;concurrency control&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Imagine you have many users trying to read and write data to your database at the exact same time. Without a smart way to manage these simultaneous operations, chaos would ensue! Data could become corrupted, updates might be lost, or users might see inconsistent information. This is where &lt;strong&gt;Multi-Version Concurrency Control (MVCC)&lt;/strong&gt; steps in, a sophisticated technique that Stoolap leverages to deliver exceptional performance and reliability.&lt;/p&gt;</description></item><item><title>Intermediate Topics: Transactions and Pipelining</title><link>https://ai-blog.noorshomelab.dev/redis-guide/transactions-and-pipelining/</link><pubDate>Fri, 07 Nov 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/redis-guide/transactions-and-pipelining/</guid><description>&lt;p&gt;As you build more complex applications with Redis, you&amp;rsquo;ll encounter scenarios where you need to execute multiple commands as a single, atomic operation or send a batch of commands to the server efficiently. This is where &lt;strong&gt;Transactions&lt;/strong&gt; and &lt;strong&gt;Pipelining&lt;/strong&gt; become invaluable. While they both involve sending multiple commands, they serve different primary purposes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Transactions (MULTI/EXEC)&lt;/strong&gt; ensure that a group of commands is executed atomically and in isolation, preventing other clients from interfering with the intermediate state.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Pipelining&lt;/strong&gt; optimizes network round-trip time by sending multiple commands at once without waiting for a reply to each, significantly boosting performance for high-throughput scenarios.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In this chapter, we&amp;rsquo;ll cover:&lt;/p&gt;</description></item><item><title>Chapter 9: Ensuring Consistency: Concurrency, Transactions, and Determinism</title><link>https://ai-blog.noorshomelab.dev/spacetime-db-guide-2026/chapter-9-concurrency-transactions/</link><pubDate>Sat, 14 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/spacetime-db-guide-2026/chapter-9-concurrency-transactions/</guid><description>&lt;h2 id="chapter-9-ensuring-consistency-concurrency-transactions-and-determinism"&gt;Chapter 9: Ensuring Consistency: Concurrency, Transactions, and Determinism&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 9! So far, we&amp;rsquo;ve explored how SpaceTimeDB combines database, backend logic, and real-time synchronization. We&amp;rsquo;ve built schemas, written reducers, and seen how clients react to state changes. But as applications grow and multiple users interact simultaneously, a critical question arises: How does SpaceTimeDB keep everything consistent and reliable?&lt;/p&gt;
&lt;p&gt;In this chapter, we&amp;rsquo;re going to pull back the curtain on some of SpaceTimeDB&amp;rsquo;s most powerful, yet often invisible, features: &lt;strong&gt;concurrency control&lt;/strong&gt;, &lt;strong&gt;transactional integrity&lt;/strong&gt;, and &lt;strong&gt;deterministic execution&lt;/strong&gt;. These are the bedrock upon which SpaceTimeDB builds its promise of &amp;ldquo;multiplayer at the speed of light.&amp;rdquo; Understanding these concepts is vital for designing robust, bug-free real-time systems that behave predictably, no matter how many users are interacting at once. Get ready to explore the &amp;ldquo;why&amp;rdquo; and &amp;ldquo;how&amp;rdquo; behind SpaceTimeDB&amp;rsquo;s impressive consistency guarantees!&lt;/p&gt;</description></item><item><title>Chapter 7: Database Deep Dive: Query Optimization &amp;amp; Concurrency</title><link>https://ai-blog.noorshomelab.dev/real-world-software-problem-solving-guide/database-optimization/</link><pubDate>Fri, 06 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/real-world-software-problem-solving-guide/database-optimization/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Welcome back, intrepid problem-solver! In our previous chapters, we&amp;rsquo;ve honed our general debugging skills and learned to approach complex systems with a structured mindset. Now, it&amp;rsquo;s time to zero in on one of the most common and critical bottlenecks in almost any modern application: the database.&lt;/p&gt;
&lt;p&gt;Databases are the heart of many applications, storing the precious data that drives everything. But just like a heart, if it&amp;rsquo;s not performing optimally, the whole system suffers. Slow queries can turn a snappy user experience into a frustrating wait, and mishandled concurrent operations can lead to subtle, insidious data corruption. In this chapter, we&amp;rsquo;ll equip you with the knowledge and tools to diagnose and fix these database-related problems. We&amp;rsquo;ll explore how to make your queries lightning fast and ensure your data remains consistent even under heavy concurrent loads.&lt;/p&gt;</description></item></channel></rss>