Skip to content

umicat is a L4 reverse proxy load balance server. umicat can provide load balancing service for TCP/UDP network services in the form of reverse proxy.

License

Notifications You must be signed in to change notification settings

SunBK201/umicat

Repository files navigation

umicat

umicat logo

license

umicat is a L4 reverse proxy load balance server. umicat can provide load balancing service for TCP/UDP network services in the form of reverse proxy.

Build and Install

make
sudo make install

Usage

Load Balance Policy

  • round_robin: Round-robin load balance policy.
  • ip_hash: IP-hash load balance policy.
  • least_conn: Least-connection load balance policy.
  • random: Random load balance policy.

Please configure /etc/umicat/umicat.conf before you start using it:

{
    "mode": "tcp",
    "localport": 10201,
    "policy": "round_robin",
    "upstream": [
        {
            "upstream_ip": "127.0.0.1",
            "upstream_port": 80,
            "weight": 2
        },
        {
            "upstream_ip": "127.0.0.1",
            "upstream_port": 81,
            "weight": 2
        }
    ],
    "workers": "auto",
    "log_level": "info",
    "log_file": "/var/log/umicat/umicat.log"
}

Then, you can enjoy it:

sudo umicat -c /etc/umicat/umicat.conf -l /var/log/umicat/umicat.log

Docker

docker run -P -it --rm sunbk201/umicat

License

BSD-2 License

About

umicat is a L4 reverse proxy load balance server. umicat can provide load balancing service for TCP/UDP network services in the form of reverse proxy.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages