Re: [nodejs] Server to Server communication with only one IP available

2014-10-11 Thread Aria Stewart
> On 11 Oct 2014, at 22:32, aeneas Winterhalter wrote: > > Hello, > > I have two node.js backend-servers. Server A has a static IP and can be > reached from anywhere. Server B is behind a gateway and has no static IP. > If I want to send a message from Server B to Server A with Shuttle or > s

[nodejs] Server to Server communication with only one IP available

2014-10-11 Thread aeneas Winterhalter
Hello, I have two node.js backend-servers. Server A has a static IP and can be reached from anywhere. Server B is behind a gateway and has no static IP. If I want to send a message from Server B to Server A with Shuttle or socket.io, I can easy set the static IP of server A as receiver and send

Re: [nodejs] Server-to-Server Communication

2012-10-29 Thread Adam Crabtree
We use Schoon's Shuttle at RedRobot, and it's been working out perfectly as a drop-in replacement for hook.io with dramatic performance increases. It uses msgpack and 0mq. Definitely check it out if you're wanting to go the 0mq route. Otherwise, Engine.io looks promising, though I've never used it.

Re: [nodejs] Server-to-Server Communication

2012-10-29 Thread Tim Caswell
Internally at cloud9, we use the smith protocol. It's based on the same idea of dnode, but has restricted abilities so that it can be leak-proof using normal javascript (dnode requires --harmony to prevent leaks) and very fast. We usually use the protocol over msgpack + tcp between servers (or ov

Re: [nodejs] Server-to-Server Communication

2012-10-28 Thread rektide
There's node-webworker at https://github.com/pgriess/node-webworker . It's programmed via an API alike W3C's WebWorkers. Internally it's a very simple message passing protocol, hosted on top of WebSockets. Between the too low level (ZeroMQ, dealing intimiately with sockets) and too high level (p

Re: [nodejs] Server-to-Server Communication

2012-10-28 Thread Ryan Schmidt
On Oct 28, 2012, at 03:07, Arunoda Susiripala wrote: > How about hook.io, what happen to it? hook.io is dead: https://groups.google.com/d/msg/nodejs/FCsTCopm_dE/kfCS-1nRfrUJ -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Gu

[nodejs] Server-to-Server Communication

2012-10-27 Thread Jacob Groundwater
I was wondering what others are using for communication between back-end servers. Since I control all involved servers, I would rather not include authentication at the application layer. Forwarding SSH ports is perfectly acceptable. On that note, my own research has lead me to three options, in o