Skip to content
railsengines.com

Solid Cable

A database backed ActionCable adapter

No ratings yet
Gem
solid_cable
Repository
rails/solid_cable
License
MIT
Stars
342
Added
August 21, 2026

About

A database backed ActionCable adapter

Solid Cable is a database-backed Action Cable adapter that keeps messages in a table and continuously polls for updates. This makes it possible to drop the common dependency on Redis, if it isn't needed for any other purpose. Despite polling, the performance of Solid Cable is comparable to Redis in most situations. And in all circumstances, it makes it easier to deploy Rails when Redis is no longer a required dependency for Action Cable functionality.

What you get

  • autotrim - sets wether you want Solid Cable to handle autotrimming messages. (Defaults to true)
  • silence_polling - whether to silence Active Record logs emitted when polling (Defaults to true)
  • trim_batch_size - the batch size to use when deleting old records (default: 100)
  • reconnect_attempts - Supports a number of connection attempts or an array of

Installing it

ruby
# Gemfile
gem "solid_cable"

Details

342 stars on GitHub · MIT licensed · maintained by rails. Source: https://github.com/rails/solid_cable

Discussion (0)

Sign in to join the discussion.

No comments yet.