So

Sockudo – Pusher-compatible WebSocket server in Rust

Hacker News

Sockudo – Pusher-compatible WebSocket server in Rust

I built a WebSocket server in Rust that implements the Pusher protocol. It's designed to be a self-hosted alternative to Pusher, Laravel Reverb, or Soketi. What it does: Sockudo speaks the Pusher protocol, so if you're already using Pusher client libraries (like Laravel Echo), you can point them at Sockudo without changing your frontend code. It handles the usual WebSocket stuff - public/private/presence channels, client events, authentication, webhooks. Why Rust: The main reason was performance and resource efficiency. It runs with Tokio for async, uses fastwebsockets for the WebSocket implementation, and the whole thing is pretty lean on memory. You can run it in Docker with minimal resources. Architecture highlights: Modular adapters for horizontal scaling (Redis, Redis Cluster, NATS, or local) Multiple backends for app config storage (MySQL, PostgreSQL, DynamoDB, or in-memory) Queue systems for webhooks (Memory, Redis, SQS) Rate limiting with configurable backends Prometheus metrics built in Getting started is straightforward: docker run -d -p 6001:6001 sockudo/sockudo:latest Or install from crates.io: cargo install sockudo Current status: The project has comprehensive Prometheus metrics, supports SSL/TLS, has CORS configuration, and includes both REST API and WebSocket endpoints. There's a Grafana dashboard for monitoring, health check endpoints, and it works with Kubernetes deployments. The docs cover most deployment scenarios - Docker, K8s, AWS, GCP, Azure. There's a Makefile with shortcuts for common operations and a test suite. What it doesn't have yet: I'm working on OpenTelemetry support and SurrealDB support for app managing. The benchmarking setup exists but I haven't published official performance numbers because I want to do proper testing across different scenarios first. Why I'm sharing: If you need a self-hosted WebSocket solution that's Pusher-compatible, this might be useful. The codebase is MIT licensed and contributions are welcome. I built it to solve a problem I had, and figured others might have the same issue. GitHub: https://github.com/RustNSparks/sockudo Docs: https://sockudo.app Crates.io: https://crates.io/crates/sockudo Happy to answer questions about the implementation, deployment, or architecture decisions.

Share card

Actual performance

4points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: supports, started, ios · Missing: reddit linkedin, podcasting, created
96%96% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: dock, using, code · Missing: mac, agents, macos
69%69% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: ios · Missing: mobile apps, personal, entrepreneurs
41%41% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: exist, io · Missing: https docs, excited, just released
38%38% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: host · Missing: plus, platform, intuitive
30%30% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
17%17% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

st
strftime-ruby, no-std, Ruby-compatible Rust implementation of strftime46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

strftime-ruby, no-std, Ruby-compatible Rust implementation of strftime

Hacker News2
Bu
Build A2A Compatible AI Agents with Rust38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Build A2A Compatible AI Agents with Rust

Hacker News1
Pe
Peeroxide – Full wire-compatible Rust implementation of Hyperswarm40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Peeroxide – Full wire-compatible Rust implementation of Hyperswarm

Hacker News1
La
Latchor – Tang-compatible NBDE server written in Elixir60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Latchor – Tang-compatible NBDE server written in Elixir

Hacker News1
A
A MISRA C compatible AES, AES-GCM, and AES-CMAC implementation30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A MISRA C compatible AES, AES-GCM, and AES-CMAC implementation

Hacker News3
Ht
HttpClientModule with parameter encodings compatible with back ends50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

HttpClientModule with parameter encodings compatible with back ends

Hacker News1
A
A redux-compatible redux wrapper42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A redux-compatible redux wrapper

Hacker News1
Tk
Tkinter-Compatible Multithreading53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tkinter-Compatible Multithreading

Hacker News1
OS
OS3-RNode, an RNode-Compatible LoRa Modem on CH32V00336%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OS3-RNode, an RNode-Compatible LoRa Modem on CH32V003

Hacker News9
mugpods
mugpods59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Nespresso Compatible Pods

Indie Hackers2$15,000/mob2c