Sockudo

Production-Ready Realtime Infrastructure

Drop-in Pusher replacement built in Rust. Own your WebSocket infrastructure with enterprise features like delta compression, tag filtering, and multi-region scaling.

Why Sockudo?

Built for teams that need control, performance, and advanced features beyond basic pub/sub.
    Blazing Fast
    Written in Rust with async I/O. Handle millions of concurrent connections with minimal resource usage. Scales horizontally with Redis, NATS, or Redis Cluster.
    Drop-in Compatible
    Keep your existing Pusher integrations. Works seamlessly with pusher-js, Laravel Echo, and all official Pusher SDKs. Migrate without changing client code.
    Advanced Features
    Delta compression with conflation keys reduces bandwidth by 80-95%. Server-side tag filtering sends only relevant messages to clients.
    Production Ready
    Built-in rate limiting, origin validation, per-app quotas, health checks, Prometheus metrics, and webhook batching. Deploy with confidence.
    Flexible Storage
    Store app configs in memory, MySQL, PostgreSQL, DynamoDB, ScyllaDB, or Redis. Choose what fits your infrastructure.
    Developer Friendly
    First-class TypeScript client with Filter API, delta reconstruction, and ergonomic subscription management. JSON config with environment variable overrides.

Core Features

Everything you need to build production-grade realtime applications.
    Pusher Protocol Compatible
    Public, private, and presence channels. Client events. HTTP API with signed requests. Works with existing Pusher clients and server libraries.
    Delta Compression
    Send only message differences instead of full payloads. Conflation keys group messages by entity for 80-95% bandwidth savings on high-frequency updates.
    Tag Filtering
    Server-side message filtering with tags. Clients subscribe with filter expressions and receive only matching messages. Reduce bandwidth and client load.
    Horizontal Scaling
    Scale across multiple nodes with Redis, Redis Cluster, or NATS adapters. Cluster health monitoring and automatic dead node detection included.
    Security & Rate Limiting
    Origin validation, API authentication, per-app connection limits, and rate limiting for both WebSocket and HTTP traffic. Memory-based or Redis-backed.
    Observability
    Prometheus metrics endpoint with detailed WebSocket, pub/sub, and delta compression stats. Health checks for readiness and liveness probes.

Get Started in Minutes

Three ways to run Sockudo, from Docker compose to production clusters.
    Docker Compose
    Clone the repo and run docker compose up. Perfect for local development and testing. Health checks and metrics included.
    Precompiled Binary
    Install with cargo binstall sockudo for instant setup. Choose feature flags for Redis, MySQL, NATS, and more. No compilation required.
    Build from Source
    Compile with custom features using Cargo. Full control over dependencies. Supports all backends and integrations.

Official JavaScript Client

@sockudo/client extends Pusher's API with advanced features while maintaining full compatibility.
    Filter API
    Subscribe with server-side filters using a fluent API. Supports equality, comparison, set membership, pattern matching, and complex AND/OR combinations.
    Delta Reconstruction
    Automatic delta decoding with cache management. Track bandwidth savings with stats hooks. Per-subscription delta negotiation and error handling.
    Framework Integration
    Works with Laravel Echo, React, Vue, Svelte, and vanilla JavaScript. Custom connector for Echo with full feature support.

Integrations & Ecosystem

Connect Sockudo with your existing tools and frameworks.
    Laravel Echo
    Drop-in replacement for Pusher with Laravel Broadcasting. Use @sockudo/client connector for advanced features or standard pusher-js for basic pub/sub.
    Pusher-JS
    Standard pusher-js works out of the box. No code changes needed. Point wsHost to your Sockudo server and you're ready.
    Backend SDKs
    Use official Pusher server libraries in PHP, Node.js, Python, Ruby, Go, and .NET. Configure endpoint URL and credentials, then publish events.
    Redis & NATS
    Horizontal scaling with Redis, Redis Cluster, or NATS adapters. Shared pub/sub for multi-node deployments with cluster health monitoring.
    Database Support
    Store application configs in MySQL, PostgreSQL, DynamoDB, ScyllaDB, or Redis. In-memory mode for development.
    Queue & Webhooks
    Process webhooks asynchronously with Redis queues or AWS SQS. Automatic batching and retry logic included.

Ready to Get Started?

Install Sockudo, connect your first client, and start building realtime features in under 5 minutes.
Copyright © 2026