NATS is a lightweight, high-performance message broker for communication among distributed software components. In wasmCloud, it forms the lattice that lets hosts communicate and coordinate across environments. section 6.1
Within a wasmCloud application, NATS supports:
- Communication between components running on the same host or on different hosts. section 6.1
- Runtime linking, with wadm dynamically establishing and managing component connections. section 6.1
- Coordination across a distributed network of wasmCloud hosts. section 6.1
Hello World lattice
Running `wash up -d` starts NATS in the background at `127.0.0.1:4222`, alongside a wasmCloud host and wadm monitor. A deployed HTTP component then communicates through the lattice with an HTTP server capability. section 6.1

