Use cases

What people stream with RevenProx

Summary

RevenProx fits any workload that pushes a one-way, real-time event stream to a very large audience over Server-Sent Events — streaming LLM tokens to millions, live dashboards and metrics, notifications and activity feeds, multiplayer and collaboration state, market-data feeds, and CI/CD build logs. The common thread: many long-lived connections, targeted per-topic fan-out, and no central broker to bottleneck.

LLM token & agent event streaming

Generative apps stream tokens as they are produced — a naturally one-way, long-lived stream per request. When a model or agent serves a large audience, you have millions of open streams at once. RevenProx uses a UUID topic per conversation or request, fans model output to the right client with no broker in the path, and holds the idle-between-tokens connections cheaply thanks to Zig’s low per-connection memory.

Live dashboards & metrics

Operational dashboards, analytics, and monitoring views want a continuous push of fresh numbers rather than polling. Publish metric updates to a topic and every open dashboard subscribed to it updates in real time. Targeted topic routing means a given dashboard only receives the streams it subscribed to, so you are not broadcasting every metric to every viewer.

Real-time notifications & activity feeds

In-app notifications, activity feeds, and presence updates are one-way pushes to potentially millions of connected users. Mint a topic per user or per channel and deliver events the moment they happen. Webhook-based JWT auth ties each subscription to your existing identity system so users only receive their own streams.

Multiplayer & collaboration

Collaborative editors, live cursors, and shared-session state broadcast a stream of changes to everyone in a room. A topic per room or document routes updates to exactly its participants. SSE is a clean fit for the server-to-client broadcast half of these apps, letting clients POST their own changes back over ordinary requests.

Market data & price feeds

Financial tickers, sports scores, betting odds, and other high-frequency feeds push updates to large numbers of watchers. Per-symbol or per-market UUID topics route each feed to just its subscribers, and a brokerless mesh means adding watchers is a matter of adding proxy instances rather than scaling a central bus.

CI/CD logs & build output

Streaming build logs, deploy progress, and job output to a browser is one-way, bursty, and long-lived. Relay the output stream over a topic so anyone watching a build sees lines as they are emitted, without polling an API or holding the connection open on your application servers.

When RevenProx is the right tool

Reach for RevenProx when your workload looks like this:

  • The traffic is one-way — server to client. SSE (and RevenProx) is a fan-out channel, not a bidirectional RPC. Clients that need to send data back do so over ordinary HTTP requests.
  • Connections are long-lived and numerous. Your cost is dominated by holding many mostly-idle streams open at once, not by request throughput.
  • You want to own the data path. Self-hosting a brokerless mesh beats paying per message to a managed service, and keeps the stream inside your infrastructure.
  • Delivery must be targeted. Different clients want different streams, and UUID topic routing gets each event to only its subscribers.

If instead you need full-duplex, low-latency, bidirectional messaging (e.g. a game netcode loop), WebSockets are the better primitive — see the FAQ on SSE vs WebSockets.

Read the docsSource on GitHub →