Compare
Both take events from the official Sentry SDKs. Self-hosted Sentry is 28 containers before you switch everything on; Rustrak is one. We put them on the same four cores and sent both the same 20,000 errors.
101×less memory. 88 MB for Rustrak at its busiest, 8.9 GB for Sentry's smallest profile.
1 vs 28containers to keep running. 53 with every Sentry feature on.
6 sfor Rustrak to store all 20,000. Sentry needed 106 s.
Where each one fits
Peak memory under the same burst, against the size of the server you would rent. Sentry's errors-only profile needs the 16 GB box. Rustrak leaves more than nine tenths of a 1 GB one free.
1 GB server
2 GB server
4 GB server
8 GB server
16 GB server
One Sentry, a hundred Rustraks
100 Rustraks, each at its busiest (88 MB), fit in the 8.9 GB that Sentry (errors-only) used for the same burst.
Every number
Same machine, same four cores, one product at a time. Every product stored every event.
| Rustrak | Rustrak | Sentry | Sentry | |
|---|---|---|---|---|
| Version | 0.27.0 | 0.27.0 | 26.10.1 | 26.10.1 |
| Containers | 1 | 2 | 28 | 53 |
| Memory at rest | 51 MB | 62 MB | 7.4 GB | 13 GB |
| Memory at peak | 88 MB | 162 MB | 8.9 GB | 14.4 GB |
| Accepted per second | 3,697 | 4,044 | 13,697 | 12,704 |
| p99 latency | 7.5 ms | 13.3 ms | 2.1 ms | 2.6 ms |
| Stored per second | 3,333 | 2,222 | 189 | 163 |
| All 20,000 stored after | 6 s | 9 s | 106 s | 123 s |
| CPU per event | 0.58 ms | 1.07 ms | 18.53 ms | 22.49 ms |
| Disk after the run | 305 MB | 209 MB | 2.4 GB | 2.4 GB |
| Images to pull | 100 MB | 510 MB | 10 GB | 12.4 GB |
| Ready after start | < 1 s | 9 s | 25 s | 35 s |
What you would be running
| Rustrak | Sentry | |
|---|---|---|
| License | AGPL-3.0 | FSL-1.1, Apache-2.0 after two years |
| Written in | Rust | Python, with Rust services |
| What it stores into | SQLite, or PostgreSQL | PostgreSQL, ClickHouse, Kafka, Redis, SeaweedFS |
| Published minimum | None published | 4 cores, 16 GB RAM + 16 GB swap |
| Containers in our run | 1 (2 with PostgreSQL) | 28 (53 with every feature) |
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
- Can Rustrak replace self-hosted Sentry?
- For errors, tracing, logs, crons, releases, source maps and user feedback, yes: it takes the same SDKs and you switch by changing the DSN. Rustrak has no session replay, profiling, uptime checks or attachments.
- How much memory does self-hosted Sentry need?
- Sentry's documentation asks for 16 GB of RAM plus 16 GB of swap. In our run its errors-only profile peaked at 8.9 GB and the full one at 14.4 GB. Rustrak peaked at 88 MB under the same load.
- Do my old events come with me?
- No. Point the SDKs at Rustrak and it starts from the next event. Keep Sentry running read-only for as long as you need the history.
- Is Rustrak made by Sentry?
- No. Rustrak implements the protocol the open-source Sentry SDKs speak. Sentry is a trademark of Functional Software, Inc.
