Problem Statement: A Robot Bar That Must Pour Correctly Every Time
Frames the robot bartender as a cyber-physical system where a wrong pour, a spill or an unverified age check is a physical or legal incident, not a retry.
Problem statement
Design a system that takes a guest's drink order from a kiosk or phone, verifies that the guest may legally be served, and then makes the drink with a robot arm, pumps, a shaker and a glass rack. The same platform must track inventory, clean itself between flavours and report every pour for support, finance and regulators.
The defining property is that the output is a physical liquid in a glass in front of a person. A cloud backend that loses a request can retry it. A robot that spills, pours 60 ml instead of 30 ml, or hands a drink to an intoxicated guest has already caused a problem that no retry can undo. Every design decision has to be read through that lens.
Real systems already exist. Makr Shakr, the Turin-based maker of robotic bar systems, built the robot bartenders for Royal Caribbean's Bionic Bar, which Royal Caribbean first placed on Quantum of the Seas in 2014 and which the cruise line describes as capable of about one drink per minute per robot. Cecilia.ai, an Israeli company, markets an interactive robot bartender aimed at hotels, casinos and cruise ships, with a vendor-stated throughput of up to 120 cocktails per hour. Barsys sells a countertop machine with six pour stations that reads the bottles a user has loaded and pours recipes from a phone app. Those are vendor and press figures, not audited benchmarks, and this answer treats them that way.
Why this is an IoT and edge problem
The robot cell is a device, not a web server. It has a six-axis arm, peristaltic pumps, load cells under every bottle and under every glass, a safety PLC with light curtains and door switches, and an industrial PC that runs the recipe engine. Cloud ingress is therefore a device gateway problem first: AWS IoT Core, Azure IoT Hub or an MQTT broker on GKE bridged into Pub/Sub, with mutual TLS per cell. The order and payment services that sit behind that gateway are ordinary API services.
The split that matters most is between what the cell can decide alone and what the cloud may decide. The cloud chooses which order comes next and records the money. The cell decides whether it is physically safe to move the arm right now. If the internet drops in the middle of a shake, the arm must still stop when a guest's hand enters the zone.
What the interviewer is really testing
Candidates usually draw a web app with a queue and a robot box. Strong candidates show four separate concerns: the order lifecycle with money attached, the physical execution with its own safety authority, the inventory truth that is measured by weight rather than counted by software, and the age and licensing gate that must never be bypassed by a fast path. Naming those four early tells the interviewer you know this is not a checkout flow with a motor attached.
Key Highlights
- •The output is a physical drink, so a wrong pour or an unverified sale is an incident that a retry cannot undo.
- •The cell owns motion safety locally; the cloud owns orders, money and records and never directly moves the arm.
- •Inventory truth comes from load cells in grams, not from counting software decrements.
- •Public vendor figures (Royal Caribbean about one drink per robot per minute; Cecilia.ai up to 120 drinks per hour) are used only as labelled reference points.
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "Before we design the order flow, I want to name the physical authority, because a robot arm is a safety-critical actuator and the cloud should never be the thing that stops or starts it."
- "I will treat the cloud as the place where orders, money and records live, and the cell as the place where motion is decided, and I will keep those two authorities separate in the diagram."