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

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to