Learn WASMCLOUD with Real Code Examples
Updated Nov 25, 2025
Architecture
Actors - WebAssembly modules implementing business logic
Capability providers - secure interfaces to external services
Host runtime - executes actors and manages communication
Lattice messaging - decentralized message bus between actors
Event-driven, asynchronous system design for scalability
Rendering Model
Actors compiled to WebAssembly
Capabilities provide controlled access to external services
Hosts execute actors in sandboxed environment
Messaging via lattice enables distributed communication
Asynchronous and event-driven execution model
Architectural Patterns
Actor-as-a-Service
Capability-based security
Distributed event-driven messaging
Lattice for decentralized orchestration
Composable microservices
Real World Architectures
IoT edge devices with distributed actors
Serverless backend functions
Multi-cloud microservices
Composable analytics pipelines
Event-driven orchestration systems
Design Principles
Actor-based microservices
Capability-based security
Portable and language-agnostic
Event-driven and asynchronous
Lightweight, isolated runtime
Scalability Guide
Add more hosts to lattice for horizontal scaling
Actors are lightweight and portable across nodes
Capability providers can scale independently
Messaging is asynchronous for high throughput
Optimize Wasm module size for faster load and execution
Migration Guide
Rewrite services as actors compiled to WebAssembly
Use capability providers instead of direct service calls
Replace direct network calls with lattice messaging
Manage state and data via providers or actor memory
Test actors in host before deploying to multi-host lattice