ambd makes Ambassador Pattern simple for Serivce Oriented Architecture, by bridging micro services through generic point to point connector, or by meaningful context, backed by discovery service.
ambd connectivity logic is provided by go-proxy.
See setting up a test deployment.
- The Ambassador daemon
ambd
ambd --addr 0.0.0.0:29091
- Runtime configuration client
ambctl
ambctl info
ambctl list
ambctl create --name mgo --src :27017 --dst mgos-ip-1:27017 --dst mgos-ip-2:27017
ambctl cancel --name mgo
How To Use the Ambassador Pattern to Dynamically Configure Services describes what this strategy could do to enable service discovery, connectivity and better routing pattern, without extensive network connection logic implemented in each service node.
- It is a light weight proxy daemon.
- With runtime configuration client that is intuitive and scriptable.
- Resilient to network partition and retry.
- Docker image available jeffjen/ambd
Together with docker packaging and network facility, we can deploy with confidence that code running in development environment will continue to work in production environment.
See setting up a test deployment.
- Open an issue
- Ask on gitter