All docs

Start

  1. 01Getting started
  2. 02Install
  3. 03Tracking

Features

  1. 04The dashboard
  2. 05Campaigns
  3. 06Goals & Conversions
  4. 07Funnels
  5. 08Short links
  6. 09Custom domains
  7. 10Importing history
  8. 11AI sources and agents
  9. 12Email reports
  10. 13Scheduled check
  11. 14Ask your AI
  12. 15Runlight for Mac

Reference

  1. 16Performance
  2. 17Configuration
  3. 18HTTP API

Platforms

  1. 19Standalone server
  2. 20ClickHouse
  3. 21PHP
  4. 22WordPress
  5. 23Drupal
  6. 24Craft CMS
  7. 25Webflow
  8. 26Python
  9. 27Rails
  10. 28Ruby
  11. 29Go
  12. 30Java
  13. 31.NET
  14. 32Elixir
  15. 33Rust

Trust

  1. 34Privacy

Reference

Performance

Choose storage for your workload and see how fast the dashboard opens on SQLite, Postgres, MySQL, and ClickHouse.

Runlight supports SQLite and client/server databases, and the standalone server or a Node app can keep its visits in ClickHouse. Choose storage based on concurrent writes, retained history, and report complexity. Monthly visits alone do not establish a safe capacity limit.

Choose storage

Workload Starting point
One app or server with local persistent storage SQLite, with scheduled rollups enabled
Several app servers or substantial concurrent writes Postgres or MySQL; see the server guide and configuration
About 10 million visits a month Load-test Postgres with your retention, events per visit, and peak traffic before choosing infrastructure
Many millions of visits, or filtered reports over long ranges ClickHouse for the visits and events, on the standalone server or in your own app

SQLite permits one writer per database file. Its deployment guidance explains when a client/server database is appropriate. ClickHouse is designed for analytical workloads, and the measurements below include it.

Measurements

These are local measurements from October 16, 2026, with the changes that 0.1.8 brings. They are not release guarantees, and they do not measure ingestion.

The machine was an Apple M4 Max with 36 GiB of memory, running macOS and Node 24. One synthetic site held a year of traffic: 1.0 million visits and 3.1 million events, with four goals and daily rollups built. The same rows went into SQLite, Postgres 16, and MySQL 8.4 on that machine. The ClickHouse column was measured a day later, on ClickHouse 25.8 in Docker on the same machine with 8 GB of memory. It held the same rows, moved across by the server’s own copy, and ran the ClickHouse support that 0.2.0 added. Each time below is every request the dashboard makes when it opens, sent together as a browser sends them, with warm caches and nothing else writing.

Dashboard view SQLite Postgres MySQL ClickHouse
Last 7 days 0.05 s 0.09 s 0.07 s 0.07 s
Last 30 days 0.07 s 0.07 s 0.06 s 0.11 s
Last 30 days, compared with the 30 before 0.07 s 0.07 s 0.07 s 0.17 s
Last 12 months 0.18 s 0.15 s 0.15 s 0.39 s
Last 30 days, one page 2.9 s 0.6 s 1.7 s 0.18 s
Last 30 days, one channel 1.2 s 1.2 s 1.4 s 0.12 s
Last 12 months, one channel 8.2 s 3.5 s 6.5 s 0.32 s
Last 12 months, one page 19 s 9.1 s 24 s 0.65 s

Without a filter, the totals, the chart, every box, and most goals come from the daily rollups, so a longer range costs little more than a short one. A filter has to read the visits it picks, so filtered views over long ranges are where the database matters most. ClickHouse reads the visits themselves for every view, with no rollups, so it takes a little longer without a filter and is many times quicker with one.

Keep reports responsive

Run the scheduled check so daily rollups stay current. Set a suitable retention period in Settings, Data. On SQLite, Runlight gathers the query planner’s statistics again as the data grows, so a large import does not leave reports planning for an empty database. Measure filtered reports, funnels, and comparisons with realistic traffic bursts and simultaneous dashboard users before moving databases.

For a capacity test, record hardware, database version, dataset size, events per visit, retention, rollup state, and query ranges. Measure cold and warm p50/p95 report latency alongside ingestion throughput and errors. Repeat the same workload on candidate databases. The ClickHouse page covers setting it up and moving an install across.