Compare
Both take events from the Sentry SDKs and both are small next to Sentry. GlitchTip is a Django app on PostgreSQL and Valkey; Rustrak is one Rust process on SQLite. Same four cores, same 20,000 errors.
4.8×less memory. 88 MB for Rustrak at its busiest, 423 MB for GlitchTip's stack.
4.0×less CPU per event: 0.58 ms against 2.3 ms, databases included.
6 sfor Rustrak to store all 20,000. GlitchTip needed 29 s.
The burst, replayed
GlitchTip stored as it received, about 690 events a second, and had the last one at 29 seconds. Rustrak was done at 6.
0.0 s
- Rustrak (SQLite)0 stored
- Rustrak (PostgreSQL)0 stored
- GlitchTip (all-in-one)0 stored
Every number
Same machine, same four cores, one product at a time. Every product stored every event.
| Rustrak | Rustrak | GlitchTip | |
|---|---|---|---|
| Version | 0.27.0 | 0.27.0 | 7.0.0 |
| Containers | 1 | 2 | 3 |
| Memory at rest | 51 MB | 62 MB | 205 MB |
| Memory at peak | 88 MB | 162 MB | 423 MB |
| Accepted per second | 3,697 | 4,044 | 712 |
| p99 latency | 7.5 ms | 13.3 ms | 87.3 ms |
| Stored per second | 3,333 | 2,222 | 690 |
| All 20,000 stored after | 6 s | 9 s | 29 s |
| CPU per event | 0.58 ms | 1.07 ms | 2.3 ms |
| Disk after the run | 305 MB | 209 MB | 297 MB |
| Images to pull | 100 MB | 510 MB | 1.9 GB |
| Ready after start | < 1 s | 9 s | 6 s |
What you would be running
| Rustrak | GlitchTip | |
|---|---|---|
| License | AGPL-3.0 | MIT |
| Written in | Rust | Python (Django) |
| What it stores into | SQLite, or PostgreSQL | PostgreSQL, Valkey |
| Published minimum | None published | 256 MB RAM, 512 MB recommended |
| Containers in our run | 1 (2 with PostgreSQL) | 3 |
Switching is one line
Your apps already speak the Sentry protocol. Start Rustrak, then point the DSN at it.
docker run -d --name rustrak -p 8080:8080 \
-v rustrak_data:/data \
-e SESSION_SECRET_KEY=$(openssl rand -hex 32) \
-e CREATE_SUPERUSER=you@example.com:change-me \
-e PUBLIC_URL=https://errors.example.com \
rustrak/rustrak-server:latestdsn: "https://key@old-host/1", dsn: "https://key@errors.example.com/1",
Questions
- Which uses less memory, GlitchTip or Rustrak?
- Rustrak. Under the same 20,000-event burst it peaked at 88 MB; GlitchTip with its PostgreSQL and Valkey peaked at 423 MB.
- Do I need PostgreSQL for Rustrak?
- No. Rustrak stores everything in one SQLite file by default. PostgreSQL is an option, with its own image.
- How do I move from GlitchTip to Rustrak?
- Change the DSN in your apps. Both speak the Sentry protocol, so the SDK code stays as it is. Past events stay where they were.
