Commit Graph

2 Commits

Author SHA1 Message Date
Xiaoxia AI 9872c20d30 refactor(adapters): remove legacy postgres adapter 2026-06-21 10:11:18 +08:00
Xiaoxia AI fd24af19c3 feat(performance): add database connection pool
- Implement ThreadedConnectionPool singleton pattern
- Add PooledConnection context manager for safe usage
- Prevent connection leaks with automatic cleanup
- Support minconn/maxconn configuration
- Add comprehensive connection pool documentation
- Include performance comparison and best practices
- Add monitoring and troubleshooting guide

Performance improvement: 5-6x faster (70ms → 12ms)
Phase 4 Task 40/68 completed
2026-06-17 08:33:32 +08:00