Cost Models & Sizing
Sizing Django Gunicorn Workers & Celery Concurrency for Plane
Configure GUNICORN_WORKERS and CELERY_CONCURRENCY in .env to eliminate 502 timeouts during sprint planning and CSV exports.
4 Gunicorn + 3 Celery Workers: Optimal for 50–150 Seats on KVM 4
Balancing Python Worker RSS Against vCPU Cores
Each Django Gunicorn worker loads the full Plane ORM and consumes ~180–210 MB RSS. Over-provisioning 12 workers on a 4-vCPU node triggers context-switching stalls and memory pressure.
Isolating Long-Running Exports Inside Celery Workers
Issue CSV exports, webhook retries, and Jira import batches execute asynchronously inside Celery. Pinning CELERY_CONCURRENCY to 2–6 threads keeps interactive board drag-and-drop snappy.
36-Month Cost & Microservices Breakdown
| Seat Bracket | Recommended Node | GUNICORN_WORKERS | CELERY_CONCURRENCY |
|---|---|---|---|
| 10 – 50 Seats | KVM 2 / KVM 4 | 2 – 4 | 2 |
| 51 – 180 Seats | KVM 4 (16 GB) | 4 – 6 | 3 – 4 |
| 181 – 350 Seats | KVM 8 (32 GB) | 8 | 6 |