Skip to main content
Serverless Orchestration

RUNTIME

Event-driven serverless functions for stream orchestration. Deploy functions in JavaScript, Python, Go, or Rust. Multi-language, stateful, sub-100ms latency.

Home/Products/RUNTIME

Core Features

Build sophisticated stream orchestration without managing infrastructure

Event Subscriptions

Subscribe to stream lifecycle events with sub-100ms latency. Trigger functions on stream_started, viewer_joined, bitrate_changed, and 20+ other built-in events.

Stateful Processing

Maintain persistent state across function invocations using integrated PostgreSQL. Perfect for tracking viewer engagement, content processing status, or multi-step workflows.

Multi-Language Support

Write functions in JavaScript, Python, Go, or Rust. Each language is optimized for specific use cases: Python for ML, Go for throughput, JavaScript for business logic.

Complex Workflows

Chain multiple functions together with automatic error handling, retries, and state passing. Build sophisticated orchestrations without managing infrastructure.

Rich Execution Context

Functions receive full stream context: viewer count, bitrate, quality metrics, geographic location, and custom metadata. Access other WAVE services directly.

Scheduled Execution

Run functions on cron schedules (hourly, daily, weekly) or as one-time tasks. Combine with event-driven execution for hybrid workflows.

How RUNTIME Works

1

Events Triggered

Stream lifecycle events occur (stream started, viewer joined, bitrate changed). Events are emitted with full context.

2

Functions Invoked

Matching functions are invoked with <100ms latency. Functions receive stream context and event data.

3

Processing & State

Functions process data and maintain state. Access PostgreSQL for persistent storage. Call other WAVE services.

4

Output & Actions

Results are logged, stored in VAULT, or trigger webhooks. Automatic error handling and retries.

Event Types

Stream Events

  • stream.started - when broadcaster goes live
  • stream.ended - when broadcast completes
  • stream.error - when stream encounters errors
  • quality.degraded - quality threshold breached

Viewer Events

  • viewer.joined - new viewer enters
  • viewer.left - viewer disconnects
  • viewer.engagement - interaction detected
  • subscriber.active - subscription activated

Custom Events

  • custom.* - arbitrary events from CONNECT webhooks
  • scheduled.* - cron-triggered events
  • manual.* - programmatically triggered events
  • workflow.* - cross-function events

Use Cases

Content Moderation Workflows

Automatically moderate chat, detect inappropriate content, flag streams for review, and take action. Integrate with ML models via EDGE for frame-level analysis.

95% accuracy, <200ms latency

Viewer Engagement Campaigns

Track viewer behavior, send engagement notifications, trigger subscriber rewards, and personalize viewer experience. Update subscriber status in real-time.

40% engagement lift, 12% churn reduction

Multi-Platform Distribution

When a stream starts, automatically publish to YouTube, TikTok, Instagram, and custom platforms. Manage credentials, handle platform-specific metadata, and track performance.

Reach 5+ platforms simultaneously

Advanced Analytics Pipelines

Process raw events into business metrics: viewer sentiment, content performance, quality issues. Feed insights into PULSE dashboards or external BI tools.

Process 1M+ events/min, <500ms latency

Integration with WAVE Stack

Input Events

  • PIPELINE - Stream ingestion events
  • MESH - Routing decisions and failovers
  • EDGE - Frame-level processing events
  • PULSE - Analytics thresholds and anomalies
  • CONNECT - Webhook events from integrations

Output Integrations

  • VAULT - Store function outputs and logs
  • PULSE - Write custom metrics and events
  • MESH - Modify routing policies dynamically
  • EDGE - Trigger processing pipelines
  • External APIs - Webhooks, databases, services

Simple Pricing

Pay only for what you use. No infrastructure management.

$0.000016

per GB-second

  • All runtimes included
  • Includes retries
  • Auto-scaling

$0.25

per GB-month

  • PostgreSQL backend
  • Automatic backups
  • Cross-region replication

Included

unlimited events

  • Stream events free
  • Viewer events free
  • 20+ event types

Example: 1M function invocations per month at 2GB average execution = ~$32/month. 10GB state storage = $2.50/month. First 10GB execution free monthly.

Frequently Asked Questions

What events trigger RUNTIME functions?

What cold start latency should I expect?

How is state persisted across invocations?

Can I use multiple programming languages?

How are errors handled and retried?

What's the maximum execution duration?

How do I access other WAVE services from functions?

Can functions execute on a schedule?

What's the pricing model?

How can I debug functions in production?

Deploy Your First Function

Start building event-driven stream orchestrations in minutes. Deploy functions in JavaScript, Python, Go, or Rust.

WAVE - Enterprise Live Streaming Platform