Modular Monolith Architecture
What this trail covers
Agoda is evolving its software development workflow to leverage AI coding assistants. This involves a shift from implementation to specification and verification, with a 'Grey Box' approach emphasizing clear intent, testable criteria, and evidence-based validation. The role of engineers is transforming from implementers to solution architects, focusing on system design and precise requirement communication. Specification becomes the primary interface, enhanced by AI for distillation and sparring. Agoda has also introduced a modular monolith architecture to manage complexity in large services like BAPI. This involves enforcing strict boundaries between business domains using a framework that promotes package-by-component organization and layered internal structures (application, service, repository, model). The framework uses Data Mappers for translation at boundaries and typed builders for explicit object creation. Architectural fitness functions, implemented via ArchUnit tests in CI, enforce these boundaries to prevent structural drift.
All Agoda trails