Monolithic architecture

모놀리식 아키텍처

Several features ship as one runtime and deployment unit.

···
html
<div class="scene"><div class="title">ONE RELEASE UNIT</div><div class="row modules"><div class="tile" id="m1">UI</div><div class="tile" id="m2">ORDERS</div><div class="tile" id="m3">DATA</div></div><div class="release"><span id="source">CHANGE: UI</span><span class="arrow">→</span><span class="tile" id="build">BUILD ALL</span><span class="arrow">→</span><span class="tile" id="deploy">DEPLOY ALL</span></div></div>
css
.scene{width:min(94vw,760px);height:min(86vh,320px);padding:clamp(10px,2.5vmin,18px);border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--fg);font:500 clamp(11px,1.3vw,16px)/1.25 "Pretendard Variable",Pretendard,-apple-system,sans-serif;display:flex;flex-direction:column;gap:clamp(7px,1.6vmin,12px);overflow:hidden}.scene *{box-sizing:border-box}.title{font-weight:750;color:var(--accent)}.muted{color:var(--muted)}.mono{font-family:ui-monospace,monospace}.row{display:flex;align-items:center;justify-content:center;gap:clamp(5px,1.4vmin,12px);flex:1;min-height:0}.tile{border:1px solid var(--line);border-radius:8px;background:var(--bg);padding:clamp(6px,1.6vmin,12px);text-align:center;min-width:0}.on{border-color:var(--accent)!important;background:color-mix(in srgb,var(--accent) 12%,var(--surface))!important}.pulse{animation:pulse 1.6s infinite alternate}@keyframes pulse{to{border-color:var(--accent);transform:translateY(-3px)}}.modules{flex:1}.modules .tile{flex:1;height:70%;display:grid;place-items:center}.release{display:flex;align-items:center;justify-content:space-between;gap:4px}.release .tile{padding:.5em}.arrow{color:var(--accent)}
js
const modules=['m1','m2','m3'];let n=0;function tick(){modules.forEach((id,i)=>document.getElementById(id).classList.toggle('on',i===n%3));document.getElementById('source').textContent='CHANGE: '+['UI','ORDERS','DATA'][n%3];document.getElementById('build').classList.toggle('on',n%2===0);document.getElementById('deploy').classList.toggle('on',n%2===1);n++}tick();setInterval(tick,850)

A monolith runs interface, business rules, and data access in one application. In-process calls make deployment and tracing straightforward.

The demo shows one module change moving through a shared build and release. As the codebase grows, clear module boundaries help prevent unrelated changes from affecting each other.

When to use

Consider it when starting a product with low operational overhead or when one strong transaction boundary helps.

Open as page ↗