惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

K
Kaspersky official blog
小众软件
小众软件
Engineering at Meta
Engineering at Meta
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
G
Google Developers Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
V2EX
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Google DeepMind News
Google DeepMind News
Security Archives - TechRepublic
Security Archives - TechRepublic
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Check Point Blog
aimingoo的专栏
aimingoo的专栏
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
MongoDB | Blog
MongoDB | Blog
L
LINUX DO - 热门话题
酷 壳 – CoolShell
酷 壳 – CoolShell
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Help Net Security
Martin Fowler
Martin Fowler
G
GRAHAM CLULEY
Simon Willison's Weblog
Simon Willison's Weblog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
V
Vulnerabilities – Threatpost
云风的 BLOG
云风的 BLOG
博客园_首页
C
Cybersecurity and Infrastructure Security Agency CISA
量子位
Stack Overflow Blog
Stack Overflow Blog
Recent Announcements
Recent Announcements
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
I
Intezer
Scott Helme
Scott Helme
A
About on SuperTechFans
博客园 - 司徒正美
Hacker News: Ask HN
Hacker News: Ask HN
The GitHub Blog
The GitHub Blog
Forbes - Security
Forbes - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
博客园 - 聂微东
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Spread Privacy
Spread Privacy
T
Tailwind CSS Blog
S
Security Affairs
宝玉的分享
宝玉的分享

The Data Engineering Show

AI for Data and Data for AI: The Dual Frontier of Modern Data Engineering with Pranav Motarwar AI Won't Replace Engineers, But This Framework Will Change How They Build with Rohit Girme The Framework Canva Uses for 200M+ Designers with Paul Tune Llama 2 & 3 Safety: Soumya Batra on Agentic AI Training The Data Fusion Secret & Why Custom Query Engines Fail with Nikita Lapkov How Zipline AI Turns Weeks of Engineering Into Minutes of SQL Queries ft. Nikhil Simha The Geo-Data Problem Nobody Talks About And How Voi Solved It ft. Magnus Dahlbäck Why 99% of Data Teams Give Up on Real-Time And How Artie Changes That The $100M Problem: How Lyft's Data Platform Prevents ML Failures with Ritesh Varyani at Lyft 60 Billion Predictions Daily: Inside Credit Karma’s Agentic Data Layer with Maddie Daianu Block Bad Data Before the Write with Nike’s Ashok Singamaneni Is Self-Service BI a False Promise? Lei Tang of Fabi.ai Thinks So Building Uber's AI Assistant: How Genie Revolutionizes On-Call Support with Paarth Chothani from Uber From Zero to 100M Users: Inside Notion’s Data Stack and AI Strategy with Sumit Gupta How Rising Wave Is Redefining Real-Time Data with Postgres Power Revolutionizing Data Governance with DataStrato’s Unified Open Source Approach Database Technology in the Age of AI with DuckDB Labs co-creator Hannes Mühleisen AI and Data Movement: Trends and Best Practices with Estuary’s Daniel Pálma AI and Data Change Management with Chad Sanderson, CEO Gable AI Tech Stacks and Tradeoffs: Xudo's Founder on Picking the Right Tools for BI Success Data Rewind: Conversation Highlights from Zach Wilson, Matthew Housley, Joe Reis, and Krishnan Viswanathan The Resurgence of SQL: Insights from Ryanne Dolan from LinkedIn Vector Databases Won’t Replace SQL - Andy Pavlo How ZoomInfo transitioned from data graveyards to ROI-driven data projects Matthew Weingarten from Disney Streaming about Data Quality Best Practices Joseph Machado, Senior Data Engineer @ LinkedIn talks best practices Professors Joe Hellerstein and Joseph Gonzalez on LLMs Megan Lieu on powerful notebooks that enable collaboration Transitioning from software engineering to data engineering Vin Vashishta explains why we should stop using dashboards Joe Reis and Matt Housley on the fundamentals of data engineering Bill Inmon, the Godfather of Data Warehousing Large-scale data engineering at Momentive.ai - Meenal Iyer Data engineering from the early 2000s till today - BlackRock Zach Wilson on what makes a great data engineer How ZipRecruiter and Yotpo power self-service data platforms that work Data Observability with Millions of Users - Barr Moses How Amplitude Engineers Process 5 Trillion Real-time Events Making Observability a Key Business Driver A ClickHouse Review from a Practitioner’s Point of View The Creator of Airflow About His Recipe for Smart Data-Driven Companies How Similarweb Delivers Customer Facing Analytics Over 100s of TBs How Klarna Designed a New Data Platform in the Cloud How Eventbrite is Modernizing its Data Stack A Deep Dive into Slack's Data Architecture Transitioning Scopely’s 5.5 PB Data Platform to the Modern Data Stack Getting rid of raw data with Jens Larsson How Zendesk engineers manage customer-facing data applications How are those data intensive customer facing apps engineered at Gong? How Bolt Engineers Are Designing Its Next-Gen Data Platform How did Agoda scale its data platform to support 1.5T events per day? Diving Into GitHub's Data Stack Building Data Products For Data Engineers How Vimeo Keeps Data Intact with 85B Events Per Month How Substack's Data Stack Supports 500K Paying Subscribers A Technical Deep Dive to Yelp's Data Infrastructure - With Steven Moy How Canva's Data Engineers and Analysts Support 55M Active Users How AppsFlyer Delivers Sub-Second BI to 1000 Looker Users - With Alexandra Sudilovsky The Data Engineering Show - Coming Soon...
Postgres vs. Elasticsearch: The Unexpected Winner in High-Stakes Search for Instacart with Ankit Mittal
The Firebolt Data Bros · 2025-09-18 · via The Data Engineering Show

Postgres vs. Elasticsearch: The Unexpected Winner in High-Stakes Search for Instacart with Ankit Mittal

Modernizing Search Infrastructure: How Instacart Transitioned from Elasticsearch to PostgreSQL for Enhanced Performance and Simplicity. In this episode of The Data Engineering Show, host Benjamin Wagner speaks with Ankit Mittal, former senior engineer at Instacart, about the company's innovative approach to modernizing their search infrastructure by transitioning from Elasticsearch to PostgreSQL for single-retailer search functionality.

In this episode of The Data Engineering Show, Benjamin Wagner sits down with Ankit Mittal, former Senior Engineer at Instacart, to explore how they revolutionized their search infrastructure by transitioning from Elasticsearch to PostgreSQL. Learn how Instacart tackled the unique challenges of fast-moving grocery inventory, achieved high-performance search capabilities, and leveraged PostgreSQL extensions for complex retrieval operations. Whether you're scaling search functionality or optimizing database performance, this deep dive offers valuable insights into building robust, production-ready search systems using PostgreSQL.

  • Discover why Instacart moved from Elasticsearch to PostgreSQL for retailer search
  • Learn about handling real-time inventory updates and search optimization
  • Explore PostgreSQL extensions, sharding strategies, and data flow architecture
  • Understand the trade-offs between different search infrastructure approaches

What You'll Learn:

  • How Instacart managed fast-moving grocery inventory data by consolidating search, ranking, and filtering into a single PostgreSQL cluster
  • Why pushing compute closer to the data layer can significantly improve search performance and reduce network calls
  • The architecture decisions behind using PostgreSQL extensions like PG Vector and custom solutions for search functionality
  • How to implement efficient data ingestion through S3-based pipelines and bulk writes instead of real-time updates
  • Why table maintenance operations like PGD pack are crucial for optimizing read throughput in production environments
  • The trade-offs between traditional search engines and relational databases for complex search implementations
  •  The challenges of maintaining self-hosted PostgreSQL in a predominantly cloud-managed environment


About the Guest(s)

Ankit is a Software Engineer at ParadeDB and former Senior Engineer at Instacart, where he specialized in PostgreSQL infrastructure and search systems. With extensive experience in database optimization and search architecture, he played a key role in modernizing Instacart's search infrastructure by transitioning from Elasticsearch to a custom PostgreSQL solution. In this episode, Ankit shares deep insights into building and scaling high-performance search systems for e-commerce, particularly focusing on the unique challenges of grocery retail's fast-moving inventory. His work at Instacart revolutionized their single-retailer search functionality, demonstrating how traditional relational databases can be adapted for complex search operations. His expertise in database systems and their practical applications in high-scale environments makes this conversation particularly valuable for engineers interested in modern search architecture and database optimization.


Quotes

"Think about it. If there's a lot of things that you can get the database to do, then the applications become simpler." - Ankit

"My non-Instacart experience has largely been in pre-PMF startups where the approach of abuse your database to its absolute limits works wonders." - Ankit

"Almost everything that we got retrieved had to be filtered out. So we go back to Elasticsearch again." - Ankit

"We traded off the quality of retrieval, hardcore core retrieval, with the whole system reducing the network calls." - Ankit

"It's a place to go to find what item is available, in what store, what item is available, at what price, including full product taxonomy graph and product and ontology." - Ankit

"The grand theme here is that we wanted more control over the cluster, how to spin it off, what kind of disks it would have." - Ankit

"We tell teams who want to have their data in this cluster, create an s3 home, create either a bucket or a home, whatever they want to do, and tell us that we would sync ourselves." - Ankit

"What we found is that the read throughput, we can throw more data if the tables are repacked nicely." - Ankit

"Most engineers who want to work on search, they are more used to the Elasticsearch shape of the query." - Ankit

"The relevance is better because they could join more things in the database. They also saw the cost of the normalized data reduced." - Ankit


Resources

- Instacart - Grocery delivery platform

- ParadeDB - Database technology company

Tools & Technologies:

- PostgreSQL - Database system

- Elasticsearch - Search engine

- PG Cat/PG Dog - PostgreSQL proxy tools

- PG Vector - PostgreSQL vector extension

- PG Repack - PostgreSQL table repacking tool

- ClickHouse - Column-oriented DBMS

- TantiVy - Rust-based search engine library

Articles:

- Instacart Search Modernization Blog Posts (Series on hybrid retrieval)

- Target's AlloyDB Migration Blog Post

For Feedback & Discussions on Firebolt Core:

 Primary Speakers:


The Data Engineering Show is brought to you by firebolt.io and handcrafted by our friends over at: fame.so

Previous guests include: Joseph Machado of Linkedin, Metthew Weingarten of Disney, Joe Reis and Matt Housely, authors of The Fundamentals of Data Engineering, Zach Wilson of Eczachly Inc, Megan Lieu of Deepnote, Erik Heintare of Bolt, Lior Solomon of Vimeo, Krishna Naidu of Canva, Mike Cohen of Substack, Jens Larsson of Ark, Gunnar Tangring of Klarna, Yoav Shmaria of Similarweb and Xiaoxu Gao of Adyen.

Check out our three most downloaded episodes: