Case study /02 · Personal / Open source · 2026
Thrakkio.
A monitoring and feedback platform for Rails applications: errors, alerts and user feedback in one live dashboard.
Case study /02 · Personal / Open source · 2026
A monitoring and feedback platform for Rails applications: errors, alerts and user feedback in one live dashboard.
[02] How it was built
Thrakkio receives errors and feedback from Rails apps, groups repeated occurrences into incidents and shows everything live. Below: how the pieces connect, how the data is modelled and the decisions that led to this shape.
Play the flow to watch an error cross the system.
Architecture diagram of Thrakkio
Click a table to see its relations
SQLite · 7 tablesDatabase diagram of Thrakkio
Context
Polling delayed alerts by up to 5s and hit the server even when nothing happened. WebSockets usually mean Redis for ActionCable.
Decision
ActionCable with the Solid Cable adapter; jobs broadcast Turbo Streams.
Alternatives considered
Consequences
Context
The first version of the dashboard had to show new incidents without reloading the page.
Decision
A Turbo Frame reloaded every 5 seconds.
Alternatives considered
Consequences
Context
The same error arrives with different messages (ids, timestamps). Grouping by message would open one incident per occurrence.
Decision
SHA256 of the error class + the first app frame, with numbers and paths normalised.
Alternatives considered
Consequences
Context
Ingest has to be asynchronous: the API cannot process the error inside the request. Sidekiq needs Redis, a second service to operate.
Decision
Use Solid Queue, with the queue persisted in the application's own database.
Alternatives considered
Consequences
Context
A personal project with one server and moderate volume. A managed Postgres would be the biggest cost and one more piece to operate.
Decision
SQLite in WAL mode for the data, the queue, the cache and the cable.
Alternatives considered
Consequences