Dify Stack Presets
Team 150k-Chunk Qdrant & 8-Worker Preset (32 GB KVM 8)
High-throughput 110-concurrent-run team profile pairing Qdrant HNSW with 8 Celery ingestion workers and heavy Python Sandbox limits on 32 GB RAM.
16.8 GB Peak RSS · 8 Celery / Qdrant · $19.99/mo KVM 8
When Qdrant Beats pgvector Above 120k Chunks
Once knowledge bases pass 120,000 dense vectors with metadata filtering, offloading vector search to Qdrant keeps Postgres focused on conversation history, billing logs, and workflow state without I/O lock contention.
Sizing Sandbox & API Separately
With 110 simultaneous chatflow executions, allocate 2.5 GB to api and 1.5 GB to sandbox so isolated Python scripts never stall SSE streaming.
Measured Thresholds & Container Limits
| Parameter | Recommended Value | Operational Impact |
|---|---|---|
| VECTOR_STORE | qdrant (Rust HNSW) | Lower memory overhead than JVM/Weaviate at 150k+ |
| CELERY_WORKER_AMOUNT | 8 workers | Parallel ETL across multiple team knowledge bases |
| SANDBOX_LIMIT | 1,536 MB cap | Supports Pandas/NumPy data analysis nodes safely |
| Host Node Fit | Hostinger KVM 8 (32 GB) | Comfortable 15 GB buffer during batch syncs |