tcp - Forward HTTP traffic with erlang -


i want write "smart" load balancer, "smart" mean should route different request on different servers , ports based on url.

as example somehost.com/server1 should go server1 while somehost.com/server3 should go server3.

however don't want load balancer establish connection client, make requests backend server, , return client. load balancer should transparent possible.

the request should arrive backend servers , return client, without need go through load balancer.

how achievable ? there example in erlang ?


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -