Dify Stack Presets
Qdrant Rust Vector Engine Preset for Multi-Tenant Dify
Configure Qdrant mmap and HNSW payload indexes when 100k+ multi-tenant chunks require strict ACL filtering without JVM/Weaviate bloat.
11.2 MB / 1k Chunks · Mmap Disk Offload · 16-32 GB KVM
Multi-Tenant Metadata Filtering Speed
When each department or customer workspace filters vectors by tenant_id and document_type, Qdrant payload indexes maintain low latency without inflating RAM like unindexed tables.
NVMe Page Cache Synergy
Hostinger KVM 4 and KVM 8 NVMe storage pairs cleanly with Qdrant mmap segments, keeping active HNSW links hot while spilling cold payload text to SSD.
Measured Thresholds & Container Limits
| Qdrant Setting | Production Value | Effect |
|---|---|---|
| VECTOR_STORE | qdrant | Routes Dify embeddings to Rust Qdrant service |
| on_disk_payload | true | Keeps heavy JSON metadata off physical RAM |
| hnsw_config.m | 16 | Balances recall against graph memory size |
| Container Memory Limit | 2,560M - 4,096M | Prevents vector compactions from starving api |