Hi all,
I did some google search but still not found any example/tutorial for my case.
Assume I have a nodejs app using socket io, and I want to use node-http-proxy as load balancer.
My app is replicated in 2 servers with the same port.
server1: myapp_url:8000
server2: myapp_url:8000
How I can configure through node-http-proxy so user just browse to http://proxy_url:proxyport, then request will be redirected to server1 or server2 automatically based on load balancing algorithm?
And does node-http-proxy support load balancing algorithm efficiently and transparently? I saw on github site just a simple round robin algorithm, I'm supposed that such thing should be transparent with developer, we just need to configure only?
Thanks for your time.
--
Nguyen Hai Duy
Mobile : 0914 72 1900
Yahoo: nguyenhd_lucky