How absmach/propeller works
Main Components
a) Core Services (represented as distinct containers/components):
• Manager Service (cmd/manager)
• Proplet Service (cmd/proplet)
• Proxy Service (cmd/proxy)
• CLI Interface (cmd/cli)
b) Infrastructure Components:
• NATS Message Broker (docker/nats)
• Nginx Reverse Proxy (docker/nginx)
• SpiceDB for authorization (docker/spicedb)
• OCI Registry (external component)
c) Runtime Components:
• WebAssembly Runtimes
• Wazero Runtime (proplet/runtimes/wazero.go)
• Host Runtime (proplet/runtimes/host.go)
Client Layer
• CLI tool connecting to Manager API
• External systems connecting via MQTT/HTTP proxy
Control Plane
• Manager service as the central orchestrator
• Connection to storage layer (pkg/storage)
• Integration with scheduler (pkg/scheduler)
Data Plane
• Proplet instances running WebAssembly workloads
• MQTT message routing through SuperMQ
• Proxy handling HTTP/MQTT traffic
Architectural Patterns to Highlight
• Service Mesh Architecture
• Event-driven communication via NATS
• Multi-runtime support for WebAssembly
• Security layer with SSL/TLS (docker/ssl)
Storage/State Layer
Use these visual elements:
• Blue containers for core services
• Green connections for secure communication
• Orange for WebAssembly runtimes
• Purple for infrastructure components
Implementation Details
• Rectangles: Core services
• Hexagons: Runtime environments
• Clouds: External services
2. Include these connections:
• REST APIs (Manager ↔ CLI)
• MQTT routes (Proxy ↔ Proplets)
• Event bus (NATS connections)
• Storage access patterns
3. Add annotations for:
• Security boundaries
• Scaling points
• WebAssembly execution environments
• Service mesh communication paths
Key Technical Elements to Emphasize
• WebAssembly runtime integration
• MQTT/HTTP proxy capabilities
• Scheduler implementation
• Security features (SSL/TLS, client verification)
• Storage abstractions
• Service mesh integration