shadrix's avatar
Level 12

What would you choose? Firebase or Pusher?

What would you recommend to use? So I'm developing a website where users can chat to each other with Javascript Vue. And I started to read about Laravels Broadcast about Pusher and socket-io.

Now looking for Pusher vs. Socket-Io, I found another opportunity with Firebase (https://stackshare.io/stackups/firebase-vs-pusher-vs-socket-io)

So Firebase has a lot of options that can be perhaps interesting to use in the future, but I actually don't need it right now for my web-chat application.

What would you use?

Firebase or Pusher? I'm interested in your thoughts

0 likes
3 replies
bobbybouwmann's avatar
Level 88

Right now Laravel and Laravel Broadcast have built in support for Pusher and not for Firebase. The logical option would be to use Pusher in the beginning. If you want to switch you might need to do a lot more work to make everything work.

If you already know you want to switch to Firebase in the future you should pick that option ;)

I would personally choose Pusher here, since you talk about a chat application. Pusher has a lot of functionality (even more than you need for a chat app).

My only question to you; What does Firebase offer for you right now that might be better than pusher? I don't know your full requirements. I always like the philosophy where you choose the right tool for the right job ;)

2 likes
jbloomstrom's avatar

I like Pusher for its ease of use, but if you think you'll have more than 100 concurrent users you'll have to upgrade to one of their paid plans. Not sure if that influences your decision.

If you haven't ruled out socket.io as a possibility, this Laravel Echo Server is a great option - https://github.com/tlaverdure/laravel-echo-server.

1 like
shadrix's avatar
Level 12

Okay thank you for your fast responses!

@bobbybouwmann Yeah that is what I don't know yet, because my first project is actually bigger than what I can think right know. I know it's not the best way to code, but I build my page "on the fly" so maybe I need something in the future that I currently don't know. I just saw that Firebase has a big community and a lot to offer... but on the other hand I see only a little support for Laravel with it. So right now I stick with pusher, but thank you for your reply!

@jbloomstrom I just started to learn how to use broadcasting and of course socket.io is something that interested me as well. So definitely I'll check it out. Thank you!

Please or to participate in this conversation.