← InfraDraft

Platform & Infra Services

Design a Serverless Compute Platform (AWS Lambda clone)

An event-driven, pay-per-invocation compute platform that provisions isolated execution sandboxes on demand and scales to zero.

Open and Simulate this Architecture in InfraDraft

Core Architectural Components

Function Packaging & Deployment Service

Accepts and stores versioned function code and its dependencies.

Event Source Trigger Integration

Wires functions to queues, HTTP requests, or scheduled triggers.

Sandboxed Execution Runtime

MicroVM or container isolation running each invocation securely.

Cold-Start/Warm-Pool Scheduler

Balances latency against resource cost by keeping some sandboxes warm.

Auto-Scaling Invocation Dispatcher

Scales concurrent execution up and down with incoming event volume.

Execution Metrics & Logging Pipeline

Captures per-invocation duration, errors, and logs.

Concurrency Limiting & Throttling Service

Caps per-function concurrency to protect downstream dependencies.