If you want to update your comments sockets are not needed. Http request is sent to the adding a comment, the expected response, status 200 when you add on the page a new record. It's all happening in the browser node.js nothing to do with it. If you want to update the comments in real time, then no socket will not do. I advise you to start with socket.io
, there is everything you need for a quick start.