
Rebuilding a Food Tech Platform with Data at the Core
In the food tech industry, customer experience depends as much on digital platforms as it does on the menu. Restaurants and delivery services today compete as much on their platforms as on their menus. Therefore, reliable and easy-to-use applications are a must.
In the article, we share our experience of working with our client to address these exact challenges. The task was more than just a platform rebuild, but delivering a system that could scale as the client’s business grew, handle complex data flows, and provide strategic insights.
Platform Architecture and Service Design
The Agiliway team re-architected a 17-microservice platform using a clean‑architecture structure (domain, application, infrastructure, app), with Dapr for interservice communication. By splitting core business logic into focused services (orders, loyalty, payments, notifications, delivery, call center, etc), each service can now handle its own workload without affecting the rest.
Scale and Data Scope
The system now manages data for over 3 million users, with MongoDB storing detailed order histories and PostgreSQL handling transactional data. Previously fragmented operational data was unified into structured flows, eliminating inconsistencies caused by ad hoc storage.
Database Strategy and Search/Indexing
A polyglot persistence approach was applied:
- MongoDB for order history
- PostgreSQL for payments, delivery, loyalty, and admin data
- Amazon OpenSearch for logs, audits, and search
We also built coverage maps for visualizing order distribution and performance metrics at both order and shop levels.
Cloud Hosting and Data Warehousing
To reduce complexity and integration overhead, the platform was standardized on AWS. Transactional and operational data were consolidated in Amazon Redshift, breaking down silos and allowing cross-service analytics.
Reliable Integrations and Messaging
Event flows between services were managed with AWS Lambda, Dapr, and Amazon SQS/SNS, while WebSockets allow real-time client notifications for payment updates, delivery status, and live events.
Analytics, BI, and Personalization
With Amazon QuickSight, stakeholders can access customer order history, operational dashboards, and generate business reports. Analytical outputs also allow personalization features like birthday offers, targeted discounts, and customer preferences, overall improving customer engagement and growing satisfaction.
Observability, Tracing, and Security
We integrated Jaeger for distributed tracing to detect and alert on slow or failed database and front-end queries. DefectDojo is used for continuous vulnerability tracking across front-end and back-end stacks to trigger updates and remediation workflows, thereby creating both stability and security across the stack.
Task Scheduling and Synchronization
Using HangFire, recurring background jobs and synchronization tasks were automated, further streamlining operations.
Front-End Delivery and Developer Workflow
A monorepo architecture simplifies development across web, mobile, and admin interfaces, reducing overhead. With Next.js and Incremental Static Regeneration (ISR), content updates become faster, and front-end performance improves significantly.
Platform Modernization
All services were rewritten in .NET, solving interservice communication challenges from the old Python/Go setup. Business processes that previously relied on manual spreadsheets or disconnected exports were automated and unified into a single system.
Bottomline
The upgraded platform not only solved technical issues but also reshaped how the client uses and benefits from their data. Firstly, automated processes and secure integrations reduced manual work and system load. Next, faster, more reliable services and real-time notifications lowered the call center load and improved user satisfaction. And, finally, centralized and structured data now powers advanced marketing campaigns, smarter decision-making, and simplified website management.
By modifying such fragmented systems into a unified, data-driven platform, we helped the client build a stronger foundation for growth in a highly competitive market. If your business needs a technical boost, contact our experts to learn how you can do it.