Getting started

AnyCable is a language-agnostic server for web applications that brings performance and reliability to your real-time features. It follows Rails Action Cable conventions and uses Action Cable protocol as a primary communication protocol (while supporting others as well). AnyCable is a multi-transport server supporting WebSockets, Server-Sent Events and long-polling.

AnyCable diagram AnyCable diagram

The primary goal of AnyCable is to make it possible to write a high-performant real-time application keeping business-logic in your backend application (whether it's Ruby on Rails or serverless JavaScript or whatever).

AnyCable could be used with the existing Action Cable clients (such as Rails JavaScript client or Action Cable CLI) without any change. However, for web development we recommend using AnyCable JS/TS client, which provides better compatibility with AnyCable-specific features.

You can use AnyCable with: