Architecture Overview
Production Configuration
src/config/vectoriadb.ts
Pre-deployment Checklist
1
Configure Storage
Choose a storage adapter based on your deployment:
- Single server:
FileStorageAdapter - Multi-pod/Kubernetes:
RedisStorageAdapter - Serverless: Pre-warm with bundled embeddings
2
Set Resource Limits
Configure limits to prevent resource exhaustion:
3
Enable HNSW for Scale
For datasets > 10,000 documents:
4
Set Up Health Checks
Implement health endpoints for monitoring.
Startup Initialization
src/startup.ts
Related
Docker
Container deployment
Environment Variables
Configuration reference
Health Monitoring
Monitoring setup