Components are the portable unit of PitFast.
PitFast embraces the WebAssembly Component Model as the universal boundary for modern microservices. Components encapsulate types, imports, and exports into a self-describing binary that executes predictably across any host machine.
Component Lifecycle Flow
Input
Language Source
Rust / Go / TS
Standard
Component Model
WIT Interfaces
Storage
PitFast Artifact
sha256:digest
Runtime
PitBox Engine
Shared Lanes
Supported Execution Worlds
wasi:http/proxyPrimary World
The standard WebAssembly interface for inbound and outbound HTTP. Components implementing this world receive requests from PitLane and stream responses directly through shared execution lanes.
WASI P2 (Preview 2)Fully Supported
The full Component Model specification with first-class streams, resource types, and interface typing. Used for long-lived components and inter-service function calls.
WASI P1 (Preview 1 Command)Legacy / Batch
Standard POSIX-like CLI entrypoint (`_start`). PitFast automatically wraps legacy P1 modules into the shared execution grid for batch jobs and cron tasks.
Explore compiler toolchains and language bindings:Language Support Matrix →