Skip to main content
FINOPS WORKFLOWGRAPH LAB // DIFY 9-CONTAINER STACK TELEMETRY DOCKER COMPOSE OVERRIDE | PGVECTOR HNSW + CELERY | BASELINE 2026-10-13
DifyStackRAM
DifyStackRAM Affiliate Notice: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero added cost (Affiliate Policy).
Dify Stack Presets

Enterprise 250k-Chunk 16-Worker Dify Preset (32+ GB VDS)

Maximum 200-run concurrency blueprint with 16 Celery workers, 10 Gunicorn API workers, dedicated CPU cores, and strict per-container memory ceilings.

26.4 GB Peak RSS · 16 Celery / 10 API · Dedicated VDS

Enterprise 250k-Chunk 16-Worker Dify Preset (32+ GB VDS)
Telemetry baseline verified 2026-10-13 by WorkflowGraph Lab.

Isolating CPU-Bound Ingestion From Chatflows

At 16 Celery workers and 200 concurrent runs, shared vCPU burstable plans suffer scheduler latency spikes. Dedicated VDS cores ensure vector similarity search and SSE token streaming stay sub-100ms.

Connection Pool Discipline

Every Gunicorn and Celery worker opens persistent database sessions; raising PGVECTOR_MAX_CONNECTIONS to 200 prevents operational errors under load.

Measured Thresholds & Container Limits

ParameterRecommended ValueOperational Impact
Chunks & Concurrency250k chunks / 200 runsRequires 8 dedicated cores to avoid CPU steal
CELERY_WORKER_AMOUNT16 (2 queues)Separates real-time workflow tasks from PDF OCR
PGVECTOR_MAX_CONNECTIONS200 connectionsPrevents pool exhaustion across 26 workers
Host Node FitUltaHost VDS 32 GBZero noisy-neighbor steal during peak hours
26.4 GB Peak RSS · 16 Celery / 10 API · Dedicated VDS Deploy KVM ($4.79+/mo)Make.com 10k Free Ops