
Sign up to save your podcasts
Or


Jo wants a big screen at Saturday's breakfast for the owners of every studio on Studio Hop, with one number ticking up behind her: how many people have checked in, across every studio, right now. Studio Hop, Jo and her brother Sam were dreamed up for the show, and this time Sam answers with two questions. Right now by whose clock? And how wrong is she happy for it to be? Rob explains a stream that never ends, why back-to-back hourly boxes suit paying the studios while a moving hour suits the wall, and why a basement studio with no phone signal means every check-in has three times on it. You'll understand the watermark, the overnight recount that forgives the live count, and how Uber counted ad clicks in Uber Eats once each. More at cloudadorn.com.
For about forty minutes on Tuesday evening nobody could book a class on Studio Hop, and the cause was the loyalty points. Jo, Sam and Studio Hop are all made up for this show. Sam had wired the points program straight into the booking code, so every booking waited for it. Rob explains an event, a short note about something that already happened, like Hana booked the six o'clock spin class, left on a broker's corkboard for anyone who cares, and why paying for a class is still a question you ask directly. Monzo's crowdfunding round, twenty million pounds from thirty-six thousand investors, shows a bank choosing the note over the question and saying what it cost. You'll hear what notes cost in lag, repeats and order, what event sourcing adds, and how Griffin and Walmart keep the list as the record. Next, Jo wants a live count of check-ins.
On Saturday morning twenty-one people turned up for a spin class with twenty bikes, every one of them holding a confirmation. Jo, who runs Studio Hop, her brother Sam and the app are invented, but one woman still drove across town to be handed a towel and an apology. The two places Studio Hop runs had lost touch for about half an hour, and both sides said yes to the last bike. Rob explains a partition, and what Gilbert and Lynch proved in twenty oh-two, which the CAP theorem's triangle tries to sum up. You'll understand why the choice is made for each kind of thing, how giving every class a home side helps, and how three copies become a dial. Amazon's twenty oh-seven cart paper and Eric Brewer on Google's Spanner show both sides. Next, one booking that has to tell payments, reminders and loyalty points.
Three gyms wanted Studio Hop's timetable on their own websites, and Sam said yes before Jo had finished telling him. He handed the first gym the private connection his own phone app uses, tidied up how class times are stored on Thursday, and the gym's site showed every class starting at midnight. Jo, Sam and the app were all invented for this show. Rob explains an API as a written promise about the outside, using an airport's signs and the crew's radio, and sets named jobs between Sam's own programs, as Monzo runs them, against the web's plain instructions for partners. You'll hear why a retry needs a unique tag, why a bookmark beats page numbers, how Stripe keeps old formats alive with small converters, and why Zalando kept business logic out of its API gateway. Then two regions disagree about who got the last bike.
Jo wrote four words on a napkin at Sunday lunch, never down, fast, cheap and safe, and underlined never twice, after Studio Hop went down for an hour in Wednesday's after-work rush. Studio Hop isn't real, and neither are Jo or her brother Sam, who builds it. Rob uses a hospital's list of rooms to separate features from quality attributes and constraints, then turns adjectives into numbers Sam can check, like a timetable within three seconds in the six o'clock rush. You'll hear why an all-green screen can lie, where the bend comes as a crowd grows, and the story of HealthCare.gov, with sixty contracts across thirty-three companies, six completed enrollments in the war room notes and eight hundred and forty million dollars committed. Monzo's backup that does only the essentials shows how to promise less on purpose. Next, partner gyms want Studio Hop's classes on their own websites.
Your monthly report is ready. Every studio owner on Studio Hop got that email two hours late, after the report ran for every studio at once at nine in the morning on the first, on the bookings database. Studio Hop, Jo who runs it and her brother Sam who built the report are invented. Rob pictures a post office with a records office behind the counters, and follows the data from carriers on every street through a sorting office into Hadoop's file system, where one keeper machine only says where the boxes are. You'll understand why MapReduce crawls on questions with several rounds, why Spark keeps its notes on the desk until memory runs out, as Yelp found, and why Elasticsearch works like a card catalogue. T-Mobile's twenty fourteen story shows why studio owners must get answers without phoning Sam. Next, Jo and Sam argue about what good means.
Jo promised the studios a check-in history, and Sam can't make it fit. Spin studios want what the bike recorded, yoga studios want the room and the borrowed mat, one studio wants a teacher's note, and Sam's tables have fixed columns. Sam is every bit as imaginary as his sister Jo and their booking app, Studio Hop. Rob pictures NoSQL as hundreds of regional warehouses instead of one central one, and says what that costs: no single question across every warehouse at once. You'll learn how a document store like MongoDB keeps a folder per visit, why choosing the key is the biggest decision, what Discord learned about busy channels in Cassandra, and how two out of three copies make a quorum. Amazon's two thousand and seven paper on Dynamo explains a shopping cart that never says no. Next, the studios' monthly reports slow down bookings.
On Monday morning Studio Hop crawled, a few members got an error saying it couldn't connect, and a member who had just bought a ten-class pass saw an account page saying she didn't have one. Sam, who builds the invented booking app, wants to throw out the database, and his equally invented sister Jo wants to know if he has lost his mind. Rob pictures a relational database as an old bank's ruled ledger and explains what a transaction promises, why those promises are cheapest on one machine, and why copies run behind. Nubank's copies once fell three to four minutes behind. You'll hear why an index comes before any switch, how GitHub drew its walls on paper before moving tables, and how Cash App kept the same kind of database and split the rows with Vitess. Then a check-in history that won't fit into tables.
Have you charged me twice? A member booked Thursday's early spin class and got two receipts a minute apart. Jo found exactly one charge, and Rob bets her brother Sam's update switched off the email piece before it could tell the queue it had finished. Jo, Sam and Studio Hop were made up for this show. Rob pictures RabbitMQ as registered mail and Kafka as a newspaper archive where each reader keeps its own bookmark, and explains why no queue can promise never twice and never lost at the same time, so every reader checks the booking number first. You'll hear why Cloudflare regretted setting up too few presses, how DoorDash moved off RabbitMQ only after hitting a wall, and why Redis Pub Sub, a town crier, suits a front-desk screen but never a charge. Next, Sam wants to throw out a database for something trendier.
Thousands of times a minute, Studio Hop's database is asked what classes are on this week and how many spots are left, and it nearly always gives the same answer. Studio Hop, Jo who runs it and her brother Sam who wrote it are all made up for the show. Rob pictures a cache as the printed timetable on a receptionist's counter, then gets to the hard part, taking the old copy away the moment a booking changes. You'll hear how two members booking at once can leave a wrong copy behind, why Facebook's twenty thirteen paper added a lease, how to stop a Monday stampede, and why dealing timetables across machines like cards breaks when one is added. Memcached's sealed boxes meet Redis's labelled drawers over a spin studio's leaderboard, and Shopify's Shop app shows a plain choice paying off. Then a duplicate receipt.