Balance; A TCP proxy and load balancer

Posted on


Balance is load balancing solution being a simple but powerful generic tcp proxy with round robin load balancing and failover mechanisms. Its behaviour can be controlled at runtime using a simple command line syntax.

/usr/local/sbin/balance 80 10.10.1.2:5005

Balance binds on port 80 of the local IP address 10.10.1.1 and distributes connections to the IPv4 addresses 10.10.1.2 port 5005

Today… balance has saved my life🙂

2 thoughts on “Balance; A TCP proxy and load balancer

    budiwijaya said:
    November 11, 2012 at 9:13 pm

    Pak, saya kok jadi bingung ya? Apanya yg di distribute kalo cuma ada 1 ip tujuan ?

    invaleed responded:
    November 12, 2012 at 10:07 am

    Kasus saya ini, berhubungan dengan koneksi ke external, jadi port 80 itu konek ke indosat, port 5005 itu konek ke XL, dengan paket yang sama… jadi satu paket di distribute ke XL dan Indosat.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s