Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shall I use Node.js Instead of Rails for Real-time WebApps?

I'm in the process of building a complex web app that must work a lot with real-time data and showing that data to the user.

Given that I'm more used to Rails, I'm wondering if there's a big advantage of dumping rails and use node.js to build the app or if there's a way I can have the real-time advantages of Node.js in Rails.

Better would be to be able to use Node.js and Rails. Is that a possibility?

Thanks

like image 513
donald Avatar asked Apr 04 '11 13:04

donald


People also ask

Is Node JS good for real-time applications?

Therefore, it helps in quicker data organization. Node. js is best suited for handling concurrent connections, making it an excellent framework to develop real-time as well as multi-user web apps. Chatbots and gaming apps can also be created with the help of Node.

Is node better than Rails?

Performance speed If we compare the speed of Ruby on Rails vs Node. js, even experienced Ruby on Rails developers acknowledge that the framework is slow. While its speed improves with every version, it's still a lot lower than Node's. There are many reasons for the performance delay.

Is Nodejs real-time data-intensive?

Node. js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.”

Which is better node js or Ruby on Rails?

Node. js performs 20 times better than Ruby on Rails. Unfortunately, with RoR it is much harder to achieve the concurrency. It doesn't completely support asynchronous code and the performance is not that high.


1 Answers

Better would be to be able to use Node.js and Rails. Is that a possibility?

IMHO combining the best of both worlds is a very good idea since you can use your existing experience to build "standard" MVC parts of your web application and use node.js for specific real-time based elements. This can not only widen your skill set but you can also learn new techniques on how to solve various problems with appropriate tools.

like image 76
yojimbo87 Avatar answered Oct 11 '22 10:10

yojimbo87