Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Websockets between 2 servers?

I wonder if it's possible to use websockets between 2 webservers instead of between a browser and backend?

Im running 2 node.js servers and want to exchange data between them.

like image 599
ajsie Avatar asked Apr 01 '11 06:04

ajsie


1 Answers

Try to look at node2node-socket.io or Socket.io-node-client modules. However I would say that you should stick to built-in net module with pure sockets if you are communicating only between web servers.

like image 57
yojimbo87 Avatar answered Oct 10 '22 21:10

yojimbo87