Clustering Libs:
- https://github.com/mrluc/peerage
- https://github.com/derekkraan/horde
- https://github.com/bitwalker/libcluster
K8s Elixir
| ARG ALPINE_VERSION=3.12.0 | |
| FROM hexpm/elixir:1.11.0-erlang-23.1.1-alpine-3.12.0 as builder | |
| ARG APP_VSN="1.0.0" | |
| # Replace `your_app` with your otp application name. | |
| ENV APP_NAME=your_app \ | |
| APP_VSN=${APP_VSN} \ | |
| MIX_ENV=prod |
| # Based on gist https://gist.github.com/staaldraad/4c4c80800ce15b6bef1c1186eaa8da9f | |
| # - added TCP states | |
| awk 'BEGIN{states["01"]="TCP_ESTABLISHED" | |
| states["02"]="TCP_SYN_SENT" | |
| states["03"]="TCP_SYN_RECV" | |
| states["04"]="TCP_FIN_WAIT1" | |
| states["05"]="TCP_FIN_WAIT2" | |
| states["06"]="TCP_TIME_WAIT" | |
| states["07"]="TCP_CLOSE" |
Clustering Libs:
K8s Elixir