AnyCable
Realtime server with delivery guarantees, presence tracking, and message ordering — built in.
Works with Rails, Laravel, Node.js, Python, and any backend via HTTP API.
Open source, managed, or on-premise Pro.
Start a free trial of SaaS, or on premise Pro
Sign upWhy AnyCable?
Delivery guarantees, out of the box
Most WebSocket solutions don't guarantee delivery. AnyCable does. Missed messages are automatically recovered during connectivity issues — micro-disconnections, subway rides, or network switches. Your connections also stay alive during deploys, so users never notice a deployment.
10,000+ connections per server
Written in Go for minimal memory overhead on long-lived connections. Works with any backend — Rails, Laravel, Node.js, Python, or any language via HTTP pub/sub API. In production since 2017, powering 50+ companies.
The emulation below demonstrates how AnyCable handles connection failures and restores missed messages. You can try this feature yourself in our Demo application.
Managed, open source, or on-premise Pro
Start with AnyCable in its managed (SaaS) form, then switch to the on-premise Pro version as you scale. You can always move to open source, which is free. No code changes are needed to switch between any option — choose what's best for you today.
Secure and HIPAA compliant messaging
Using on premise AnyCable, Pro and open source, you store all realtime data, such as chat messages, on your servers and never have to send it to a 3rd-party. Simple, secure and compliant with HIPAA.
Works with any backend
AnyCable runs as a standalone server alongside your application. Broadcast from any backend via HTTP API — or use native SDKs for Rails and Laravel. Works with Hotwire, Turbo Streams, and any JavaScript framework out of the box.
Reuse your existing infra components
AnyCable doesn't require any additional infrastructure components for its operation and scalability: good old HTTP API and embedded NATS pub/sub server got you covered. And if you already have Redis or NATS, you can use it as well.
import { createCable } from "@anycable/web";
const cable = createCable();
// Basic pub/sub interface
let channel = cable.streamFrom("chatty/2025");
channel.on("message", (msg) => {
// handle notification
});
// join the channel's presence set
channel.presence.join(user.id, { name: user.name })
channel.on("presence", (event) => {
// handle presence updates
})
class ChatChannel < ApplicationCable::Channel
def speak(data)
message = data.fetch("message")
name = user.name
broadcast_to(
workspace,
action: "newMessage",
html: render("chats/message", message:, name:),
author_id: user.id
)
end
end
export class ChatChannel extends Channel {
async speak(handle, params, data) {
const { message } = data;
const name = handle.identifiers.username;
const payload = {
event: "newMessage",
name,
message,
};
await broadcastTo(`roomId:${params.id}`, payload);
}
}
# Broadcast from FastAPI via HTTP API
import httpx
@app.post("/messages")
async def create_message(msg: Message):
async with httpx.AsyncClient() as client:
await client.post(
f"{ANYCABLE_URL}/api/v1/broadcasts",
json={
"stream": f"chat/{msg.room_id}",
"data": msg.json()
}
)
return {"ok": True}
Industries
Healthtech
- HIPAA and SOC2 compliant — AnyCable runs on premise, data never leaves your infrastructure.
- Powers patient-doctor communication, telehealth video, and real-time health monitoring.
- Used as a critical component in software serving millions of patients.
"We use AnyCable for our dialer products, which is where real-time is critical — it's our video and voice platform. Anytime you restart your application, which happens when you deploy, you're gonna get connection severances. AnyCable allows them to keep that connection open. That Go service stays up, and you can continue shipping your Rails application as normal."
Industries
Fintech
- Real-time market data, live dashboards, transaction notifications.
- Handles massive concurrent connections where every millisecond matters.
Industries
Field Services & IoT
- Live GPS tracking, real-time dispatching, and EV charging infrastructure.
- Native support for OCPP (Open Charge Point Protocol) for EV charger communication.
- Keeps field teams and transit fleets in sync with low-latency connections.
Industries
Communities
- Real-time messaging, live events, presence indicators, activity feeds.
- Community platforms need WebSocket connections at scale — AnyCable delivers.
- From creator communities to live interpretation — reliable delivery across use cases.
Industries
And more
- Live notifications, real-time collaboration, streaming AI responses.
- From marketing funnels to audience engagement — AnyCable powers the real-time layer.
- Cost-efficient: SaaS expenses grow as your product grows, but AnyCable Pro does not.
Pricing
Choose option
-
Open-
sourceDeploy to Heroku, Fly, AWS, and anywhere with Docker or K8s.
Key features:
- Hotwire support out-of-the-box
- Consistency
- JWT authentication
- Prometheus and StatsD instrumentation
Free
Learn more -
Pro
Twice more memory efficient than open source, and:
- Consistency in cluster mode
- Adaptive scaling
- Slow drain on shutdown
- Binary compression
- Long-polling fallback
- Apollo GraphQL support (clients, Studio)
- Dedicated Slack-based support
$1490 per year
Sign up
Unlimited instances
Free 2-month trial -
Managed
We run and support AnyCable Pro for you.
Free for early users
Sign up -
Consulting
- Setup and deploy AnyCable
- Load test setup to prepare for scale
$200 per hour anycable@evilmartians.com
Resources
Documentation
- Works with Rails, Laravel, JavaScript, and any backend via HTTP API.
- Deploy with Docker, Kubernetes, Heroku, Fly.io, or as a standalone binary.
- Comprehensive guides for every integration.
Resources
Talks & Videos
- Conference talks, screencasts, and deep dives on real-time architecture.
- Learn from AnyCable users and maintainers.
All screencasts on YouTube
Resources
Newsletter & Community
- Subscribe to our newsletter — monthly releases, tips, and case studies.
- Follow on X (Twitter).
- Submit issues on GitHub.
Try Slide Quiz — live polls for Sli.dev and Reveal.js web presentations powered by AnyCable