Action Cable

Action Cable Overview - Rails Guides

Terms

  • Connection: one WebSocket connection instance (for example, one browser tab)
  • Consumer: the client end of a connection
  • Channel: a logical unit of work, like a controller. A connection can subscribe to multiple channels
  • Subscription: a consumer’s connection to a channel
  • Broadcasting: “a pubsub link where anything is transmitted” (is this a one-time or ongoing thing?)