amrinder007
amrinder007

Reputation: 1475

What to use for real-time chat application

Im developing a chat application just like omegle.com with some more features for my college project. I want to know which would be the best approach from following two and why:-

  1. NodeJS + Socket.io
  2. Rails + Faye

I searched a lot on these two and somewhere it says about 1st option and some 2nd. (mostly 2nd)

Please help me here because im little confused which to use as im searching and reading on internet from past one week and didnt come up to any conclusion and already wasted my lot of time.

Any suggestions might do as it would help me to kickstart my project.
(Note:- If there is any other approach then please suggest it.)
Thanks :)

Upvotes: 8

Views: 8891

Answers (3)

Stephane Paquet
Stephane Paquet

Reputation: 2344

Rails + Faye as you will have more features out of the box using Faye.

NodeJS + SocketIO will lead you to develop much of what you have with Faye. So why wasting this time?

If you want to use NodeJS as "app server" try to look for something equivalent to Faye such as Chat.io

Upvotes: 1

Dennis Hackethal
Dennis Hackethal

Reputation: 14295

I just released a gem for this called Entangled:

https://github.com/so-entangled/rails

It basically enables two way data binding between your front end and back end, meaning new data or changes to existing data will be pushed to all connected clients in real time. A chat app should be easy to build with it.

Upvotes: 3

Sourabh Upadhyay
Sourabh Upadhyay

Reputation: 1044

You can also prefer this:

https://github.com/ciserfan/cis_rails_chat

This is good gem to implement chat.

Upvotes: 3

Related Questions