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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -