Order Management System - Chili's Malaysia Chili's logo

A scalable middleware Order Management System that seamlessly bridges Chili's Malaysia's mobile ordering application with its legacy POS system—without modifying existing infrastructure. Built with intelligent queue management, automated kitchen station assignment, real-time order synchronization, and rate-limited POS integration to improve operational efficiency across multiple restaurant outlets.

36%

Reduction in kitchen
ticket time

50%

Higher peak-hour order
capacity

Platform Type

Enterprise Middleware Order Management System

Architecture

Decoupled Event-Driven Middleware

Stack

Spring Boot · PostgreSQL · Redis · OAuth2 · Resilience4j · ELK Stack

Launch Status

Production-Ready | Supporting 12+ Restaurant Outlets

About the Client

Modernizing Standalone Middleware OMS

Chili's Malaysia is one of the country's leading casual dining restaurant chains, serving thousands of customers daily through both dine-in and digital ordering channels. As mobile ordering adoption increased, the existing legacy POS system became a bottleneck, limiting scalability, operational visibility, and customer communication.

To overcome these challenges without replacing the POS, a standalone middleware Order Management System (OMS) was developed. Acting as an intelligent bridge between the mobile application and the legacy POS, the middleware introduced queue management, automated kitchen workflows, real-time order synchronization, and centralized monitoring while preserving the existing restaurant infrastructure.

Core System Modules

Order Management

FIFO Queue Management

Kitchen Station Assignment

Real-Time Status

Primary Users

  • Customers (Mobile App)
  • Kitchen Staff
  • Restaurant Managers
  • POS System Administrators

The Challenge

Scaling OMS Without Changing the Legacy POS

  • line icon

    Legacy POS Rate Limits

    The existing POS could process only three orders per minute before returning HTTP 429 (Too Many Requests). During peak dining hours, large order bursts overwhelmed the system, resulting in failed submissions, manual intervention, and delayed service.

  • line icon

    Kitchen Order Overload

    Rush-hour order spikes caused the POS to print dozens of tickets simultaneously, creating long preparation queues, staff confusion, and kitchen bottlenecks. Without controlled order flow, average ticket times exceeded 25 minutes.

  • line icon

    No Real-Time Order Visibility

    The legacy POS lacked support for pushing order status updates to the mobile application. Customers received an initial confirmation but had no visibility into preparation progress, leading to increased support calls, customer frustration, and order abandonment.

  • line icon

    Manual Kitchen Coordination

    Orders arrived without automatic assignment to kitchen stations such as Grill, Fry, Prep, and Dessert. Staff manually distributed tickets, resulting in uneven workloads, duplicated effort, missed items, and reduced operational efficiency.

The Solution

Building an Intelligent Middleware Layer Between the Mobile App and Legacy POS

MIDDLEWARE ARCHITECTURE

Decoupled Integration Without POS Changes

  • Standalone Spring Boot middleware bridging the mobile app REST API and the legacy POS
  • OAuth2-secured order fetching with scheduled polling every 30 seconds
  • Webhook-based status synchronization for seamless communication
  • Resilience4j circuit breakers preventing cascading failures during outages

ORDER ORCHESTRATION

Intelligent Queue & Kitchen Management

  • Threshold-based FIFO queue controlling order flow during peak hours
  • Automated station assignment for Grill, Fry, Prep, and Dessert
  • Spring State Machine managing the complete order lifecycle
  • Redis-powered rate limiting ensuring zero HTTP 429 responses

OBSERVABILITY & OPERATIONS

Real-Time Monitoring & Performance

  • Live operational dashboard showing orders, queues, and station workloads
  • PostgreSQL and Redis enabling sub-100ms dashboard responses
  • New Relic APM and ELK Stack providing end-to-end monitoring
  • Slack alerts with structured logging for proactive issue detection

Architecture

Operational Visibility

The middleware Order Management System was designed as a decoupled integration layer between Chili's Malaysia's mobile ordering application and its legacy POS system. Rather than modifying the existing POS, the solution orchestrates order processing, queue management, kitchen workflows, and real-time status synchronization while maintaining secure and reliable communication across all restaurant outlets.

The architecture focuses on scalability, resilience, and operational visibility, ensuring smooth order processing during peak hours while supporting multi-outlet deployments.

Order Management Platform Development Architecture
×

Database Architecture

Optimized for Reliable Order Processing

The middleware OMS combines PostgreSQL for ACID-compliant transactional data with Redis for high-speed caching, queue management, distributed locking, and rate limiting. This architecture ensures consistent order processing, sub-second response times, and reliable performance during peak restaurant traffic across multiple outlets.

  • ACID-compliant order state transitions
  • Redis-powered FIFO queue management
  • Token bucket rate limiting for POS integration
  • Distributed locks for concurrent processing
  • JSONB support for flexible order payloads
  • Cached outlet configuration and station mappings

Performance Benchmarks

Dashboard API response <100ms
Order validation <20ms
Queue operations (LPUSH/RPOP) <1ms
Order fetch → Database write <100ms
Complete order processing <1 second

Key Outcomes & Business Value

Numbers Speaks Successful Outcomes

  • 36%

    Reduction in Kitchen Ticket Time

    Average ticket preparation time decreased from 25 minutes to 16 minutes, enabling faster service and improved kitchen efficiency during peak hours.

  • 50%

    Higher Peak Order Capacity

    Restaurants successfully increased processing capacity from 20 to 30+ orders per hour without overloading the legacy POS or kitchen operations.

  • 99.95%

    System Uptime

    The middleware maintained high availability with reliable order synchronization and uninterrupted operations across all supported restaurant outlets.

  • 80%

    Fewer Customer Wait Complaints

    Real-time order tracking and controlled kitchen workflows significantly reduced customer inquiries and improved the overall ordering experience.

  • Operational Excellence

    The middleware OMS automated order orchestration, kitchen station assignment, queue management, and real-time status synchronization without requiring any modifications to the legacy POS. This streamlined restaurant operations, eliminated ticket pileups during rush hours, and reduced manual coordination across kitchen teams.

  • Business Impact

    The solution delivered measurable improvements in operational efficiency and customer satisfaction. Restaurants achieved 100% adoption across all outlets within two weeks, experienced a 75% reduction in order abandonment (8% to 2%), and gained real-time operational visibility through centralized dashboards, enabling better staffing decisions and continuous performance optimization.

Conclusion

Building a Scalable Middleware OMS for Legacy POS Integration

  • Rate Limiting Should Be Built Into the Architecture

    Rate Limiting Should Be Built Into the Architecture

    The legacy POS could process only a limited number of orders per minute. Implementing token-bucket rate limiting and intelligent FIFO queue management from the beginning ensured reliable order processing and eliminated HTTP 429 errors during peak traffic.

  • Decoupled Workflows Improve Performance

    Decoupled Workflows Improve Performance

    Separating order acceptance, kitchen orchestration, and POS synchronization allowed the mobile application to respond quickly while background processes handled longer-running tasks. This improved scalability without compromising consistency or user experience.

  • Real-Time Visibility Is Essential

    Real-Time Visibility Is Essential

    Comprehensive monitoring through dashboards, centralized logging, and application performance monitoring enabled proactive issue detection, bottleneck analysis, and data-driven staffing decisions across all restaurant outlets.

Ready to modernize your restaurant order management?

Whether you're integrating with a legacy POS, building a middleware Order Management System, or scaling digital ordering across multiple restaurant outlets, we can help you design a secure, scalable, and production-ready solution.

Start Your Project
x

Beware of Scams

Don't Get Lost in a Crowd by Clicking X

Your App is Just a Click Away!

Fret Not! We have Something to Offer.