Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

explore__Archon

today we'll explore a basic function.

an MQTT actor model for a simple RPC call

four containers:

  1. chaos_orchestrator :: this container manages the docker runtime and can start or stop containers 1-3 ..
  2. stateful_container :: this container stores state that persists across container restarts (docker volume) state: heartbeat_s determines how many seconds between heartbeat pub on zenoh net
  3. calculator_container :: this container hosts multiply_A_B :: A => B => result and is stateless
  4. sensor_container :: this container returns a synthetic core temperature value and epochtimenanos (if it's trivial to get the host OS core temp than you can implement this but don't try hard on that)
  5. zenoh_router (isolated in this docker compose env)
  6. 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
  7. 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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors