Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it recommended to build a forum using node.js? [closed]

Tags:

node.js

forum

I've heard that node.js is really fast for applications like chats and real time apps. I was wondering if node is a good choice to develop a forum or a q&a site like StackOverflow?

like image 434
alexchenco Avatar asked Nov 25 '11 10:11

alexchenco


People also ask

Is Nodejs losing popularity?

Node. js development has become very popular over the last four years and continues to stand the competition in 2022 making startups worldwide choose it over other available options.

What type of application that Nodejs is best suitable for?

Node. js is particularly well suited for high-performance applications that do much I/O work, such as real-time chat servers. It was challenging to build a web-based chat application without using a third-party plugin in the past.


1 Answers

Yes it's perfectly possible, you don't have to implement your own web server like somebody said, you can just create it using something like Express (as a framework) and Mongoose (as a MongoDB ORM) or whatever you choose.

I think Node.js is a good solution for such a case because of its high concurrency (and Stack Overflow is a site where thousands of users are online in the same time probably). So yes you can achieve this with PHP, Ruby and Python etc, but I believe Node.js is a better fit (that's my opinion, based on the success stories I've heard which were based on Node).

Node isn't just a solution for building small services, here are some good examples ( https://nodejs.org/en/blog/uncategorized/an-easy-way-to-build-scalable-network-programs/ ).

like image 162
alessioalex Avatar answered Sep 25 '22 15:09

alessioalex