Operations & Production Manuals Directory
Welcome to the Operations & Runbooks section of the MetaPilot documentation. This section covers production deployment, performance tuning, system monitoring, disaster recovery, and operational runbooks.
Operational Manuals
- Production Deployment: Render / Docker / Systemd deployment configurations.
- Performance Tuning: Database indexing, query optimizations, Celery worker concurrency, and caching.
- System Monitoring: Health checks, logging, error tracking, and Celery Flower setup.
- Backup & Recovery: Database backup procedures, disaster recovery, and key backup policies.
- Horizontal Scaling Guide: Scaling Daphne nodes, Redis Channel Layer, and PostgreSQL connection pooling.
Production Runbooks (docs/operations/runbooks/
)
docs/operations/runbooks/- Runbooks Index: Emergency step-by-step procedures for operators.
- Restart Celery Workers: How to safely restart worker nodes and Celery Beat.
- Recover Failed Broadcasts: How to inspect and re-trigger stalled/failed campaign broadcasts.
- Rotate Fernet Encryption Keys: Procedure for zero-downtime key rotation.
- Restore PostgreSQL Database: Restoring database backups and verifying data integrity.
- Handle Webhook Outages: Managing Meta API outages and webhook queue backlogs.