Faye vs Pusher: What are the differences?
What is Faye? Simple pub/sub messaging for the web. Faye is a set of tools for simple publish-subscribe messaging between web clients. It ships with easy-to-use message routing servers for Node.js and Rack applications, and clients that can be used on the server and in the browser.
What is Pusher? Hosted APIs to build realtime apps with less code. Pusher is the category leader in delightful APIs for app developers building communication and collaboration features.
Faye and Pusher can be primarily classified as "Realtime Backend / API" tools.
"Simple" is the primary reason why developers consider Faye over the competitors, whereas "An easy way to give customers realtime features" was stated as the key factor in picking Pusher.
Faye is an open source tool with 4.2K GitHub stars and 386 GitHub forks. Here's a link to Faye's open source repository on GitHub.
According to the StackShare community, Pusher has a broader approval, being mentioned in 125 company stacks & 42 developers stacks; compared to Faye, which is listed in 5 company stacks and 3 developer stacks.
What is Faye?
What is Pusher?
Want advice about which of these to choose?Ask the StackShare community!
What are the cons of using Faye?
What are the cons of using Pusher?
What tools integrate with Faye?
In the original prototype all the communication was handled by a backend server. Each client connected directly to the server using the socket.io library. This quickly proved to be messy and unreliable, especially on the cheap server being used to host it.
Websockets proved to be a little more reliable, but still just as messy and not all browsers support them. That's when the project was switched over to use Pusher. Using Pusher has allowed all but the initial connection code to be off-loaded onto the client. Now instead of communicating through a self-hosted server, clients can communicate pretty much peer-to-peer over Pusher.
Faye is in charge to send and receive any instruction and message logged between our users' devices and their Dashboard.
Pusher is used to send update notification whenever Lapzbot joins a server.