# Ankit Patel > Engineering, Product, and AI Executive (SVP of Engineering at Hims & Hers; ex-VP Eng/Product/AI at Cruise; ex-SVP Eng at Foursquare; ex-GM AWS IoT; ex-Director Amazon Prime & FBA; ex-Intel). > Writing on AI architecture, distributed systems, human-in-the-loop safety, small senior teams, and white paper reviews. > Every piece has a clean raw Markdown mirror at `/post/.md`. ## Key Pages - Home: https://ankitpatel.io/ - Writing Archive: https://ankitpatel.io/writing - White Paper Reviews: https://ankitpatel.io/papers - Labs: https://ankitpatel.io/labs - About & Contact: https://ankitpatel.io/about - Full Markdown Bundle: https://ankitpatel.io/llms-full.txt - RSS Feed: https://ankitpatel.io/rss.xml ## Paper Reviews - [A Tighter Bound, More Mistakes](https://ankitpatel.io/post/paper-review-2026-pac-bayes-judges.md) (2026-11-17): In Lamb, Torr, and Rudner's November 2026 paper on LLM judges, what caught my attention is that the tightest statistical bound comes from an adapter making… - [SGLang RadixAttention: Put the Prompt Timestamp Last](https://ankitpatel.io/post/paper-review-2025-sglang-radix.md) (2026-10-30): Giving a language model the current timestamp is reasonable. Putting that changing timestamp on line one of a long system prompt is expensive. That is the… - [MapReduce Was Allowed to Try Again](https://ankitpatel.io/post/paper-review-google-mapreduce.md) (2026-10-24): What stands out on rereading Google's 2004 MapReduce paper is how much control it strips away from the engineer writing a batch job. When I run large-scale… - [What Has to Cross Between Agents?](https://ankitpatel.io/post/paper-review-scaling-agent-systems.md) (2026-09-06): Two agents read two separate annual reports, extract revenue and reporting periods, and hand their findings to a third agent to compare. Keep that… - [The Retry That Keeps the Outage Going](https://ankitpatel.io/post/paper-review-tail-at-scale-metastability.md) (2026-08-28): The bad release rolled back twenty minutes ago, yet the service is still drowning. Slow requests are triggering retries that keep the queue full. Every… - [Which Calls Should a Person Check?](https://ankitpatel.io/post/paper-review-ai-agent-reliability.md) (2026-08-15): Two agents each run ten tasks and succeed on eight. With reviewer bandwidth for only two checks, which two runs belong in the human queue? Compare their… - [How DeepSeek Shares the Work](https://ankitpatel.io/post/paper-review-2024-deepseek-v3.md) (2026-07-31): Routing every token to its highest-scoring experts leaves a mixture-of-experts model with hot shards and idle GPUs. Popular experts bottleneck training… - [Aurora DSQL: Multi-Region Commits Without Cross-Region Locks](https://ankitpatel.io/post/paper-review-2025-aurora-dsql.md) (2026-07-25): Strong snapshot isolation in Aurora DSQL names a precise database guarantee, not a promise that application rules survive concurrent transactions. An… - [The Date on the Letter](https://ankitpatel.io/post/paper-review-2026-ledger-memory.md) (2026-07-19): A late address change arriving in June for a March move carries two timestamps that an agent memory system cannot collapse into one. March 1 is when the… - [Who Understands This Change?](https://ankitpatel.io/post/paper-review-2026-spec-ownership.md) (2026-06-17): I have watched a two-line default change demand deeper system knowledge than a two-hundred-line feature. An internal service exposes an optional… - [The Experiment Isn't the Product](https://ankitpatel.io/post/paper-review-2025-deepseek-r1.md) (2026-05-30): The January 2025 DeepSeek-R1 report gets most interesting to me at the exact point where its training pipeline stops being pure. DeepSeek-R1-Zero applies… - [Amazon Dynamo and the Shopping Cart Merge Test](https://ankitpatel.io/post/paper-review-amazon-dynamo.md) (2026-05-24): I still use Dynamo's shopping cart to explain a clear storage trade: preserve a customer's additions even when reconciling conflicting versions brings a… - [Decision Record: How a Sub-Agent Asks for More](https://ankitpatel.io/post/paper-review-2026-multi-agent-auth.md) (2026-03-15): A delegated agent starts with permission to inspect an order, then discovers that finishing the job requires flipping a refund flag. Asking for authority… - [PagedAttention in vLLM: Slower Kernels, Higher Throughput](https://ankitpatel.io/post/paper-review-2023-vllm-pagedattention.md) (2026-03-06): I love systems papers where a kernel runs 20% to 26% slower and the serving engine still delivers two to four times the throughput at comparable latency… - [Did the Call Help?](https://ankitpatel.io/post/paper-review-2023-toolformer.md) (2026-01-04): To my eye, Toolformer's sharpest move is a self-supervised filter that manufactures API training examples from plain text. In Timo Schick and colleagues'… - [The Test Kept Fixing the Bug](https://ankitpatel.io/post/paper-review-deterministic-simulation-testing.md) (2025-08-17): A fault-injection test can miss a liveness bug by being too helpful and repairing the exact failure that stalled the cluster. That detail jumped out at me… - [What “Can Be Made” Changes](https://ankitpatel.io/post/paper-review-2024-sleeper-agents.md) (2025-06-27): Three words carry the thesis of Hubinger et al.'s Sleeper Agents paper: implanted backdoors can be made to survive standard safety training. Drop those… - [GFS Record Append: Atomic Doesn't Mean Once](https://ankitpatel.io/post/paper-review-google-gfs.md) (2025-06-08): In the 2003 Google File System paper, a successful record append writes data atomically at least once at an offset chosen by GFS. Ghemawat, Gobioff, and… - [466 Job Interruptions Training Llama 3](https://ankitpatel.io/post/paper-review-2024-llama3-herd.md) (2025-04-27): During a 54-day Llama 3 pretraining window on up to 16,000 GPUs, Meta logged 466 job interruptions and needed manual intervention on three. Most of the… - [Google Bigtable: Locality Groups Over Schema Enforcement](https://ankitpatel.io/post/paper-review-google-bigtable.md) (2025-03-01): Choosing what comes first in a Bigtable row key decides which product query gets a fast contiguous scan and which one fans out. Put two everyday… - [Which Request Can Google Dapper Explain?](https://ankitpatel.io/post/paper-review-google-dapper.md) (2025-02-02): Uniform trace sampling shows where latency goes across a fleet while missing almost every individual request a customer asks about. Sigelman and colleagues… - [Finding Where to Change the Code](https://ankitpatel.io/post/paper-review-2024-swe-bench.md) (2025-01-08): In Jimenez et al.'s SWE-bench study, Claude 2 resolved 1.96% of repository issues with BM25 search and 4.8% when handed the gold files. Neither score was… - [Firecracker's Useful Limits](https://ankitpatel.io/post/paper-review-2020-firecracker.md) (2024-12-22): Firecracker keeps a separate Linux guest kernel per workload while stripping the virtual machine monitor down to the bare minimum. Standard Linux containers… - [ReAct's Awkward Result](https://ankitpatel.io/post/paper-review-2022-react.md) (2024-12-06): In Yao et al.'s ReAct benchmark on HotpotQA, PaLM-540B scored 27.4% exact match with retrieval against 29.4% for closed-book chain-of-thought. Giving the… - [FlashAttention: The Attention Matrix You Don't Store](https://ankitpatel.io/post/paper-review-2022-flashattention.md) (2024-10-12): Recomputing attention intermediates during backpropagation sounded wasteful to me at first until you compare GPU arithmetic speed against memory traffic… - [How Small Can a LoRA Adapter Be?](https://ankitpatel.io/post/paper-review-2021-lora.md) (2024-09-15): What drew me to the LoRA paper is why low-rank adaptation works: useful task changes often need far fewer degrees of freedom than pretraining the base model… - [Memcache Leases and Thundering Herds at Facebook](https://ankitpatel.io/post/paper-review-facebook-memcache.md) (2024-08-10): Deleting a stale cache entry after updating a database does not stop an older in-flight read from writing the stale value right back. Walk through the four… - [An Update Without a Training Run](https://ankitpatel.io/post/paper-review-2020-rag.md) (2024-07-22): A support team publishes a revised refund policy at 5:00 p.m., and ten minutes later the customer assistant still quotes the old rule. Before blaming the… - [2 Passes in 200 on Codex HumanEval](https://ankitpatel.io/post/paper-review-2021-codex-humaneval.md) (2024-07-07): When a code model generates 200 candidate programs for one problem and two pass the unit tests, single-draw accuracy is 1%, a gap I still keep in mind… - [The Examples Are Part of the Specification](https://ankitpatel.io/post/paper-review-2020-gpt3-few-shot.md) (2024-06-28): Putting worked examples in a prompt lets a team specify task behavior without changing a single model weight. That finding from Brown et al.'s 2020 GPT-3… - [Chinchilla Is Optimal for Which Bill?](https://ankitpatel.io/post/paper-review-2022-chinchilla.md) (2024-06-08): Calling a model compute-optimal means little to me until someone names the bill. Chinchilla optimizes a fixed training budget rather than lifetime serving… - [FoundationDB Makes Recovery Routine](https://ankitpatel.io/post/paper-review-2021-foundationdb.md) (2024-04-20): FoundationDB routes component failures through a single transaction-system recovery path instead of maintaining separate degraded modes. When a transaction… - [Two Berkeley Papers, One Unfinished Idea](https://ankitpatel.io/post/paper-review-2019-berkeley-serverless.md) (2024-02-09): I enjoy pairing these two UC Berkeley papers because they reach seemingly opposite verdicts on serverless computing, even though several of their authors… - [Google Monarch: Keeping Alerting Off the Broken Database](https://ankitpatel.io/post/paper-review-2021-monarch.md) (2023-12-17): I have learned the hard way that a storage outage is the worst time to discover that your alerting pipeline reads from the same storage service before it… - [DPO Removes a Training Loop](https://ankitpatel.io/post/paper-review-2023-dpo.md) (2023-12-01): Preference datasets start with a prompt, two candidate completions and a human label choosing one answer over the other. Standard RLHF pipelines turn those… - [What Does '8 TP, 4 PP, 16 DP' Actually Divide?](https://ankitpatel.io/post/paper-review-2019-megatron-lm.md) (2023-09-09): A training plan labeled '8-way tensor parallelism, 4-way pipeline parallelism, 16-way data parallelism' describes sixteen cooperating 32-GPU replicas. Each… - [Spanner Waits Out Its Own Doubt](https://ankitpatel.io/post/paper-review-google-spanner.md) (2023-09-02): TrueTime answers 'What time is it?' with a bounded time interval, and what I admire in Google's Spanner is how it makes that uncertainty part of the… - [AWS Physalia: Millions of Tiny Databases Instead of One](https://ankitpatel.io/post/paper-review-2020-millions-tiny-dbs.md) (2023-06-07): A configuration record can be reachable from most of a datacenter and still be unreachable from the exact host that needs it during a fault. That… - [TAO: Why Facebook Built a Graph Cache Over MySQL](https://ankitpatel.io/post/paper-review-facebook-tao.md) (2023-01-08): By the time Meta published RAMP-TAO in 2021, TAO already supported failure-atomic writes across shards. A reader could still observe half a transaction… - [Facebook Haystack: Cutting Disk Reads Per Photo Lookup](https://ankitpatel.io/post/paper-review-facebook-haystack.md) (2022-11-13): Facebook's 2010 Haystack paper describes a photo read path that spent disk operations finding a file before reading the image bytes. Under the earlier… - [Gorilla: Compressing Telemetry by Delta-of-Delta](https://ankitpatel.io/post/paper-review-facebook-gorilla.md) (2022-05-06): A host reports metrics at 1000, 1010, 1020 and 1031 milliseconds. The gaps between points are 10, 10 and 11, and the changes in those gaps are 0 and 1. That… ## AI Architecture & Agents - [Save the Failing Run](https://ankitpatel.io/post/deterministic-simulation-testing-ai-agents-distributed.md) (2026-11-14): Last Christmas I built a coding agent from scratch to read a spec, plan repository edits, run tests, and recover when checks failed. Single tool calls were… - [Before You Show Me the Token Chart](https://ankitpatel.io/post/tokens-are-spend-not-a-metric.md) (2026-11-12): I am glad to fund engineers exploring what AI tools can do, knowing upfront that plenty of those experiments will hit dead ends. Demanding a guaranteed ROI… - [I Won't Budget an AI Multiplier](https://ankitpatel.io/post/i-won-t-budget-an-ai-multiplier.md) (2026-03-27): I want engineers to use AI aggressively. I also have to decide what an engineering organization can promise on a roadmap. Those two commitments lead to very… - [The Agent Made It Easy to Begin](https://ankitpatel.io/post/the-agent-made-it-easy-to-begin.md) (2025-12-29): Over Christmas I built an agent against a code repository. Getting the first working attempt took hours, while deciding what to keep took discipline. In my… - [What the Loop Forgot](https://ankitpatel.io/post/i-learned-building-ai-agent-scratch.md) (2025-12-28): Over Christmas break I built a coding agent directly against a model API, and watched it repeat failed edits as its transcript grew. Skipping orchestration… - [The Cars Already on Their Way](https://ankitpatel.io/post/ai-marketplaces-balancing-real-time-supply.md) (2023-11-14): Six driverless cars sit eight minutes outside a busy district. A point-in-time pricing loop counts zero idle cars inside the zone and raises fares. In an… ## Distributed Systems & Data - [The Shortlist Decides Who Can Win](https://ankitpatel.io/post/building-geospatial-feature-store-real-time.md) (2023-05-16): A location model can excel at ranking venues and still miss the cafe that opened last month if retrieval drops it before scoring runs. Once a venue is… - [Geohash, S2 or H3?](https://ankitpatel.io/post/spatial-indexing-deep-dive-geohashes-s2.md) (2023-03-21): 'In the same parent cell' can describe a relationship between IDs or a relationship between shapes. With H3, those are two different promises. Every… - [Noon Arrives at Three](https://ankitpatel.io/post/real-time-geospatial-pipelines-consumer-scale.md) (2022-09-15): A phone records a store visit at noon inside a subway station, stays offline for three hours, and uploads the batch at three. Every mobile event carries two… - [A Cheaper Spatial Join Still Has to Find the Point](https://ankitpatel.io/post/cloud-cost-discipline-trimming-petabyte-spatial.md) (2022-07-19): On large geospatial pipelines, I have watched teams burn huge compute budgets answering one simple question: which delivery zone contains this point? The… - [One Pin, Two Businesses](https://ankitpatel.io/post/entity-resolution-global-scale-keeping-100m.md) (2022-04-19): I have seen a map with one pin look cleaner in a demo than a map with two. If those pins represented different businesses, the cleanup made the data worse… - [Which Door?](https://ankitpatel.io/post/low-battery-stop-detection-pilgrim-sdk.md) (2022-03-22): When a stationary phone sits outside a cafe, a bank and a dry cleaner, its horizontal uncertainty circle often covers all three storefronts. A sharper… - [re:Invent as a Customer](https://ankitpatel.io/post/aws-re-invent-2021.md) (2021-12-21): Earlier this month, I attended AWS re:Invent as a customer for the first time. After years on the other side, that felt different. I caught up with former… ## Engineering Org & Leadership - [The Next Engineer Has to Learn Somewhere](https://ankitpatel.io/post/the-next-engineer-has-to-learn-somewhere.md) (2026-11-23): Last week I wrote why a token-consumption chart is an expense report rather than proof of engineering productivity. Funding open-ended exploration makes… - [The File Was Third](https://ankitpatel.io/post/the-file-was-third.md) (2026-09-25): The right file sat third on the candidate list. Then my bug-investigation agent ran one more search pass and pushed it down to fifteenth. I hit that… - [The Technical Job Changes](https://ankitpatel.io/post/hands-technical-leaders-outperform-managers.md) (2026-09-15): I want the engineers and leaders in my organization to make technical calls different from mine, and I want enough depth to know when to step in. Holding… - [Before the Assistant Says Done](https://ankitpatel.io/post/before-the-assistant-says-done.md) (2026-06-26): In March I built a bridge to carry a local Claude Code session into Slack so another engineer could join from a phone. Getting messages to the phone was the… - [Scale, Safety, Care](https://ankitpatel.io/post/scale-safety-care-three-questions-every.md) (2025-10-14): When a booking screen stalls while checking available appointments, two architecture questions decide what the customer experiences next. How long can the… - [A Chat Window Can Make a Promise](https://ankitpatel.io/post/a-chat-window-can-make-a-promise.md) (2025-09-25): A screen changes what people do, and a conversational interface can make a stronger promise than the service behind it can keep. While leading product… - [Two Years at Foursquare](https://ankitpatel.io/post/two-years-rebuilding-data-icon-lessons.md) (2023-08-15): The opportunity I cared most about at Foursquare was bringing its strengths together across places, movement and visual spatial analytics. Leading… - [Spend a Week in the Escalations](https://ankitpatel.io/post/every-senior-engineer-should-spend-week.md) (2023-07-18): Hand a senior engineer a tough customer escalation and ask them to reproduce it using only the public docs, the request and the returned payload. Hold off… - [Read the Numbers Together](https://ankitpatel.io/post/measuring-engineering-velocity-without-gaming-metrics.md) (2023-04-18): I don't give a green metric an easier conversation than a red one. Accepting every uptick at face value invites teams to bring prettier charts, and throws… - [Before We Sell the Internal API](https://ankitpatel.io/post/platform-vs-app-deciding-productize-developers.md) (2023-02-14): Looking at a healthy internal service and asking whether outside developers could build on it is an instinct I share. Running traffic is not a product. The… - [Bring the Design](https://ankitpatel.io/post/we-run-architecture-reviews-without-creating.md) (2023-01-17): Engineers need a regular place to bring a design and work through it with Senior Staff and Principal peers while there is still room to change course… - [Where the Handoff Waits](https://ankitpatel.io/post/engineering-architecture-mirrors-your-org-chart.md) (2022-11-29): Before I move a team, I want to know which decision the move will make easier. A clean org chart makes a quarterly plan look tidy on slides. For the… - [Dear Product Manager: About Those Per-Store Counts](https://ankitpatel.io/post/privacy-first-location-intelligence-post-att.md) (2022-06-21): Dear product manager, I want to know what decision a customer will make from a daily count of twelve. - [One Organization, Different Crafts](https://ankitpatel.io/post/unifying-engineering-data-science-product-under.md) (2022-05-18): A scientist should not have to make the case for promotion in the vocabulary of a backend engineer. That matters even when both report into the same… - [A Builder's Mentality](https://ankitpatel.io/post/builder-mentality.md) (2021-09-21): My dad and I used to stay up late watching MacGyver. I loved the idea that you could take what was around you and make something useful out of it. In grade… - [Be the Surgeon, Not the Architect](https://ankitpatel.io/post/be-the-surgeon-not-the-architect.md) (2021-09-21): Six months into Amazon, I was asked to implement the fees for the upcoming Fulfillment by Amazon launch. Sellers would pay Amazon to pick, pack and ship… - [When the Meeting Became an Audience](https://ankitpatel.io/post/smaller-scrums.md) (2021-08-24): There were thirteen of us on the early Fulfillment by Amazon team, and I was team member thirteen. Our morning meeting included engineering, product… - [What Changed After the Incident?](https://ankitpatel.io/post/correction-of-error.md) (2021-07-20): 'Improve monitoring' is an action item I send back. It names an area of work, not the failure the team should be able to detect, who will do the work, or… ## Personal & Reflections - [Leaving Cruise](https://ankitpatel.io/post/turning-page-after-cruise-joining-hims.md) (2025-07-15): After a little over two years leading Product, Engineering, AI, and Design at Cruise, I'm turning the page and joining Hims & Hers. I loved Cruise. It has… - [What Stops When the Plan Changes](https://ankitpatel.io/post/staying-steady-road-gets-bumpy-leadership.md) (2025-03-11): Announcing a new top priority is the easy half of changing a plan. Closing out the commitments people were already carrying is the real work. New priorities… - [45 Seconds](https://ankitpatel.io/post/stepping-into-product-design-taught-career.md) (2024-05-09): Swapping a rider's car after they have started walking to the corner can improve fleet utilization while breaking the product promise. Once a ride app… - [Joining Cruise](https://ankitpatel.io/post/moving-foursquare-i-m-joining-cruise.md) (2023-08-08): I joined Cruise in early July as VP of Engineering, Product and AI. Two years ago I came to Foursquare from AWS to work closer to the physical world. I am… - [Say the Number Before You Press Run](https://ankitpatel.io/post/teaching-kids-build-age-instant-answers.md) (2023-04-06): A kid builds a doorway sensor: an ultrasonic rangefinder wired to a Raspberry Pi and ten lines of Python that any tutorial or assistant will hand over. Send… - [500 Degrees](https://ankitpatel.io/post/first-impressions-chatgpt-natural-language-is.md) (2022-12-14): Two weeks after ChatGPT's launch, what strikes me first is asking for software in plain English. The hard part is catching silent unit errors. Ask for a… - [Day 1 When the Budget Tightens](https://ankitpatel.io/post/watching-amazon-s-culture-shift-outside.md) (2022-11-04): I spent fifteen years at Amazon and AWS. Watching from the outside, I separate what I miss about working there from what I can know today. The habit I cared… - [An Office Day Worth the Trip](https://ankitpatel.io/post/returning-office-only-works-you-return.md) (2022-07-08): I like going into an office when the people I want to work with are there and we have a reason to spend time together. At Foursquare, our engineering, data… - [Time Away](https://ankitpatel.io/post/embrace-uncertainty.md) (2021-11-27): I took time away from work this year because my family needed more of me. I was leading Alexa's IoT services, devices and software platforms. I loved the… - [Moving Forward from AWS](https://ankitpatel.io/post/moving-forward.md) (2021-06-22): Today is my last day at AWS. When I joined Amazon in the summer of 2006, I thought I would stay for three years. That seemed like enough time to learn…