I
I
Itvanya2014-12-13 10:16:10
JavaScript
Itvanya, 2014-12-13 10:16:10

Small corporate social network on Node.js: pros and cons?

Guys, hello everyone. The other day, an order came to the studio: a small social network, but exclusively corporate. We set the task: we need maximum performance, because the social network is mainly associated with notifications, document downloads, and everything, as we understand it, should be beautiful and asynchronous.
The question was: Node.js with asynchrony out of the box and Ruby with a bunch of gems. Ruby, of course, loses in speed, but for some reason there are a bunch of gems for every occasion. The node, however, does not yet have so many modules and libraries that it will slow down the development speed (which is not so important), because the technology is simply gorgeous: easily extensible, fast and fashionable.
What would you choose for this project? And does it make sense to count on a node in similar projects in the future (social networks, portals)?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Sergey Lerg, 2014-12-13
@Lerg

Node.js is fine, although it has now split and received a branch of io.js.
If you need maximum performance, then it makes sense to run at least the part of the project's API that is directly responsible for notifications in Go.

K
Konstantin Kitmanov, 2014-12-13
@k12th

The classic answer is: write what you know. I personally would not hesitate to write on the node - if only because I'm in a hack or a tooth with my foot.
Regarding the number of libraries - have you been on npm for a long time? :)

S
Sergey, 2014-12-13
Protko @Fesor

well, if you have to have push notifications or something like that, then it will be easier to take node.js. On the other hand, you can implement ONLY push notifications on node.js and write the corporate portal itself in ruby ​​+ combine all this with a data bus on which zeromq.
If you're curious to poke node.js on something more complex than a websocket server, why not...

V
Vasily minodvesP, 2014-12-16
@benoni

so it seems that the node is just sharpened for such things as social networks, chats, etc., especially since the network is small, corporate, then I think the node will be just right. ;)
P.S. But for large projects with very large loads (more than 10k), I think you should take not a node or ruby, or go, but Erlang.

R
Renat Abdusalamov, 2015-01-12
@Abdusalamov

Hm-hm, I will allow myself such an assumption in the answers, but if you need to be pretty and modern for a corporate environment, then there is bitrix24.ru. I am not a fan of Bitrix, but they tried their best on this product.
Well, if you suddenly decide to cut yourself, then be inspired.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question