MDSLab / wstun

Tunnels and reverse tunnels over WebSocket
Apache License 2.0
114 stars 44 forks source link

Can this work as a load balancer? #9

Closed jimmywarting closed 8 years ago

jimmywarting commented 8 years ago

I have built something similar before with socket.io but this seems way better then what i built.

I have currently 3 servers (slaves) that are connected to one master that handels all request and distributes them over to all slaves throught socket.io

Can something similar be done with this package?

alotronto commented 8 years ago

Hi jimmy, node-reverse-wstunnel library can not work as loader balancer, in this moment. When you use this library, you create a connection point to point between client and server, one public port on the server is mapped to a client. The library born to map one connection on the server with one service on the client.