# When a Missed Message Becomes a Missed Meal

DevFeed: [When a Missed Message Becomes a Missed Meal](<https://devfeed.tech/articles/when-a-missed-message-becomes-a-missed-meal-23983.md>)

Original publisher: [Read original article](<https://medium.com/mcdonalds-technical-blog/when-a-missed-message-becomes-a-missed-meal-1a44cb0051f3?source=rss----3bac42476d27---4>)

Author: Global Technology

Published: 2026-08-12T14:03:07Z

Content type: article

Language: en

Sources: [McDonald](<https://devfeed.tech/sources/mcdonald-s-technical-blog-medium.md>)

Topics: [Production Engineering](<https://devfeed.tech/topics/production-engineering.md>), [Messaging](<https://devfeed.tech/topics/messaging.md>), [Deployment Strategies](<https://devfeed.tech/topics/deployment-strategies.md>), [zero downtime deployment](<https://devfeed.tech/topics/zero-downtime-deployment.md>)

Tags: [cloud-computing](<https://devfeed.tech/tags/cloud-computing.md>), [customer](<https://devfeed.tech/tags/customer.md>), [deployments](<https://devfeed.tech/tags/deployments.md>), [devops](<https://devfeed.tech/tags/devops.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [graceful-shutdown](<https://devfeed.tech/tags/graceful-shutdown.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [messaging](<https://devfeed.tech/tags/messaging.md>), [orders](<https://devfeed.tech/tags/orders.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>)

## AI overview

At McDonald's reported scale of roughly one million US orders per hour across hundreds of dynamically scaled nodes, rare shutdown failures can affect customer orders and restaurant operations. Kubernetes rescheduling during scaling, rolling updates, and cluster maintenance can interrupt in-flight requests or background messages: a pod may stop before finishing work, a request may be canceled, or a message may be acknowledged without being processed. The excerpt says graceful shutdown patterns in both application code and infrastructure can reduce lost work, but ends before giving the promised examples or specific implementation steps.

## Source excerpt

Why graceful shutdowns matter when millions of orders are in flight. by: Samuel Hapgood, Software Engineer III Quick Bytes At McDonald's scale, rare failures in distributed systems can impact real customer and crew experiences Graceful shutdown patterns in Kubernetes -- across application code and infrastructure -- help protect in-flight work during scaling and deployments With the right shutdown strategies, teams can reduce message loss, improve reliability, and ensure orders make it to the kitchen Imagine you're placing a mobile order at McDonald's during a busy lunch rush. You hit "submit," and the kitchen never gets the order. Now you're left waiting -- no food, no updates, and growing frustration. At first glance, it seems like an easy problem to avoid. How hard can it be to just keep track of the order? But in modern, large-scale distributed systems -- especially those that must scale continuously -- that's not always straightforward. Behind the scenes, platforms like Kubernetes (which orchestrate containerized applications in the cloud) are continuously rescheduling pods as part of normal operations such as scaling applications, performing rolling updates, and maintaining cluster health. During these transitions, in-flight requests or background messages can be interrupted in subtle ways. A pod might shut down before finishing a task, a request might be canceled mid-flight, or a message might be acknowledged by a receiving service, but never actually processed. Even with strong messaging platforms and best practices in place, application shutdowns can still interrupt in-flight work if they are not handled carefully. These are edge cases -- but at McDonald's scale, edge cases happen often enough to matter. In the US alone, our platforms support roughly one million orders per hour on a dynamically scaled cluster of hundreds of nodes. At that volume, reliability becomes critical to ensuring a seamless experience for customers, crews, and restaurant operations. Prevent