Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

tutumcloud/http-tap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-tap

Pauses and resumes HTTP connections to allow zero downtime deployments with schema migrations. Inspired by How Balanced does Database Migrations with Zero-Downtime.

Usage

docker run -d --name tap -e FRONTEND_BIND="0.0.0.0:80" -e BACKEND_SERVER="127.0.0.1:8000" --net host tutum/http-tap

Will listen in http://0.0.0.0:80 and forward requests to http://127.0.0.1:8000

To pause all connections:

docker exec tap pause

To resume all paused connections:

docker exec tap resume

About

Pause and resume HTTP connections to your web backends to allow zero downtime schema migrations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages