Architecture 2023-09-25

Modular Monolith Architecture: A Practical Guide and When to Choose It Over Microservices

Learn what a modular monolith is, how it differs from microservices and traditional monoliths, and when it is the better architectural choice for your team.

Read in: ja
Modular Monolith Architecture: A Practical Guide and When to Choose It Over Microservices

Overview

This is a memo on what I researched about modular monoliths.

What is a Modular Monolith?

Service Weaver

Google has released a tool called Service Weaver for developing as a modular monolith and deploying as microservices.

Impressions

I had a bit of a dream about modular monoliths, but my impression led me to write a poem.

I think it's logical that architecture needs to evolve with organizational expansion, but I wondered if there might be a silver bullet architecture that can flexibly respond to organizational scalability or doesn't incur excessive costs. (There isn't.)

Organizations may expand, contract, or remain unchanged, but since companies assume growth, I thought it might be good to invest proactively in organizational scalability.

I wanted to quote a passage related to this topic, so I'll include it here to conclude.

However, what we need to focus on here is the difference in lifecycle between the two. Organizational and team configurations can be changed the next day depending on the company's policy if desired. However, architecture and systems are difficult to change quickly like an organization.

cf. eh-career.com - Reasons for Transitioning to a Modular Monolith ─ Asoview's Large-Scale Efforts to Balance Microservice Autonomy and Monolith Consistency

References

Tags: Modular Monolith
Share: 𝕏 Post Facebook Hatena
✏️ View source / Discuss on GitHub
☕ Support

If you enjoy this blog, consider supporting it. Every bit helps keep it running!


Related Articles