frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Sockudo – Pusher-compatible WebSocket server in Rust

3•radooku•1h ago
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.

Explaining, Blaming, and Being Slightly Sympathetic Toward Enron (2020)

https://mattlakeman.org/2020/04/27/explaining-blaming-and-being-very-slightly-sympathetic-toward-...
1•bschne•48s ago•0 comments

Google to merge Android and ChromeOS in 2026, because AI

https://www.theregister.com/2025/09/25/google_android_chromeos/
1•marcodiego•52s ago•0 comments

TikTok's algorithm will be overseen by Oracle in the US

https://www.cnn.com/2025/09/22/tech/tiktok-sale-oracle-algorithm
1•myth_drannon•1m ago•0 comments

Is Medium Suppressing My Sam Altman $7T Psychosis Satire?

1•GorkFangirl•3m ago•2 comments

I Was Wrong: Start Simple, Then Move to More Complex

https://charles-frenzel.medium.com/i-was-wrong-start-simple-then-move-to-more-complex-5e2f40765481
1•sebg•4m ago•0 comments

Dark Fibre

https://en.wikipedia.org/wiki/Dark_fibre
1•sandwichsphinx•5m ago•0 comments

The PGM-Index

https://pgm.di.unipi.it/
1•Bogdanp•7m ago•0 comments

MCP vs. CLI: Benchmarking Tools for Coding Agents

https://mariozechner.at/posts/2025-08-15-mcp-vs-cli/
1•janpio•7m ago•0 comments

Show HN: Ekhos – On-Device AI Transcription App

https://ekhos.ai/
1•tonyekh•7m ago•0 comments

America's nightmare: China is moving at lightning speed to control the future

https://www.smh.com.au/business/the-economy/america-s-nightmare-china-is-moving-at-lightning-spee...
2•mafm•11m ago•0 comments

Kaikki.org

https://kaikki.org/
1•gone35•15m ago•0 comments

Deploy High-Performance AI Models in Windows Applications on Nvidia RTX AI PCs

https://developer.nvidia.com/blog/deploy-ai-models-faster-with-windows-ml-on-rtx-pcs/
1•pjmlp•15m ago•0 comments

Why Women-Owned Startups Are a Better Bet

https://www.bcg.com/publications/2018/why-women-owned-startups-are-better-bet
2•flail•18m ago•3 comments

Niche Design

https://nichedesign.press
3•shanib•18m ago•0 comments

Boarding Group One

https://www.joanwestenberg.com/p/boarding-group-one
1•colinprince•18m ago•1 comments

The Simple Mathematics of Chinese Innovation

https://marginalrevolution.com/marginalrevolution/2025/09/the-simple-mathematics-of-chinese-innov...
3•surprisetalk•19m ago•1 comments

Are we building an "animal internet"?

https://marginalrevolution.com/marginalrevolution/2025/09/are-we-building-an-animal-internet.html
1•surprisetalk•19m ago•0 comments

The Interactive Fiction Database

https://ifdb.org/
2•surprisetalk•20m ago•0 comments

Abu Dhabi royal family to take stake in TikTok US

https://www.theguardian.com/technology/2025/sep/26/iktok-abu-dhabi-royal-family-stake-trump-deal-mgx
7•andsoitis•20m ago•2 comments

Elle in Hyprland

https://ellesho.me/page/website/now/
1•surprisetalk•20m ago•0 comments

A.I.'S Environmental Impact Will Threaten Its Own Supply Chain

https://www.nytimes.com/2025/09/26/opinion/ai-quartz-mining-hurricane-helene.html
1•blondie9x•20m ago•0 comments

Which AI Model Should You Use for Coding?

https://blog.kilocode.ai/p/choosing-the-right-ai-coding-model
2•nix_95•20m ago•0 comments

'Independent' auditors overvalue credits of carbon projects, study finds

https://news.mongabay.com/2025/09/independent-auditors-overvalue-credits-of-carbon-projects-study...
4•PaulHoule•20m ago•0 comments

Plain Nonsense Trumps Jargon

https://writing.kemitchell.com/2025/09/25/Plain-Nonsense-Trumps-Jargon
2•speckx•21m ago•0 comments

Montblanc made an E-Ink writing tablet

https://www.montblanc.com/en-us/discover/edit/digital-writing-by-montblanc.html
2•danielfalbo•22m ago•0 comments

Can groups with different values work together against Britain's far right?

https://www.theatlantic.com/ideas/archive/2025/09/uk-your-party-corbyn-sultana/684343/
2•binning•22m ago•1 comments

CUDA Hello World: Done Less Wrong

https://ashvardanian.com/posts/less-wrong-cuda-hello-world/
2•ashvardanian•24m ago•0 comments

Nansen launches new crypto trading chatbot

https://www.axios.com/2025/09/25/nansen-ai-crypto-trading-chatbot
1•fcpguru•26m ago•1 comments

I rebranded my project the day after launch

https://inspirow.netlify.app
1•hasibhaque•27m ago•0 comments

Strengthening our team to shape the future of enterprise QA

https://www.synthesized.io/post/strengthening-our-team-to-shape-the-future-of-enterprise-software...
1•fcpguru•28m ago•1 comments