Writing
Notes, architecture pieces, and paper reviews, combining pieces originally published on thebuilder.info (2021–2024), edited notebook drafts from Foursquare and Cruise, and current writing. Press ⌘K anywhere to search.
- The Next Engineer Has to Learn SomewhereLast week I wrote why a token-consumption chart is an expense report rather than proof of engineering productivity. Funding open-ended exploration makes…
- A Tighter Bound, More MistakesIn 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…
- Save the Failing RunLast 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 ChartI 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…
- SGLang RadixAttention: Put the Prompt Timestamp LastGiving 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 AgainWhat 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…
- The File Was ThirdThe 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 ChangesI 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…
- What Has to Cross Between Agents?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 GoingThe 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?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 WorkRouting 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 LocksStrong snapshot isolation in Aurora DSQL names a precise database guarantee, not a promise that application rules survive concurrent transactions. An…
- The Date on the LetterA 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…
- Before the Assistant Says DoneIn 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…
- Who Understands This Change?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 ProductThe 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 TestI still use Dynamo's shopping cart to explain a clear storage trade: preserve a customer's additions even when reconciling conflicting versions brings a…
- I Won't Budget an AI MultiplierI 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…
- Decision Record: How a Sub-Agent Asks for MoreA 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 ThroughputI 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?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 Agent Made It Easy to BeginOver 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 ForgotOver Christmas break I built a coding agent directly against a model API, and watched it repeat failed edits as its transcript grew. Skipping orchestration…
- Scale, Safety, CareWhen 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 PromiseA screen changes what people do, and a conversational interface can make a stronger promise than the service behind it can keep. While leading product…
- The Test Kept Fixing the BugA 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…
- Leaving CruiseAfter 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 “Can Be Made” ChangesThree 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 OnceIn 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 3During 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…
- What Stops When the Plan ChangesAnnouncing 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…
- Google Bigtable: Locality Groups Over Schema EnforcementChoosing 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?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 CodeIn 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 LimitsFirecracker 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 ResultIn 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 StoreRecomputing 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?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 FacebookDeleting 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 RunA 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 HumanEvalWhen 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 SpecificationPutting 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?Calling a model compute-optimal means little to me until someone names the bill. Chinchilla optimizes a fixed training budget rather than lifetime serving…
- 45 SecondsSwapping 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…
- FoundationDB Makes Recovery RoutineFoundationDB routes component failures through a single transaction-system recovery path instead of maintaining separate degraded modes. When a transaction…
- Two Berkeley Papers, One Unfinished IdeaI 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 DatabaseI 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 LoopPreference datasets start with a prompt, two candidate completions and a human label choosing one answer over the other. Standard RLHF pipelines turn those…
- The Cars Already on Their WaySix 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…
- What Does '8 TP, 4 PP, 16 DP' Actually Divide?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 DoubtTrueTime 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…
- Two Years at FoursquareThe opportunity I cared most about at Foursquare was bringing its strengths together across places, movement and visual spatial analytics. Leading…
- Joining CruiseI 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…
- Spend a Week in the EscalationsHand 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…
- AWS Physalia: Millions of Tiny Databases Instead of OneA 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…
- The Shortlist Decides Who Can WinA 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…
- Read the Numbers TogetherI 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…
- Say the Number Before You Press RunA 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…
- Geohash, S2 or H3?'In the same parent cell' can describe a relationship between IDs or a relationship between shapes. With H3, those are two different promises. Every…
- Before We Sell the Internal APILooking 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 DesignEngineers 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…
- TAO: Why Facebook Built a Graph Cache Over MySQLBy the time Meta published RAMP-TAO in 2021, TAO already supported failure-atomic writes across shards. A reader could still observe half a transaction…
- 500 DegreesTwo 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…
- Where the Handoff WaitsBefore 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…
- Facebook Haystack: Cutting Disk Reads Per Photo LookupFacebook's 2010 Haystack paper describes a photo read path that spent disk operations finding a file before reading the image bytes. Under the earlier…
- Day 1 When the Budget TightensI 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…
- Noon Arrives at ThreeA 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 PointOn large geospatial pipelines, I have watched teams burn huge compute budgets answering one simple question: which delivery zone contains this point? The…
- An Office Day Worth the TripI 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…
- Dear Product Manager: About Those Per-Store CountsDear product manager, I want to know what decision a customer will make from a daily count of twelve.
- One Organization, Different CraftsA 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…
- Gorilla: Compressing Telemetry by Delta-of-DeltaA 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…
- One Pin, Two BusinessesI 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?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 CustomerEarlier 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…
- Time AwayI 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…
- A Builder's MentalityMy 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 ArchitectSix 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 AudienceThere 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?'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…
- Moving Forward from AWSToday 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…