SQLite for self-hosted apps: when it is enough

The default database of Darkbeacon, our open source self-hosted app, with backups built in.

What we do with SQLite

SQLite is a whole database in one file, and for an application that runs on one server it is often all you need. Darkbeacon, the self-hosted EVE Online wormhole mapper we publish as open source, starts on SQLite and moves to PostgreSQL with a single setting.

  1. 01

    One file, no database server

    Nothing to install or keep running next to the app. Darkbeacon keeps everything in one volume, so a single container is the whole deployment.

  2. 02

    Backups the app takes itself

    On SQLite, Darkbeacon backs its database up while it runs, on a schedule with retention, and the data is backed up again before an update migrates it.

  3. 03

    A clear point to switch

    Its docs give the measured limits and say when to point DATABASE_URL at PostgreSQL, including for several replicas. Starting small does not lock the project in.

Open source and docs

SQLite in our client work

Other technologies

All technologies

Building a tool that runs on one server?

Message us

Tell us who uses it and how much data it keeps. We will say whether SQLite is enough, or where it stops being so.

Zanek

Can't keep up with changes in AI world?

Let us do the heavy lifting. Every week we distill the most important AI developments into a focused 5-minute briefing - so you stay ahead without the noise.

Find out more
Weekly AIonline