Hot Platform
The Hot Platform is a complete backend workflow automation system. It combines a purpose-built programming language with managed infrastructure for running, monitoring, and scaling your workflows.
Architecture Overview
Core Concepts
Runs
Every function call creates a run—a tracked execution with:
- Unique run ID for tracking
- Full execution trace
- Input parameters and return values
- Timing and performance data
- Error details if failed
Events
Events are the primary way to trigger asynchronous workflows. Emit events from your application or external systems, and Hot automatically routes them to registered handlers.
// Define an event handler
on-user-signup meta {on-event: "user:created"}
fn (event) {
send-welcome-email(event.data.email)
create-default-settings(event.data.id)
}
Streams
Streams provide real-time data flow for long-running operations like AI responses, live updates, and bidirectional communication.
Workers
Workers are the execution engine of the Hot Platform. They pick up runs from the queue, execute your Hot code, and report results back.
- Scale horizontally by adding more workers
- Process event handlers and scheduled jobs
- Execute in isolated contexts for security
Platform Components
| Component | Purpose |
|---|---|
| Hot API | REST API for executing functions, sending events, and managing files |
| Workers | Execution engine for running Hot code |
| Hot App | Real-time monitoring and debugging interface |
Deployment Options
Hot Cloud (Managed)
Deploy to the Hot Cloud with a single command:
hot deploy
Hot Cloud provides:
- Managed workers with auto-scaling
- Global edge deployment
- Built-in observability
- Zero infrastructure management