Balancer for thrift
C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README
balancer.c
common.h
configl.l
configy.y
tpool.c
tpool.h

README

Simple Thrift balancer
======================

Configure file
--------------

Global parameters:

  * listen --- port to listen on

Back-end pool:

  * backends { servers };

Server:

    server domain port 65537 [timeout 10000 ms];

Timeout specifies connect and write timeout.

Example config
--------------

    listen 9090;

    backends {
        server thrift1.example.com port 9090;
        server thrift2.example.com port 9090 timeout 300 ms;
    };