Context
iFood is the largest food-delivery platform in Latin America. In more than ten years of operation it grew to over 60 million orders a month across 1,200+ Brazilian cities, connecting consumers, restaurants and couriers through an app that has to respond in seconds. Behind the app sits a cloud data infrastructure that records every step of an order: creation, restaurant acceptance, preparation, dispatch, courier location and completion.
Rapid growth from 2016 and demand swings, with predictable peaks at Sunday lunch and dinner, led the company to move its back end out of its own data center and into the cloud, where elasticity would absorb those peaks without over-provisioning for the whole month.
The problem
In the original architecture, databases, services and applications were tightly coupled and talked to each other through batch pipelines. A simple error in one service rippled into the others, and tracing the root cause took hours of investigation. In a business where customers follow their order on their phone, every minute of downtime turns into complaints and cancellations.
The first answer was to adopt Apache Kafka. Lacking the team and experience to run Kafka on its own, iFood picked AWS’s managed service, MSK, to build the first order-monitoring and delivery-tracking pipelines. The outcome fell short: even on a managed service, the data and platform teams still spent most of their time on operational chores such as sizing clusters, planning capacity, applying updates and patches by hand and fixing authentication and security issues. Time meant for higher-value initiatives stayed trapped in operations.
The solution
iFood moved to Confluent Cloud, Confluent’s fully managed, cloud-native service. From there it built streaming pipelines across roughly 2,000 microservices and fully decoupled the legacy architecture, adopting an event-driven model: when a new order is created on the site or in the app, several parts of the system consume that event immediately, each at its own pace, without depending on one another.
Other uses grew on that foundation. Streaming pipelines began feeding the AWS data lake for analytics and machine learning. Courier geolocation became real-time tracking for customers. With ksqlDB the team started continuously computing orders per second, which became the platform’s health metric: if the number suddenly drops, something is wrong before customers notice. Managed Schema Registry guarantees version compatibility and data quality without developers maintaining that infrastructure. To avoid risks along the way, Confluent helped map security and governance best practices considered fundamental to the deployment’s success.
Results
Elastic scale: the platform follows demand peaks without anyone manually monitoring and adjusting capacity, something the team described as impossible for small teams. Productivity: engineers went back to business logic instead of maintaining low-level Kafka tooling. Cost: lower TCO through fewer engineering resources, less operational risk and lower infrastructure spend.
Over time Confluent stopped being just the path to the data lake and became the central mechanism for exchanging data between microservices and aggregations. It is now described as iFood’s central nervous system, powering around 700 applications from a single data-in-motion platform.
What this means for your team
Not all managed Kafka is the same. The gap between MSK and Confluent Cloud did not show up in the base technology, which is identical, but in how much time the team spent operating. In our assessments that is the first number we collect before any platform decision: hours per week on sizing, patching, security and incidents.
The second lesson is the business metric in the stream. “Orders per second” computed in real time is a better health indicator than any CPU alert, because it measures what the customer feels. In real-time analytics projects we always start with a metric like this.