Action Cable is a Rails component that helps to incorporate real-time features into your Rails application. We will talk about how Action Cable implements PubSub using WebSocket protocol, whether WebSocket protocol is always a good choice, and what are alternatives to it.