fix(brain): defer sparsifier build on startup for large graphs

Sparsifier build on 1M+ edges exceeds Cloud Run's 4-min startup probe.
Skip on startup for graphs > 100K edges, defer to rebuild_graph job.

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
rUv 2026-03-24 12:29:28 +00:00
parent 8e707496a6
commit c31d1de2b7
53 changed files with 11096 additions and 4030 deletions

View file

@ -162,8 +162,8 @@ Expected output:
5.19615 | -32.000 | 0.025368 | 9.00
```
## 📚 Further Reading
## Further Reading
- [Complete Documentation](./zero-copy-operators.md)
- [SIMD Implementation](../crates/ruvector-postgres/src/distance/simd.rs)
- [Benchmarks](../benchmarks/distance_bench.md)
- [Zero-Copy Operators](./zero-copy/zero-copy-operators.md)
- [Zero-Copy Implementation](./zero-copy/ZERO_COPY_IMPLEMENTATION.md)
- [Benchmarking Guide](../benchmarks/BENCHMARKING_GUIDE.md)

View file

@ -452,9 +452,9 @@ reserve_pool_size = 16 -- 4 workers * 4 queries
## References
- [PostgreSQL Parallel Query Documentation](https://www.postgresql.org/docs/current/parallel-query.html)
- [RuVector Architecture](./architecture.md)
- [HNSW Index Guide](./hnsw-index.md)
- [Performance Tuning](./performance-tuning.md)
- [System Architecture](../architecture/SYSTEM_OVERVIEW.md)
- [HNSW Index](../hnsw/HNSW_INDEX.md)
- [Performance Tuning](../optimization/PERFORMANCE_TUNING_GUIDE.md)
## Summary

View file

@ -364,8 +364,7 @@ docs/
- **Full Documentation**: [postgres-zero-copy-memory.md](./postgres-zero-copy-memory.md)
- **Implementation Summary**: [postgres-memory-implementation-summary.md](./postgres-memory-implementation-summary.md)
- **Code Examples**: [postgres-zero-copy-examples.rs](./postgres-zero-copy-examples.rs)
- **Source Code**: [../crates/ruvector-postgres/src/types/](../crates/ruvector-postgres/src/types/)
- **Code Examples**: [Zero-Copy Examples](./zero-copy/examples.rs)
## Version Info

View file

@ -280,6 +280,6 @@ SELECT '[0,0,0]'::ruvector <=> '[0,0,0]'::ruvector;
## See Also
- [SIMD Distance Functions](../crates/ruvector-postgres/src/distance/simd.rs)
- [RuVector Type Definition](../crates/ruvector-postgres/src/types/vector.rs)
- [Index Implementations](../crates/ruvector-postgres/src/index/)
- [Zero-Copy Implementation](./ZERO_COPY_IMPLEMENTATION.md)
- [Zero-Copy Operators Summary](./ZERO_COPY_OPERATORS_SUMMARY.md)
- [Operator Quick Reference](../operator-quick-reference.md)