soketi is a WebSockets and HTTP API server that speaks Pusher Protocol v7 for channels, presence, and client events. It targets local development, benchmarks, and self-hosted production with Redis or NATS scaling.
Overview
soketi provides realtime pub/sub over WebSockets with an HTTP API compatible with Pusher clients. Applications point existing Pusher SDKs at soketi by setting host, port, and app credentials instead of cloud endpoints.
The server builds on uWebSockets.js and advertises low message fan-out latency and high connection counts per CPU and memory. App credentials gate access; app metadata can live in static arrays, DynamoDB, or SQL stores such as Postgres. Prometheus metrics, HTTP webhooks for channel occupancy, and optional HTTP callback handling mirror common Pusher deployment patterns.
Operators can run single instances for development or scale horizontally with Redis or NATS adapters. Documentation covers NPM, Docker, Kubernetes, and Helm installs on cloud VMs or on premises. A separate serverless variant targets Cloudflare Workers with the same protocol.
The project emphasizes infrastructure cost compared with hosted Pusher-style pricing, with example connection and message limits on inexpensive VPS plans. Soketi Serverless on Cloudflare is noted as an optional hosted deployment path with its own pricing.
Key features
- Pusher Protocol v7 support
- WebSocket and HTTP API
- Per-app credential management
- Redis and NATS horizontal scale
- Prometheus monitoring endpoints
- Channel occupancy webhooks
- Docker and Kubernetes deploy
- SQL and DynamoDB app storage
Use cases
- Self-hosted Pusher replacement
- Local realtime development
- High-connection chat fan-out
- Laravel broadcasting backend
- Prometheus-scraped WS metrics
Does the same job as
soketi doesn't name these products itself, but its own description shows it does the same job.