<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Harper Ward</title>
    <description>The latest articles on DEV Community by Harper Ward (@harper_ships).</description>
    <link>https://dev.to/harper_ships</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4210908%2Fed2dbc15-bff3-4228-9d41-3712c882cd84.jpg</url>
      <title>DEV Community: Harper Ward</title>
      <link>https://dev.to/harper_ships</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/harper_ships"/>
    <language>en</language>
    <item>
      <title>Reading SQLite's WAL: a DevOps detour</title>
      <dc:creator>Harper Ward</dc:creator>
      <pubDate>Tue, 27 Oct 2026 15:49:49 +0000</pubDate>
      <link>https://dev.to/harper_ships/reading-sqlites-wal-a-devops-detour-59b5</link>
      <guid>https://dev.to/harper_ships/reading-sqlites-wal-a-devops-detour-59b5</guid>
      <description>&lt;p&gt;A small service started getting &lt;code&gt;database is locked&lt;/code&gt; errors under load. The fix was a one-line change to the busy timeout, but understanding &lt;em&gt;why&lt;/em&gt; took longer.&lt;/p&gt;

&lt;p&gt;What I learned about SQLite's WAL mode:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Writers append to a WAL file; readers don't block writers&lt;/li&gt;
&lt;li&gt;Checkpoints move WAL pages back into the main database&lt;/li&gt;
&lt;li&gt;A long-running reader can delay a checkpoint and grow the WAL&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last point explained our problem: an analytics query held a read transaction open, and the WAL grew until the disk alarm fired. We capped the query and moved it to a replica.&lt;/p&gt;

&lt;p&gt;I keep coming back to SQLite because the more I learn, the more predictable it gets. That's a rare property in infrastructure.&lt;/p&gt;

</description>
      <category>sqlite</category>
      <category>devops</category>
      <category>database</category>
    </item>
  </channel>
</rss>
