FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
ScalingOperations & Runbooks
Scaling & High Availability
DocsscalingOperations & RunbooksScaling & High Availability
GitHub Live Sync

Scaling & High Availability

Live technical documentation fetched from GitHub repository omghante/metapilot/docs/operations/scaling.md

Horizontal Scaling Guide

Guide for scaling MetaPilot infrastructure to handle high broadcast volumes and tens of thousands of active WebSockets.

1. Scaling Strategy Overview

Rendering diagram...

Scaling Components

  1. Daphne ASGI Nodes: Scale statelessly behind Nginx / AWS ALB.
  2. PostgreSQL Connection Pooling: Use PgBouncer in
    transaction
    mode to prevent connection exhaustion.
  3. Redis Cluster: Distribute Celery queue (DB 0) and Channels layer (DB 1) across dedicated Redis instances.