<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/lobste-rs-is-now-running-on-sqlite-zalr6qf3j" -->

---
title: lobste.rs is now running on SQLite | daily.dev
description: The Lobsters link aggregator site successfully migrated its production database from MariaDB to SQLite. The migration, driven by MariaDB&#x27;s acquisition by K1...
canonical: https://daily.dev/posts/lobste-rs-is-now-running-on-sqlite-zalr6qf3j
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: lobste.rs is now running on SQLite | daily.dev
og:description: The Lobsters link aggregator site successfully migrated its production database from MariaDB to SQLite. The migration, driven by MariaDB&#x27;s acquisition by K1...
og:url: https://daily.dev/posts/lobste-rs-is-now-running-on-sqlite-zalr6qf3j
og:image: https://api.daily.dev/og/posts/zaLR6Qf3j.png
og:image:alt: lobste.rs is now running on SQLite
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# lobste.rs is now running on SQLite

**[Hacker News](https://daily.dev/sources/hn)** · 4 min read · 1 upvotes · 0 comments

## Summary

The Lobsters link aggregator site successfully migrated its production database from MariaDB to SQLite. The migration, driven by MariaDB's acquisition by K1 and a desire to reduce complexity, took multiple attempts over several months. The final deployment on July 11th resulted in lower CPU and memory usage, a snappier site, and roughly half the VPS cost once the MariaDB server is decommissioned. Key technical challenges included fixing full table scans on large tables, resolving an N+1 query, and adding a slow query log. The post details the migration journey, lessons learned about SQLite pragmas (WAL mode, busy timeout, strict tables), backup strategy using restic, and Rails-specific considerations.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://lobste.rs/s/ko1ji1>

## Similar posts on daily.dev

- [lobste.rs is now running on SQLite](https://daily.dev/posts/lobste-rs-is-now-running-on-sqlite-5hlawqyuh) · Lobsters · 1 upvotes · 0 comments
- [lobste.rs migrates from MariaDB to SQLite](https://daily.dev/posts/lobste-rs-migrates-from-mariadb-to-sqlite-rlqerses0) · Lobsters · 0 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#infrastructure](https://daily.dev/tags/infrastructure), [#database](https://daily.dev/tags/database), [#rails](https://daily.dev/tags/rails), [#sqlite](https://daily.dev/tags/sqlite)

[View this post on daily.dev](https://daily.dev/posts/lobste-rs-is-now-running-on-sqlite-zalr6qf3j)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"lobste.rs is now running on SQLite","url":"https://daily.dev/posts/lobste-rs-is-now-running-on-sqlite-zalr6qf3j","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/lobste-rs-is-now-running-on-sqlite-zalr6qf3j"},"datePublished":"2026-07-17T21:30:33.971Z","dateModified":"2026-07-20T18:21:37.202Z","description":"The Lobsters link aggregator site successfully migrated its production database from MariaDB to SQLite. The migration, driven by MariaDB's acquisition by K1...","image":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","thumbnailUrl":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/lobste-rs-is-now-running-on-sqlite-zalr6qf3j","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"performance,infrastructure,database,rails,sqlite","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"lobste.rs is now running on SQLite"}]}
```

