Agoda Cuts API Code Review Time Using Modular Architecture
Travel platform Agoda has adopted a modular monolith framework for its post-booking API, cutting median code review times by 64% and reducing technical overhead.
🧠AI AnalysisPhoto: infoq.com
Key points
- Agoda reduced median code review time by 64% using a modular monolith framework.
- Time to initial substantive feedback dropped from 15.77 hours to 10.34 hours.
- Automated architecture checks via ArchUnit enforce domain boundaries in the CI pipeline.
Travel platform Agoda has restructured its post-booking API (BAPI) by introducing a modular monolith framework, successfully tackling long-standing maintenance challenges without requiring a full service rewrite. The system manages critical customer operations including cancellations, booking modifications, refunds, and communications. Originally extracted from an older core monolith in 2019 via a line-by-line migration, the API faced surging demand as merge requests quadrupled between 2022 and 2025, with individual files expanding beyond 4,000 lines.
To reverse this complexity, the engineering team adopted a package-by-component approach based on business domains such as cancellations, payments, and rebooking, rather than traditional technical layers. By encapsulating logic and data access behind strict interfaces and using automated testing tools like ArchUnit within continuous integration pipelines, the system catches structural rule violations before human review. Agoda noted that developers also utilized 29% fewer AI prompts per 100 changed lines on framework-backed modifications during a Q2 2026 observation period, though the company noted these AI findings remain directional.
Performance comparisons from Q2 2026 highlighted significant efficiency gains for the new framework. Median code review completion dropped to 1.08 hours, compared to 3.02 hours for legacy code, while the time required to receive initial substantive feedback fell from 15.77 hours down to 10.34 hours. The platform now serves as the default standard for all incoming modules, with older functionalities scheduled for incremental migration during routine feature development.
What to watch next: Adoption of automated architectural fitness functions and modular testing tools across other enterprise engineering teams.
Source infoq.com — infoq.com/news/2026/11/agoda-modular-monolith-framework/?utm_campai… ↗
Read next
🤖AI ModelsRumours that AI labs can break encryption run ahead of the evidence
A rumour that AI labs have a fast way to factor large numbers has spread, but no break of RSA has been demonstrated.
🤖AI ModelsAI-Assisted Search Points to a Possible Dwarf Planet in the Outer Solar System
A team that used a Claude model in its analysis reports a candidate dwarf planet, roughly 590 km wide, traced through Rubin Observatory data and 2013–2019 archival images…
⚖️Regulation & PolicyICE Expands Surveillance Reach Using Flock Safety Camera Network via Local Police Proxies
US Immigration and Customs Enforcement is increasingly utilizing AI-integrated license plate readers from Flock Safety by routing requests through local police department…
🚀Startups & FundingStartups Showcase Body-Integrated Tech with Smart Lenses and Graphene Bandages
Startups Xpanceo and Grapheal presented next-generation wearable technology at Dubai Future Week, featuring smart contact lenses and graphene-based biosensor bandages des…
🔌Chips & HardwareNvidia CEO Jensen Huang Set for Congressional Hearings on China Ties and Chip Sales
Nvidia CEO Jensen Huang faces a series of closed-door and public congressional hearings this week regarding chip sales and ties to China.
🚀Startups & FundingDating App User Banned After Secretly Recording Dates for AI Analysis
A New York hedge fund manager has been banned from Hinge after using a transcription app and Anthropic's Claude to secretly record and analyze his romantic dates.