beurtbalkje

    0.0.3 • Public • Published

    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.

    Therfor 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:8080

    Usage (go)

    go install github.com/bfanger/beurtbalkje
    
    beurtbalkje --port=8888 localhost:8080

    Misc

    A "beurtbalkje" is the dutch word a checkout divider.

    Keywords

    none

    Install

    npm i beurtbalkje

    DownloadsWeekly Downloads

    6

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    9.5 MB

    Total Files

    9

    Last publish

    Collaborators

    • bfanger