explore__Archon
today we'll explore a basic function.
an MQTT actor model for a simple RPC call
four containers:
- chaos_orchestrator :: this container manages the docker runtime and can start or stop containers 1-3 ..
- stateful_container :: this container stores state that persists across container restarts (docker volume)
state:
heartbeat_sdetermines how many seconds between heartbeat pub on zenoh net - calculator_container :: this container hosts
multiply_A_B :: A => B => resultand is stateless - sensor_container :: this container returns a synthetic
core temperature valueand epochtimenanos (if it's trivial to get the host OS core temp than you can implement this but don't try hard on that) - zenoh_router (isolated in this docker compose env)
- sensitive_container :: this container gets anxious when stateful_container resting heartrate is faster than 1hz and complains "WAAAAAAHhhhhhhhaahabahhha waaaa {{perceived heartbeat of #1}}" ... or says "YUMMMMM {{heartbeat}}" if slower than 1hz
- master_consumer_container :: interfaces with all the other containers.
;;; validation there should be per-container unit tests
and there should be network-wide integration testing.