Retail EMEA

What Is MACH Architecture?

MACH architecture is an approach to building flexible e-commerce and digital commerce infrastructure from microservices-based, API-first, cloud-native and headless software components.

MACH architecture takes its name from the initials of four concepts: Microservices, API-first, Cloud-native and Headless (independent of the front end). A retailer that adopts these principles, rather than buying its e-commerce infrastructure as one large software package, selects and combines components such as search, catalogue, basket, payment and content management individually. The approach is the technical foundation of the modular structure also known as composable commerce.

How does MACH architecture work?

Microservices allow each function to be developed and scaled independently. API-first design means every component is exposed through a well-defined interface, so components can be swapped. Cloud-native operation allows capacity to scale up and down automatically and updates to be made without downtime.

In a headless set-up, customer-facing screens such as the website, mobile app, in-store kiosk or voice assistant are separated from the commerce engine behind them. The same product, price and basket services serve every screen. Software companies that champion these principles have also organised themselves into an industry alliance, but a product being ‘MACH-compliant’ does not by itself make it the right choice.

Example of MACH architecture in retail

For example, a cosmetics brand had to wait months for a release to add a new payment method to its old packaged e-commerce software. In moving to a MACH approach, it first shifts the front end to a headless set-up, then replaces its search and content management components. Basket and order management are left for the second year. The brand's marketing team can now publish campaign pages without depending on the software team.

Points to watch with MACH architecture

  • Bringing many components together requires strong integration and architecture skills; without them, the choice of implementation partner becomes decisive.
  • Total licence and running costs should be compared honestly with a single packaged solution.
  • Migration should not happen in one go but should start with the component causing the most problems.
  • Look at API quality, documentation and reference projects rather than vendors' marketing labels.

Related terms

Related terms include composable commerce, headless commerce, e-commerce platform and unified commerce.

Last updated: · Source: Retail EMEA Retail Glossary

When quoting, please cite: "What is MACH Architecture?", Retail Glossary, Retail EMEA — https://retailemea.com/glossary/what-is-mach-architecture/

Other terms starting with M