Source

seamless /

Filename Size Date modified Message
49 B
480 B
14 B
672 B
1.1 KB
1.4 KB
1.4 KB
1.6 KB
299 B
5.5 KB
5.4 KB

seameless is a TCP proxy that allow you to deploy new code then switch traffic to it without downtime.

It does "round robin" between the list of current active backends.

Switching server is done with HTTP interface with the following API:

  • /set?backends=host:port,host:port
    • set list of backends
  • /add?backend=host:port
    • add a backend
  • /remove?backend=host:port
    • remove a backend
  • /get
    • return host:port,host:port

Process

Or

    curl http://localhost:6777/set?backends=localhost:4445

New traffic will be directed to new backend(s).

Installing

You can download a statically linked executable at the downloads section.

Or if you have a Go development environment, you can

go get bitbucket.org/tebeka/seamless

Contact

Miki Tebeka miki.tebeka@gmail.com or here.

LICENSE

MIT