Durable ingest
Writes persisted before acknowledgement.
Playback QoE telemetry, live engagement counters and session state on one engine, with durable ingest and keyed current state.
The problem
A streaming platform watches a very large number of concurrent sessions: playback telemetry such as rebuffering, bitrate and startup time streams in continuously, engagement counters move every second, and the questions that matter are about the live audience right now.
The typical stack splits QoE telemetry into a stream processor, live counters into a cache and session history into a warehouse: three systems that drift, and a viewer-experience dashboard that lags the incident it is meant to catch.
You want one engine that stores QoE events durably, maintains per-session and per-title state, and rolls up live engagement in the same SQL.
Where NYXDB fits
Architecture
Playback events land in one durable table; keyed tables hold the latest state per session and title; grouped STREAM SELECT and transformations maintain the engagement figures your dashboards read and follow.
Every playback event is durable before it is acknowledged.
The latest row per (session, title), in an UPSERT table.
Totals per title stay current, maintained by grouped transformations; windows run in STREAM SELECT.
QoE and engagement changes reach dashboards as they commit, with STREAM SELECT.
In practice
The examples use the same two tables on every page. See the SQL reference for full syntax.
STREAM SELECT chain_id, token, SUM(amount) AS volume, COUNT(*) AS transfersFROM transfersGROUP BY chain_id, token;Capabilities
Writes persisted before acknowledgement.
Latest row per session and title.
Tumbling and hopping windows in STREAM SELECT.
Changes reach QoE dashboards as they commit, with STREAM SELECT.
Learn more