Monoliths are simple in go.
- One static binary to deploy
- No network latency
- No network packet loss etc.
What if we could build a monolith which can easily be split into independently running microservices if and when neeeded?
The Hakka Roundhouse monolith tries to do this...
docker run -it --name present -v godata:/home/siuyin/go -p 3999:3999 siuyin/go:dev
go get golang.org/x/tools/cmd/present
setup .bashrc to have ~/go/bin in PATH or export PATH=~/go/bin:$PATH
present -http 0.0.0.0:3999 -orighost {docker_host_IP}
eg1. present -http 0.0.0.0:3999 -orighost 192.168.99.100
eg2. present -http 0.0.0.0:3999 -orighost 127.0.0.1