Technical Insights & Architecture Papers
Deep-dives on high-throughput backend architecture, Python & Django performance, real-time Voice AI, and resilient database modeling.
Hybrid Search in PostgreSQL: Combining Full-Text Search with pgvector via Reciprocal Rank Fusion
Pure vector cosine distance misses exact alphanumeric SKU/ID matches, while keyword search misses semantic intent. Learn how to architect a native hybrid search engine inside PostgreSQL using tsvector, pgvector, and Reciprocal Rank Fusion (RRF) in a single CTE query.
PostgreSQL `pgvector` in Production: HNSW vs. IVFFlat Indexes for Low-Latency RAG Search
Vector search in high-dimensional embedding spaces degrades query latency without optimized indexing. Learn how to configure HNSW graphs and memory parameters in pgvector for sub-10ms semantic retrieval.