Alpesh Kumar
Image
  • Home
  • Blog
Alpesh Kumar
  • Home
  • Blog
Image
  • Home
  • Blog

System Design

Home/Blog/System Design
Design Uber’s AI Demand Prediction and Driver Repositioning System
Artificial Intelligence, Machine Learning, System Design

Design an Uber Demand Prediction and Driver Repositioning System

Read more
The UUID Primary Key Problem That Shows Up at 200 Million Rows — a framed technical comparison shows a random UUID B-tree scattering inserts and a point lookup fanning into many cold row pages, contrasted with a time-ordered UUID path that keeps inserts and fetched pages locally clustered. Visual direction: idea: a UUID primary-key lookup can find the key quickly yet still cause extreme page reads when random insertion order scatters the B-tree and cold row pages; subject: UUID primary keys at 200 million rows; mechanism: compare random UUID insert distribution across many B-tree leaf pages with time-ordered UUID inserts concentrated at the active edge, then show a point lookup descending the index and fanning out into scattered cold data pages marked by a dense 94,000-read texture; composition: framed comparison — a generous title band across the top, with a large left diagnostic zone for random UUID scatter and a right diagnostic zone for ordered UUID locality, joined only at the bottom by one shared lookup-to-row path; palette: deep forest/moss — pale eucalyptus background, forest-green and near-black ink, muted sandstone page blocks, restrained burnt-orange I/O accents, and a small burgundy warning accent; exclusions: dark navy, neon-blue glow, floating UI cards, network nodes, generic AI circuitry, people, robots, hands, dashboards, logos, fake code, secondary readable text, decorative charts, physical-machine metaphors
System Design

The UUID Primary Key Problem That Shows Up at 200 Million Rows

Read more
System Design

Crafting a Scalable Real-Time Interaction System with Redis: A Deep Dive into Integrating Character, Environment, and LLM Services

Read more
System Design Fundamentals: The Concepts That Still Matter
System Design

System Design Fundamentals: The Concepts That Still Matter

Read more

Recent Posts

  • Why LLMs Pause Before They Start: Time to First Token Explained
  • FastCRUD for FastAPI: Less Repetitive CRUD, Not Less Architecture
  • AI Product Development: Building Is Cheaper. Judgment and Delivery Are Not.
  • LangGraph Evaluation Tutorial: Test Multi-Agent Workflows
  • LangGraph Persistence Tutorial: Checkpoint and Resume Multi-Agent Workflows

Categories

  • AI Agents (13)
  • Artificial Intelligence (27)
  • LangGraph (8)
  • LLM (7)
  • Machine Learning (13)
  • NASA (1)
  • Photography (1)
  • Python (7)
  • Self-Hosting (1)
  • Software Architecture (10)
  • System Design (4)

Tags

AI AI Agents AI agent security AI Architecture AI automation AI Detection AI Security AI Writing Anthropic API Design Apple Artificial Intelligence Bias-Variance Trade-off Camera Settings ChatGPT Classification Claude Decision Trees design Embeddings Em Dash Ensemble Methods FastAPI Google AI Information Gain iPhone 18 Pro Max iPhone Photography LangGraph LLM Machine Learning MLOps Mobile Photography Multi-agent Nomic OpenAI Overfitting Python Real-Time Systems Redis Regression Software Engineering System Architecture Text-to-Video Workflow Automation Writing Tips

©alpeshkumar.com , All rights reserved

We use essential cookies to operate this website and remember your privacy choices. With your permission, we also use analytics and advertising cookies to understand website use and support relevant advertising. You can accept all, reject optional cookies, or manage your choices at any time.

Alpesh Kumar
Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

Additional Cookies

This website uses the following additional cookies:

(List the cookies that you are using on the website here.)

Cookie Policy

More information about our Cookie Policy