ππ§ How Uber Eats Handles 2B+ Search Queries Daily (Full Architecture)
PLUS: WebSocket Use Cases β‘, NASA's LLMs With Graphs π, Automated Quant Trading πΈ
Happy Monday! βοΈ
Welcome to the 402 new hungry minds who have joined us since last Monday!
If you arenβt subscribed yet, join smart, curious, and hungry folks by subscribing below.
π Software Engineering Articles
Hands-on learning is the best way to grow as an engineer
Understand circuit breakers to prevent cascading failures in systems
Feature flags unlock safer deployments and controlled experiments
Discover how medium code is reshaping software development
NASA leverages graph technology with LLMs for knowledge management
Electron app performance boost with 6 proven techniques
ποΈ Tech and AI Trends
Tesla's robotaxi service launches June 12 in Austin
OpenAI's ChatGPT to become universal login provider
Perplexity's new tool generates spreadsheets and dashboards automatically
π¨π»βπ» Coding Tip
BRIN indexes in PostgreSQL optimize timestamp queries with minimal storage overhead
Time-to-digest: 5 minutes
Grow your technical skills with hands-on learning π¨π»βπ»
Looking to stand out in a competitive job market? Codecademy can help you build in-demand technical skills and prepare for top industry certification tests from AWS, Microsoft, CompTIA, and more.
Hungry Minds readers can save 15% on a year of Codecademy Pro and get access to:
600+ interactive courses
Step-by-step career guidance
Industry certification prep
Try hands-on learning and get ready to unlock new career opportunities β just use code SKILLUP15 at checkout for 15% off
How Uber Eats Scaled Their Search to Handle Billion-Scale Traffic π₯
Uber Eats faced a massive challenge: scaling their search infrastructure to support exponential merchant growth across restaurants, groceries, and retail. They needed to handle billions of daily queries while maintaining sub-second latency and search relevance across all discovery surfaces.
The challenge: Balance massive scale with search quality while keeping latency low - early attempts to increase selection caused 4x spikes in query latency.
Implementation highlights:
Dual sharding strategy: Combined latitude and hex-based sharding for better load distribution and query locality
ETA-aware indexing: Introduced time-based range buckets to optimize delivery-time-sensitive searches
Vertical-specific layouts: Optimized document organization differently for restaurants vs groceries based on usage patterns
Parallel query execution: Split searches into concurrent sub-queries across ETA buckets
H3 spatial indexing: Used hexagonal grid system for efficient geospatial queries and delivery zone mapping
Results and learnings:
60% lower latency: Optimized index layouts dramatically reduced retrieval time
50% P95 improvement: Better sharding and query parallelization smoothed out performance spikes
20% smaller indexes: Smart document organization led to better compression
Building search at scale requires careful attention to how data is organized, sharded, and accessed. Uber Eats shows that sometimes the biggest performance gains come from storage patterns rather than fancy algorithms.
Remember: A search engine is like a librarian - it doesn't matter how many books you have if you can't find them quickly when someone asks!
Design for Failure: What Every Engineer Should Know About Circuit Breakers
Codecademy with 15% OFF SKILLUP15
Codecademy is the easiest way to learn how to code. It's interactive, fun, and you can do it with your friends.
How API Gateway Actually Works β
Written by
Top 10 WebSocket Use Cases in System Design
Written by
Feature Flags π©
Written by
and6 Ways Slack, Notion, and VSCode Improved Electron App Performance
This is a complete guide on getting the most mileage out of Electron apps.
React, visualized
β The 17 biggest mental traps costing software engineers time and growth
Written by
TLDR Newsletter - A Byte Sized Daily Tech Newsletter
TLDR is the free daily newsletter with the most interesting stories in startups, tech and programming!
ARTICLE (medium-rare code)
The Rise Of Medium Code
ARTICLE (struggling like a pro)
Good Struggle vs Bad Struggle
ESSENTIAL (commit like a rockstar)
The Perfect Commit
GITHUB REPO (AI but broke-friendly)
Fully Local Manus AI
GITHUB REPO (quant go brrr)
Qlib is an AI-oriented Quant investment platform
ARTICLE (React goes zoooom)
Concurrent Rendering
ARTICLE (Claude trades stocks now)
Trading with Claude
ARTICLE (particle party in your GPU)
Particle Life simulation in browser using WebGPU
ARTICLE (AI wonβt save your bad code)
The Hidden Cost of Skipping the Fundamentals in the Age of AI
ARTICLE (NASAβs LinkedIn but smarter)
How NASA is Using Graph Technology and LLMs to Build a People Knowledge Graph
Want to reach 180,000+ engineers?
Letβs work together! Whether itβs your product, service, or event, weβd love to help you connect with this awesome community.
π OpenAI to Allow 'Sign In With ChatGPT' for Third-Party Apps (2 min)
Brief: OpenAI is testing a new login system that would let users access third-party apps with their ChatGPT credentials, potentially competing with tech giants like Google and Apple in the identity management space.
π€ xAI Pays $300M to Bring Grok AI to Telegram Users (2 min)
Brief: Elon Muskβs xAI will pay $300M to integrate its Grok chatbot into Telegram, offering features like chat summaries, content generation, and search assistance, with revenue-sharing for the platform.
π± Apple to Rebrand All Operating Systems as "iOS 26," "macOS 26," and More (4 min)
Brief: Apple is shifting from version numbers to year-based naming for its OS lineup, starting with "iOS 26," "macOS 26," and "watchOS 26," to simplify branding and align with a major software redesign debuting at WWDC.
π Tesla Aims for June 12 Robotaxi Launch in AustinβMuskβs Big Bet on Autonomous Driving (2 min)
Brief: Tesla is targeting a June 12 launch for its robotaxi service in Austin, marking a critical step in Elon Muskβs push to pivot the company toward autonomous vehicles and AI-driven mobility.
π Perplexity Launches AI-Powered Tool to Generate Spreadsheets & Dashboards (2 min)
Brief: Perplexityβs new Labs tool lets Pro subscribers create AI-generated reports, dashboards, and spreadsheetsβexpanding its push beyond search into productivity.
π€ Hugging Face Launches Two New Open-Source Humanoid Robots (2 min)
Brief: Hugging Face unveils two new open-source humanoid robots, the HopeJR and Reachy Mini, as part of its push into robotics, with plans to ship units by year-end.
This weekβs coding challenge:
This weekβs tip:
Use a BRIN (Block Range INdex) in PostgreSQL
for efficient indexing of naturally ordered data like timestamps or sequential IDs. BRIN indexes store metadata about value ranges in consecutive physical blocks, making them extremely space-efficient compared to B-tree indexes.
Wen?
Time-series data: Perfect for tables where timestamps are correlated with physical storage order.
Log analytics: Efficient for querying ranges in append-only logging tables with billions of rows.
Data archival: Ideal for historical data where exact seek performance isn't critical but space efficiency is paramount.
βThe real art in learning takes place as we move beyond proficiency, when our work becomes an expression of our essence.β
Josh Waitzkin
Thatβs it for today! βοΈ
Enjoyed this issue? Send it to your friends here to sign up, or share it on Twitter!
If you want to submit a section to the newsletter or tell us what you think about todayβs issue, reply to this email or DM me on Twitter! π¦
Thanks for spending part of your Monday morning with Hungry Minds.
See you in a week β Alex.
Icons by Icons8.
*I may earn a commission if you get a subscription through the links marked with βaff.β (at no extra cost to you).