HNSW
HNSW is the workhorse algorithm behind modern vector search, but it is not a one-size-fits-all solution. This section explores where it excels, where it falls short, and how developers are working around its limits. Pinecone's pg_pinecone extension explicitly targets a gap in pgvector's HNSW implementation: applying filters *during* search rather than after candidate retrieval. The Palette Atlas project demonstrates HNSW's raw speed, recall@10 of 1.000 at ef=32, completing searches in 0.25 ms versus 14 ms brute force, on a 48,695-painting dataset where vectors have an intrinsic dimension of about 11. The implementation also swaps the top layer for eight k-means landmarks, one typical painting per color family. Yet RAM costs push teams toward on-disk alternatives like DiskANN and SPANN, as one architect explains. And Gwen Shapira shows how PostgreSQL users combine HNSW with JSONB and vector quantization to scale AI agents, achieving 4x query speedups. The message is clear: HNSW is powerful, but the smartest deployments know when to augment it.

PostgreSQL Gets Open Source Vector Search That Filters First
Pinecone's new open source extension, pg_pinecone, brings vector search to PostgreSQL in a way that actually makes sense for real-world queries. Its engine filters during search, not after, solving a major pain point for selective queries that pgvector's HNSW approach struggles with. This is a practical, human-centered step forward for developers who want AI-native capabilities without locking into a proprietary service. For more on building smarter AI models, explore our recent piece on 10 GitHub repos to build smarter AI decision models.
Discover how AI finds paintings by color scheme across 48,000 masterpieces
Finding a painting by its color palette has always been a slow, computationally expensive task, until now. Palette Atlas reduces 48,000 masterpieces to 128-color vectors and uses a clever embedding trick to make search practical. The sliced Earth Mover's Distance approach hits 78% overlap with exact results while running in under a millisecond. That's the kind of practical innovation that makes you wonder what other data tasks are waiting for a smarter approximation.

Explore cost-effective vector search with on-disk ANN indexes like DiskANN
RAM is the ceiling that most vector search budgets hit first. When that ceiling gets too expensive, the conversation shifts to disk. The real trade-offs between in-memory HNSW and on-disk options like SPANN and DiskANN are walked through, giving a practical lens on latency versus storage cost. It's a grounded look at architecting infrastructure that scales without breaking the bank. For a deeper dive into system-level choices, our piece on adaptive recommendation systems offers a useful parallel.

Scale Your AI Agents with Postgres's Native Multi-Modal Power
Postgres has quietly become the backbone for production AI, and Gwen Shapira's session makes a compelling case for why that matters. She shows how teams are moving beyond toy demos, using Postgres's JSONB parsing and high-recall HNSW indexing to ground LLMs in both deterministic and semantic context. The 4x speedup from vector quantization is a practical win, but the real insight is managing agentic memory without losing reliability. For those exploring distributed training challenges, our guide on distributed algorithms pairs well with this foundation.