# Solid Cable

> A database-backed Action Cable adapter

Source: https://talira.ai/catalog/solid-cable-sv4rkd75
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / websockets / pubsub](https://talira.ai/categories/libraries/websockets/pubsub), [languages / ruby / rails](https://talira.ai/categories/languages/ruby/rails)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Backed by: [Ruby on Rails](https://talira.ai/orgs/ruby-on-rails.md)
- Creator: Nick Pezza

Solid Cable is an Action Cable adapter for [Rails](https://talira.ai/catalog/ruby-on-rails-xkdcpj5k.md) that keeps WebSocket broadcast messages in a database table and polls it, so an app can drop [Redis](https://talira.ai/catalog/redis-v917j45s.md) if it only needed it for pub/sub. It works with [MySQL](https://talira.ai/catalog/mysql-dy4scprm.md), [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md) and [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md), performs comparably to Redis in most cases by its benchmarks, and keeps messages for debugging until it trims them. It's the default Action Cable adapter in new Rails 8 apps; unlike Postgres's own adapter it has no 8 KB payload limit.

## Links

- GitHub: https://github.com/rails/solid_cable

## Problems it solves

- run WebSockets in a Rails app without running Redis just for pub/sub
- Postgres NOTIFY's 8KB payload limit breaks our large broadcasts
- live updates over Action Cable on a single server with SQLite
- keep recent broadcast messages around so I can debug what was sent
- what pub/sub adapter does a new Rails 8 app use for Action Cable

## Features

- Action Cable adapter backed by MySQL, SQLite or PostgreSQL
- default adapter in Rails 8
- polling interval and message retention settings
- automatic trimming of old messages
- encryption of messages
- single database or separate cable database

## Trust

Overall: 0.35 out of 1.
Signals: backing 0.50, extensibility 0.00.

- backed by Ruby on Rails
- created by Nick Pezza

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Redis](https://talira.ai/catalog/redis-v917j45s.md): The preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine

## Sources

[^1]: https://github.com/rails/solid_cable/blob/main/MIT-LICENSE (checked 21 Nov 2026)
[^2]: https://github.com/rails/solid_cable (checked 21 Nov 2026)
