On the Faye website: Faye is a Bayeux-based subscription messaging system. It provides message servers for Node.js and Ruby, and clients for use on the server and in all major web browsers.
From the ActionCable readme: Action Cable seamlessly integrates WebSockets with the rest of your Rails application. This allows you to write real-time functions in Ruby in the same style and form as the rest of your Rails application, while still executing and scalable. This is a full-stack offer that provides both the JavaScript client infrastructure and the server-side Ruby framework. You have access to a complete domain model written using Active Record or your ORM.
The short answer is YES, both are pub / sub messaging.
The long answer is NO, because faye is a low-level tool, and ActionCable uses faye ( see here ) for at least some components.
But you can always get the same results using (possibly) different efforts to create an application using faye or ActionCable. The big difference is that Faye works as a rack component rather than a rail-based component.
source share