Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Do Nascimento Romain6,303 Points
Is making an Instant Messaging System with RubyOnRails a bad idea ?
I'm thinking of making a web app that provides instant messaging services (something similar to Slack, Skype, Hall...) with some social features.
I first thought that Ruby would be a nice programming language to do so.
However, I found several times on the Internet that Ruby was quite bad at handling lots of requests, and making an instant messaging system with it is not a good idea. People instead suggested me to use an event-driven programming language such as node.js.
Are they right ? What do you think about it guys ?
Maciej Czuchnowski36,441 Points
You can research Rails' support for Websockets through alternative servers like Puma or Phusion Passenger. I can't say how well this would perform under load, I just wrote a simple chat using this tutorial: http://www.sitepoint.com/realtime-mini-chat-rails-faye/
It worked fine, even when deployed on Heroku. It's possible that Node is better suited for this, but I have no experience with it.