---
title: "Discussion on \"Benchmarking pgvector IVFFlat vs HNSW indexes for production RAG applications - Blog Post\" | Hashnode"
description: "Discussion on \"Benchmarking pgvector IVFFlat vs HNSW indexes for production RAG applications - Blog Post\". Benchmarking pgvector IVFFlat vs HNSW indexes for production RAG applications\nI've spent the last three months stress-testing vector indexes in production environments, and the results challenge conventional wisdom about when to use each index type. ..."
url: "https://hashnode.com/posts/pgvector-ivfflat-vs-hnsw-benchmark-production-rag-1/69fe1a6a3119a9ec0d7398b2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Benchmarking pgvector IVFFlat vs HNSW indexes for production RAG applications - Blog Post](https://istiaq.hashnode.dev/pgvector-ivfflat-vs-hnsw-benchmark-production-rag-1?utm_source=hashnode&utm_medium=feed)

Benchmarking pgvector IVFFlat vs HNSW indexes for production RAG applications I've spent the last three months stress-testing vector indexes in production environments, and the results challenge conventional wisdom about when to use each index type. ...

May 8 · 6 min read · istiaq.hashnode.dev  
Read the article

-   [#benchmarking](https://hashnode.com/tag/benchmarking)
-   [#performance-optimization](https://hashnode.com/tag/performance-optimization)
-   [#pgvector](https://hashnode.com/tag/pgvector)
-   [#rag](https://hashnode.com/tag/rag)
-   [#vector-database](https://hashnode.com/tag/vector-database)

## Written by

[Entreel](https://hashnode.com/@entreel)

@entreel · London

  
[View profile](https://hashnode.com/@entreel)

CS student at University of Westminster building in public. Writing about startups, building, and the journey from zero to first revenue.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
