lobste.rs is now running on SQLite

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Lobsters' successful MariaDB-to-SQLite migration is concrete evidence that a single VPS with SQLite can serve a busy community site at half the cost.

Read this as

Lobsters, a link-sharing community site, has finished moving its database from MariaDB (a database system similar to the better-known MySQL) to SQLite, a simpler database that stores everything in one file. The site now runs on a single rented server, uses less CPU and memory, and responds faster. The switch was planned since 2018 and is now permanent.

Lobsters completed a weekend migration from MariaDB to SQLite after years of planning, cutting its infrastructure to one VPS and expecting half the server cost once the old machine is retired. Reported results: lower CPU, lower memory, snappier responses. The takeaway for operators of small-to-mid sites is that SQLite in 2026 can replace a separate database server, though the article gives no traffic figures to judge ceiling.

The Rails app runs on a single VPS with four SQLite files: a 3.8GB primary content database, a 1.1GB cache database, a 218MB queue database, and a growing 555MB rack_attack database backing the Rack::Attack throttling middleware. The main migration PR by Thomas Dziedzic (#1927) changed 735 added / 593 removed lines across 30 commits and 188 files, building on PRs #1705, #1871 and #1924. No benchmark numbers beyond CPU/memory direction are given.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Lobsters SQLite MariaDB Rack::Attack Thomas Dziedzic

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading