beurtbalkje
v1.0.0
Published
Connection queue proxy for restarting services
Downloads
22
Readme
Beurtbalkje
Connection queue proxy for restarting services
usage: beurtbalkje [-port=8888] [-timeout=30] target
Beurtbalkje is a tcp proxy that proxies all traffic to another service, but keeps accepting connections while the target server is down.
Therefor instead of a connection refused error while the (development) service is restarting, the connection is accepted and the client waits until it gets to send and receive data. As soon as the target server is up again the connection is proxied.
This makes it look to the client as if the service took some extra time to respond.
Usage (npm)
npx beurtbalkje --port=8888 localhost:8080Usage (go)
go install github.com/bfanger/beurtbalkje
beurtbalkje --port=8888 localhost:8080Misc
Because the client enters a queue and waits for service the project is called "beurtbalkje" which is the dutch word for checkout divider.
