Blogmark
How Instacart Built a Modern Search Infrastructure on Postgres
via jbranchaud@gmail.com
https://tech.instacart.com/how-instacart-built-a-modern-search-infrastructure-on-postgres-c528fa601d54
PostgreSQL
Full Text Search
Unconventionally, they transitioned from Elasticsearch to Postgres FTS and Vector Search.
A key insight was to bring compute closer to storage. This is opposed to more recent database patterns, where storage and compute layers are separated by networked I/O. The Postgres based search ended up being twice as fast by pushing logic and computation down to the data layer instead of pulling data up to the application layer for computation. This approach, combined with Postgres on NVMEs, further improved data fetching performance and reducing latency.