Soumyadeep

PopSub

A real-time pub/sub server over WebSockets with topic routing and at-least-once delivery.

How it works

Publishers send messages into the broker, which holds topics, clients, pending acknowledgements and a store, and fans messages out to subscribersAn unacknowledged message is retried every five seconds and dropped after the fifth retry

The problem

Developers who need reliable message distribution often do not need the operations that come with a full message platform. PopSub is one self-contained process for edge deployments and local development.

Built with
Rust, Tokio, WebSocket, sled
Status
In development
Year
2026
Read how it worksSource on GitHub

What it does

  • Topic routing

    Messages go only to the subscribers of their topic.

  • At-least-once

    Delivery is acknowledged, and retried until it is.

  • Replay buffer

    A late subscriber receives the most recent messages.

  • Signed access

    Clients authenticate with JSON Web Tokens.

  • Optional persistence

    Messages can be stored on disk with sled.

Next projectneurosim