πŸ—οΈ Systems Architecture Evolution β€” Dari Mainframe ke AI-Orchestrated Fabric

Systems Architecture berevolusi dari single mainframe (1970) menuju AI-orchestrated service mesh (2026). Catatan ini memetakan 10 gaya arsitektur utama dalam 6 decade evolusi, dengan trade-off matrix per gaya, decision framework (tim size Γ— domain complexity Γ— scale requirement), dan timeline eksplisit. Setiap gaya dibahas dengan: kapan muncul, mengapa sukses/gagal, hingga di-replaced oleh apa.


Daftar Isi

  1. 1. Premise β€” Mengapa Arsitektur Selalu Berevolusi
  2. 2. Decade-by-Decade Arsitektur Timeline
  3. 3. Gaya 1 β€” Mainframe & Terminal
  4. 4. Gaya 2 β€” Client-Server
  5. 5. Gaya 3 β€” 3-Tier & Layered
  6. 6. Gaya 4 β€” Service-Oriented Architecture (SOA)
  7. 7. Gaya 5 β€” Microservices
  8. 8. Gaya 6 β€” Serverless & FaaS
  9. 9. Gaya 7 β€” Event-Driven Architecture
  10. 10. Gaya 8 β€” Modular Monolith
  11. 11. Gaya 9 β€” Edge-Cloud Hybrid
  12. 12. Gaya 10 β€” AI-Orchestrated Fabric
  13. 13. Decision Framework
  14. 14. Trade-off Matrix
  15. 15. Cross-Reference ke Vault
  16. References

1. Premise β€” Mengapa Arsitektur Selalu Berevolusi

Setiap decade, tekanan muncul yang menuntut arsitektur baru:

1970s: Computing mahal β†’ centralized (mainframe)
1980s: PC murah β†’ distributed (client-server)
1990s: Web butuh 3-tier β†’ presentation/logic/data
2000s: Enterprise integration β†’ SOA & ESB
2010s: Cloud + mobile scale β†’ microservices
2015: Function economics β†’ serverless
2020s: Real-time data β†’ event-driven
2022s: Microservices overhead β†’ modular monolith
2024: Latency critical β†’ edge-cloud
2026: Complexity overwhelms β†’ AI-orchestrated

Prinsip dalang: arsitektur bukan pilihan β€œfree” β€” tiap gaya memecahkan masalah lama sambil menciptakan masalah baru. Vendor lock-in, distributed complexity, callback hell, fan-out fan-in overhead, telemetry noise β€” semuanya ada di tiap era.

Kapan pilih gaya? Ketika gaya sebelumnya mulai gagal di dimensi yang penting (tim productivity, scalability, time-to-market, latency).


2. Decade-by-Decade Arsitektur Timeline

β”Œβ”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Era  β”‚ Style yang dominant                                     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ 1960sβ”‚ Time-sharing mainframe                                  β”‚
β”‚ 1970sβ”‚ Mainframe + terminal cluster                            β”‚
β”‚ 1980sβ”‚ Client-server, PC network                               β”‚
β”‚ 1990sβ”‚ 3-tier, web-enabled                                     β”‚
β”‚ 2000sβ”‚ SOA, ESB                                                β”‚
β”‚ 2010sβ”‚ Microservices, cloud-native                             β”‚
β”‚ 2015sβ”‚ Serverless FaaS, container orchestration                β”‚
β”‚ 2020sβ”‚ Event-driven, CQRS, modular monolith, GraphQL          β”‚
β”‚ 2024+ β”‚ Edge-cloud, AI-orchestrated, agent-orchestrated         β”‚
β”‚ 2026+ β”‚ Self-healing infra, AI-native service mesh             β”‚
β””β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

3. Gaya 1 β€” Mainframe & Terminal

Era 1965-1985: satu mainframe, banyak terminal dumb.

3.1 Karakteristik

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Mainframe (single box)   β”‚
β”‚   β”œβ”€ Job scheduling      β”‚
β”‚   β”œβ”€ Time sharing        β”‚
β”‚   └─ Business logic      β”‚
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚ RS-232 / 3270 terminals
       ↓
   β”Œβ”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”
   β”‚Termβ”‚ β”‚Termβ”‚ β”‚Termβ”‚
   β””β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”˜

Kelebihan:

  • Compute efisien (resource split antar banyak user)
  • Lisensi tunggal, IT terpusat
  • Reliability tinggi (IBM mainframe 99.99% uptime)

Kekurangan:

  • Vertical scaling mahal
  • Tidak ada interactive computing
  • Lock-in vendor satu
  • Hanya batch processing

3.2 Sistem Khas

  • IBM System/360, System/370
  • DEC VAX
  • Burroughs large systems

4. Gaya 2 β€” Client-Server

Era 1985-2000: PC murah + Unix servers ubah komputasi.

4.1 Karakteristik

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”                β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Client  β”‚ ── RPC/Network ─│ Server  β”‚
β”‚ (PC)    β”‚                β”‚ (Unix)  β”‚
β”‚ GUI app β”‚                β”‚ DB+Logicβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Kelebihan:

  • Compute lokal di client (responsif UI)
  • Independent deployment client/server
  • PC murah = democratization

Kekurangan:

  • Fat client β†’ distribution problem
  • Network failure = local cache inconsistency
  • RPC versioning hell

4.2 Era’s Stack

LayerTeknologi
ClientWindows 3.1/95, Mac OS, X11
NetworkNetBEUI, IPX/SPX, TCP/IP
ServerNovell NetWare, Windows NT, Unix
ProtocolRPC, NetBIOS, SMB
MiddlewareODBC, CORBA

5. Gaya 3 β€” 3-Tier & Layered

Era 1995-2010: Web ubah segalanya. 3 lapis: presentation / logic / data.

5.1 Karakteristik

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Presentation Tier   β”‚ ← HTML, JSP, ASP, Servlet
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Business Logic Tier β”‚ ← EJB, COM+, .NET
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Data Tier           β”‚ ← Oracle, SQL Server, PostgreSQL
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Prinsip: Separation of concerns. Setiap tier punya tanggung jawab jelas.

Kelebihan:

  • Independent scaling per tier
  • Domain model testable tanpa UI
  • DB scaling specialist bisa fokus

Kekurangan:

  • Monolith di tier bisnis (perubahan satu modul = redeploy semua)
  • Object-Relational impedance mismatch
  • Hard untuk reuse asset antar aplikasi

5.2 Era Java EE / .NET

AspectJava EE.NET
ContainerApp Server (WebLogic, JBoss)IIS
ComponentEJB, JPA, JMSWebForms, WCF, ADO.NET
TransactionJTAMSDTC
MessagingJMS (Tibco, MQ)MSMQ

6. Gaya 4 β€” Service-Oriented Architecture (SOA)

Era 2002-2015: Reuse enterprise-wide via contract-first services.

6.1 Karakteristik

β”Œβ”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”
β”‚App 1 β”‚ β”‚App 2 β”‚ β”‚App 3 β”‚ β”‚Partnerβ”‚
β””β”€β”€β”¬β”€β”€β”€β”˜ β””β”€β”€β”¬β”€β”€β”€β”˜ β””β”€β”€β”¬β”€β”€β”€β”˜ β””β”€β”€β”¬β”€β”€β”€β”˜
   β””β”€β”€β”€β”€β”¬β”€β”€β”€β”΄β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”¬β”€β”€β”€β”€β”˜
        ↓       ↓         ↓
     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
     β”‚ Enterprise Service Bus  β”‚ ← Mediasi + transformasi
     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚
   β”Œβ”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”
   β”‚Service A β”‚ Service B β”‚ Service C β”‚ ← Reusable, contract-first
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜

6.2 Prinsip SOA

  • Contract-first β€” WSDL mendahului implementasi
  • Loose coupling β€” service contract stabil, impl bisa berubah
  • Reusability β€” service dipakai banyak consumer
  • Composability β€” service disusun jadi business process (BPEL)

6.3 Failure Modes

FailurePenyebab
ESB bottleneckSemua traffic melalui hub
Protocol vendor lock-in (SAML/WS-*)Standar kompleks, implementasi proprietary
BPEL spaghettiProcess kompleks jadi tidak maintainable
Service sprawl100 service tanpa owner jelas

6.4 Lesson Learned

Yang berhasil:

  • Standardisasi protokol (REST, JSON sukses menggantikan WS-*)
  • Decoupling via message bus (Kafka, RabbitMQ sukses menggantikan ESB)
  • Service ownership (Conway’s Law: organisasi = arsitektur)

Yang gagal:

  • Heavy WS-* stack (SOAP overhead)
  • Centralized ESB bottleneck
  • Spec-first tanpa observability

7. Gaya 5 β€” Microservices

Era 2014-2025: Independen deploy + domain-aligned service.

7.1 Prinsip Microservices

PrinsipPenjelasan
Single Responsibility1 service = 1 bounded context
Independent DeployService deploy sendiri, tak ganggu service lain
Decentralized DataTiap service punya DB sendiri
Smart Endpoints, Dumb PipesService berisi logic, transport sederhana
Failure Isolation1 service down β‰  total system down
ObservabilityLogging, metrics, traces by design

7.2 Karakteristik Teknis

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  HTTP/REST or gRPC  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Order Service   β”‚ ←────────────────→ β”‚ User Service    β”‚
β”‚ (DB: Postgres)  β”‚                    β”‚ (DB: Postgres)  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚ event                               β”‚
         ↓                                     β”‚ event
   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                       β”Œβ”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”
   β”‚ Kafka topicβ”‚                       β”‚ Notificationβ”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

7.3 Trade-offs

ProCon
Independent deploymentDistributed complexity
Polyglot (bahasa cocok per service)Network latency / unreliable
Failure isolationData consistency harder
Domain-aligned teamsOperational overhead Γ— N

7.4 Lessons Learned (2025 Retrospektif)

  • Service mesh overhead (Istio): banyak tim gagal, complexity tinggi
  • Distributed transactions: Saga pattern replaces 2PC
  • Observability: wajib di scale, mahal tapi untung
  • Micro frontend symmetry (Module Federation, micro-frontends)
  • Conway’s Law tetap berlaku: tim alignment β‰₯ teknologi

8. Gaya 6 β€” Serverless & FaaS

Era 2014-2026: Function-as-a-Service β€” deploy unit jadi function, infra auto-managed.

8.1 Karakteristik

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ API Gateway / Event Sources                       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         ↓             ↓               ↓
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚Functionβ”‚   β”‚Functionβ”‚  ... β”‚Functionβ”‚ ← Auto-scaled, pay-per-invoke
    β”‚  /api  β”‚   β”‚  /img  β”‚      β”‚  /db   β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚             β”‚               β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                       ↓
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚ Managed Service β”‚ ← DynamoDB, S3, RDS, SQS
              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

8.2 Pro & Con

ProCon
Zero ops β€” no servers managedCold start latency
Pay-per-invoke β€” cost zero untuk idleVendor lock-in (AWS Lambda β†’ AWS ecosystem)
Auto-scaling tak terbatasFunction timeout (15 min)
Event-driven nativelyLocal testing kompleks

8.3 Use Case Ideal

CocokKurang Cocok
Event processorLong-running processes
API endpoint statelessWebSocket
Scheduled task (cron)Stateful workflow
Glue code antara serviceHot-path latency-critical

8.4 Trend 2026

  • Hybrid FaaS + container β€” modal 70% FaaS, 30% container
  • WASM-based lambda β€” instant cold start (<10ms)
  • GPU serverless β€” ML inference pay-per-second
  • Edge functions β€” Cloudflare Workers, Vercel Edge, Deno Deploy

9. Gaya 7 β€” Event-Driven Architecture

Era 2018-2026: data sebagai stream, service sebagai reaction.

9.1 Prinsip

PrinsipPenjelasan
Event as source of truthSemua perubahan dicatat sebagai event
Eventual consistencyService mungkin eventually consistent
CQRSSeparate read & write model
Pub/SubProducer tidak tau consumer
IdempotencyReceiver handles duplicate via event ID

9.2 Topologi

[Producer] β†’ [Event Bus (Kafka/Pulsar/RabbitMQ)] β†’ [Consumer]
                       β”‚
                       └──→ [Event Store] β†’ [Replay] β†’ [Audit]

9.3 Pattern Penting

PatternUse Case
Event SourcingReplay-able history
CQRSDifferent read/write scaling needs
SagaMulti-service transaction
OutboxReliable event publish
ChoreographyNo orchestrator β€” emit + react
OrchestrationCentral workflow engine (Temporal, Camunda, Step Functions)

9.4 Trade-offs

ProCon
Loose coupling β€” producer/consumer independentEventual consistency tricky
Replay-able history for audit/recoverySchema evolution challenge
Natural for streaming analyticsIdempotency + dedup mandatory
Atomic single-source-o-truthHigher complexity vs request/response

9.5 Trend 2026

  • Streaming SQL β€” Apache Flink, ksqlDB, Materialize
  • Lakehouse architecture β€” Iceberg + Delta + Kafka
  • Event-driven cloud β€” AWS EventBridge, Azure Event Grid

10. Gaya 8 β€” Modular Monolith

Era 2022-2026: reaksi terhadap microservices overhead.

10.1 Karakteristik

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Single Deployable                                 β”‚
β”‚   β”œβ”€ Billing Module    (well-bounded internally)   β”‚
β”‚   β”œβ”€ Inventory Module  (well-bounded internally)   β”‚
β”‚   β”œβ”€ User Module       (well-bounded internally)   β”‚
β”‚   └─ UI Module         (well-bounded internally)   β”‚
β”‚                                                    β”‚
β”‚ Single DB, separate schema per module             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

10.2 Prinsip Kunci

  • Modular boundaries β€” enforced by package structure (Maven, Cargo modules)
  • No cross-module DB access β€” lewat API module lain
  • Single deploy unit β€” semua module deploy bareng
  • Easy migration path β€” module yang perlu scaling independen β†’ extract ke service

10.3 Kapan Pilih

CocokKurang Cocok
Tim size 5-30Tim size 100+
Domain bounded complex tapi tidak meledakDomain yang sudah meledak
Single-region deployment acceptableMulti-region mandatory
Startup stages, time-to-market criticalEstablished high-scale

10.4 Real-world Contoh

  • Shopify β€” modular monolith Rails
  • GitHub β€” (sekarang mendekati microservices)
  • Camping (Ruby) β€” typical example

11. Gaya 9 β€” Edge-Cloud Hybrid

Era 2024+: latency-critical workloads di edge, general di cloud.

11.1 Karakteristik

                           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                           β”‚ Cloud    β”‚
                           β”‚ Heavy    β”‚
                           β”‚ Processingβ”‚
                           β”‚ ML Train β”‚
                           β””β”€β”€β”€β–²β”€β”€β”€β”€β”€β”€β”˜
                               β”‚
                Burst, ack    β”‚   Health
                               β”‚
   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   ↓                       ↓                          ↓
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Edge POP  β”‚         β”‚ Edge POP  β”‚            β”‚ Edge POP  β”‚
β”‚ (10ms RTT)β”‚         β”‚ (20ms RTT)β”‚            β”‚ (15ms RTT)β”‚
β”‚ Sub-ms procβ”‚        β”‚ Sub-ms    β”‚            β”‚           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

11.2 Use Case

Use CaseEdge ComponentCloud Component
Live video translationCaption + translationHeavy ML training
IoT predictive maintenanceLocal classificationFleet-wide learning
Multiplayer gameSub-ms inputMatchmaking
CDN edge computeImage opt, authOrigin full app

11.3 Trend 2026

  • CDN edge functions β€” Cloudflare Workers, Vercel Edge
  • 5G MEC (Multi-access Edge Computing) β€” telco edge
  • Smart NIC offload β€” network-level compute
  • Satellite edge β€” Starlink compute nodes

12. Gaya 10 β€” AI-Orchestrated Fabric

Era 2026+: services + infra dijalankan/dikoordinasikan oleh AI agents.

12.1 Karakteristik

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ User Intent (natural language / structured intent)       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              ↓
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Orchestrator Agent (LLM-powered)                         β”‚
β”‚   β”œβ”€ Plan: decompose task                                 β”‚
β”‚   β”œβ”€ Decide: pilih tool/service                           β”‚
β”‚   β”œβ”€ Execute: panggil service                              β”‚
β”‚   β”œβ”€ Verify: cek output                                    β”‚
β”‚   └─ Iterate: loop sampai goal achieved                   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚
       β”Œβ”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”
       ↓      ↓      ↓      ↓      ↓
   [API] [Function] [DB tool] [SaaS] [Internal service]

12.2 MCP (Model Context Protocol)

Standardized protocol untuk agent-tool communication:

  • Tools β€” agent-callable actions
  • Resources β€” application-controlled context
  • Prompts β€” user-controlled templates

12.3 Trend 2026

  • Persistent agent memory β€” long-running context
  • Skills marketplace β€” interface bagai plugin store
  • Multi-agent fabric β€” agents collaborating
  • Self-healing infra β€” AI mendeteksi + mitigasi anomali
  • Prompt-driven deployment β€” intent β†’ service graph otomatis

12.4 Risiko

RisikoMitigasi
Hallucination β†’ wrong actionSandboxed execution + reversible actions
Cost blowup (LLM API calls)Cost limiter, batching
Agent loop infiniteMax iteration + circuit breaker
AuditabilityLogged action trace dengan reasoning

Koneksi ke Vault:


13. Decision Framework

13.1 Parameter Utama

Tim size     ───→  Architectural complexity
                    β€’ 1-5: monolith
                    β€’ 5-20: modular monolith
                    β€’ 20-50: early microservices
                    β€’ 50+: mature microservices / platform

Scale req    ───→  Distribution needs
                    β€’ <10K RPS: monolith/edge
                    β€’ 10K-100K: modular monolith
                    β€’ 100K-1M: microservices
                    β€’ >1M: microservices + edge

Domain       ───→  Modularity needs
                    β€’ Simple CRUD: monolith
                    β€’ Business complex: modular monolith
                    β€’ Multi-tenant enterprise: microservices

Latency      ───→  Edge presence
                    β€’ >100ms acceptable: cloud-only
                    β€’ <50ms needed: edge-cloud hybrid
                    β€’ <10ms: pure edge

13.2 Decision Tree

                    START
                      β”‚
                  Latency <10ms?
                   /          \
                Yes             No
                β”‚                β”‚
            Pure Edge         \
            + Cloud Burst   Scale need?
                              /        \
                            >1M RPS     <1M RPS
                             β”‚           β”‚
                         Microservices   \
                            + Edge       Team size
                                            /     \
                                          <30       >30
                                           β”‚         β”‚
                                       Modular    Modular Mono
                                       Monolith   then extract

13.3 Anti-pattern Decision

Anti-patternTanda
Distributed monolithMicroservices tightly coupled, deploy bareng
Big-bang microservicesLangsung extract dari monolith tanpa stabilitas
Premature FaaSCold-start hurts product
Edge-over-everythingLatency bukan bottleneck utama
Event-source everythingRead-before-write latency hurts

14. Trade-off Matrix per Gaya

GayaComplexityTime-to-MarketScalabilityVendor LockTeam Size
MainframeHighLowVertical onlyTotal5-20
Client-ServerMediumMediumLimitedMedium5-50
3-TierLowHighMediumLow5-100
SOAHighLowMediumHigh (ESB)50+
MicroservicesVery HighMedium (later fast)Very HighLow50-500
ServerlessLowVery HighAutoVery High1-50
Event-DrivenHighMediumVery HighLow20+
Modular MonolithLow-MediumHighMediumNone5-30
Edge-CloudHighMediumHighMedium50+
AI-OrchestratedHighHigh (later fast)AutoMediumVariable

15. Cross-Reference ke Vault


References

  1. F. Buschmann et al. β€œPattern-Oriented Software Architecture.” Wiley, 1996.
  2. T. Erl. β€œService-Oriented Architecture: Concepts, Technology and Design.” 2005.
  3. S. Newman. β€œBuilding Microservices.” O’Reilly, 2021.
  4. S. Newman. β€œMonolith to Microservices.” O’Reilly, 2019.
  5. C. Richardson. β€œMicroservices Patterns.” Manning, 2018.
  6. M. Ford et al. β€œBuilding Evolutionary Architectures.” O’Reilly, 2017.
  7. C. Born. β€œThe Cloud-Native Attitude.” 2020.
  8. AWS. β€œServerless Application Lens.” (2024).
  9. M. Kleppmann. β€œDesigning Data-Intensive Applications.” O’Reilly, 2017.
  10. A. Chakrabarti. β€œEnterprise Service Bus.” 2009.
  11. B. Stopford. β€œDesigning Event-Driven Systems.” Confluent, 2018.
  12. S. Tilkov et al. β€œModular Monoliths.” (2023). https://simonbrown.je/
  13. Microsoft. β€œAzure Architecture Center.” https://learn.microsoft.com/azure/architecture/
  14. Red Hat. β€œWhat Is an Event-Driven Architecture.” (2024).
  15. Gartner. β€œHype Cycle for Cloud Platform Services.” (2025).