+55 21 3828-2384 +55 21 99573-2384 contato@kxc.com.br Careers

Case study

Takeat

A restaurant management software startup that replaced an unstable monolith with a serverless, multi-tenant architecture.

30xrevenue growth

About the client

Management technology for bars, restaurants and food service chains

Takeat is a Brazilian technology startup for the food service industry. Its platform covers the full operation of bars, restaurants, food courts and multi-location chains: point of sale, digital order tickets for servers, QR code menus, tablet self-service, in-house delivery, iFood integration, CRM, cashback digital wallets and direct communication with diners over WhatsApp.

According to Sebrae (Brazil's support agency for micro and small businesses), companies that adopt digital technology are, on average, 26% more likely to grow their revenue. Restaurants, coffee shops and bars that invest in digital management cut costs, streamline operations and scale with more confidence.

For Takeat, that means every new venue that comes online adds load, data volume and pressure on the infrastructure's availability.

The challenge

A monolithic platform that couldn't keep pace with growth

As the company grew, its monolithic platform began to struggle with scalability, including frequent crashes and outages that hurt the customer experience and limited the company's expansion.

In a restaurant, every minute of downtime means orders that don't get entered, lost tickets, stalled lines and customers who aren't served. Operations see short, predictable peaks at lunch and dinner, and the infrastructure had to absorb those spikes and scale back down right after, with no manual intervention and no idle capacity for the rest of the day.

There were also three structural constraints:

  1. Every module shared the same database, which kept each service from scaling independently.
  2. Communication with diners over WhatsApp had to guarantee message ordering, no duplicates and isolation between venues.
  3. New features depended on manual deployments, which slowed time to market.

To carry out the migration and modernize its infrastructure, Takeat turned to KXC Tecnologia, an AWS Advanced Tier Services Partner specializing in small and midsize businesses.

A growth story

From hitting scale limits to a platform built to grow.

30x revenue growth: how Takeat scaled in the cloud with KXC and AWS (video in Portuguese)

The solution

A move to AWS with a serverless, event-driven, multi-tenant architecture

KXC migrated the infrastructure to Amazon Web Services, broke the monolith into independent services and adopted managed components that scale with demand. The entire infrastructure was provisioned as code with Terraform, which keeps environments standardized and reproducible.

Compute and microservices

The core of the platform was containerized and runs on Amazon ECS with AWS Fargate, with more than 15 microservices in production, including Point of Sale, Digital Server, Delivery, iFood Scheduler, Webhook, CRM, WhatsApp API, Printing and Dashboard API. Each service has its own lifecycle, Auto Scaling policies and isolated environment.

The experience layer runs on AWS Amplify, with more than 40 front-end applications: management dashboards, digital menus, delivery, multi-location, self-service, food courts and tablets. AWS Lambda handles automation functions, smart scaling and custom authentication integrated with Amazon Cognito.

Database and caching

The main database was migrated to Amazon Aurora PostgreSQL Serverless with a read replica, and it now follows the lunch and dinner peaks automatically. CRM and WhatsApp workloads moved to dedicated Amazon RDS for PostgreSQL instances. Seven Amazon ElastiCache (Redis) clusters handle sessions, queues and reads, and an Amazon ElastiCache (Valkey) r7g.large cluster serves the real-time data lake.

Messaging and WhatsApp integration

Communication was redesigned as an event-driven model on Amazon SQS FIFO. Hundreds of queues are created dynamically, one per restaurant, for sending messages, connections, QR codes and status updates. That guarantees ordered delivery with no duplicates and keeps each venue isolated.

Data lake and analytics

A data lake was built on Amazon S3 with a medallion architecture (raw, bronze, silver and gold) that organizes operational data for analysis by Takeat and the restaurants.

Networking and security

Exposed applications and APIs are protected by AWS WAF. Amazon CloudFront serves as the CDN for images and applications, reducing latency, and 10 Application Load Balancers distribute traffic across the microservices. Administrative access is VPN-only (Pritunl), and user authentication runs on Amazon Cognito with a custom flow.

CI/CD and automation

KXC implemented 19 continuous integration and delivery pipelines in AWS CodePipeline, covering every microservice and enabling frequent, standardized, zero-downtime deployments.

AWS services used

  • Amazon ECS on Fargate
  • AWS Amplify
  • AWS Lambda
  • Amazon Cognito
  • Aurora PostgreSQL Serverless
  • ElastiCache (Redis and Valkey)
  • Amazon SQS FIFO
  • Amazon S3
  • AWS WAF
  • Amazon CloudFront
  • AWS CodePipeline

Results

30x revenue, 22x more clients and 80,000 concurrent sessions

The serverless architecture solved the stability problems and unlocked Takeat's growth.

After moving to AWS and bringing KXC on as a partner, our revenue grew more than 30x and our client base grew 22x.

Miguel Carvalho, CEO, Takeat
  • Capacity: the platform now supports more than 80,000 concurrent sessions across restaurants, diners using QR codes, delivery integrations and cashback wallets. With Aurora Serverless and ECS, the environment keeps up with peaks without manual intervention.
  • Availability: the platform now sustains an SLA suited to real-time operations. Aurora read replicas, multiple Application Load Balancers and distributed caching eliminated single points of failure. On WhatsApp, hundreds of restaurants operate at the same time with individual SQS queues.
  • Delivery speed: the more than 40 applications on Amplify and the 19 pipelines enable multiple deployments a day with zero downtime.
  • Cost: a consumption-based model replaced fixed capacity. Aurora Serverless charges for actual usage, scheduled scaling for ECS and RDS reduces capacity outside the peaks, and automations run on Lambda with no dedicated servers.
  • Data: with the medallion data lake, Takeat and its clients now make data-driven decisions, from menu management to consumer behavior.

For Alex Assis, CTO of KXC Tecnologia, the cloud benefits the entire ecosystem, not just the company that adopts it: small businesses with robust, affordable infrastructure grow and drive growth for their customers and partners.

The case shows that the cloud is no longer a privilege of large corporations and is now within reach of small businesses that want to scale.

In the press

The Takeat case was featured in Brazil's Valor Econômico newspaper, in the article "Food service startup grows 30x after moving to the cloud" (published in Portuguese).

Key metrics

30x
revenue growth
22x
client base growth
80,000+
concurrent sessions

Read the full post on the KXC blog

Book a call with one of our specialists

Fill in your details and the service you need. We'll get in touch to find a time that works for you.