ποΈ 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. Premise β Mengapa Arsitektur Selalu Berevolusi
- 2. Decade-by-Decade Arsitektur Timeline
- 3. Gaya 1 β Mainframe & Terminal
- 4. Gaya 2 β Client-Server
- 5. Gaya 3 β 3-Tier & Layered
- 6. Gaya 4 β Service-Oriented Architecture (SOA)
- 7. Gaya 5 β Microservices
- 8. Gaya 6 β Serverless & FaaS
- 9. Gaya 7 β Event-Driven Architecture
- 10. Gaya 8 β Modular Monolith
- 11. Gaya 9 β Edge-Cloud Hybrid
- 12. Gaya 10 β AI-Orchestrated Fabric
- 13. Decision Framework
- 14. Trade-off Matrix
- 15. Cross-Reference ke Vault
- 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
| Layer | Teknologi |
|---|---|
| Client | Windows 3.1/95, Mac OS, X11 |
| Network | NetBEUI, IPX/SPX, TCP/IP |
| Server | Novell NetWare, Windows NT, Unix |
| Protocol | RPC, NetBIOS, SMB |
| Middleware | ODBC, 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
| Aspect | Java EE | .NET |
|---|---|---|
| Container | App Server (WebLogic, JBoss) | IIS |
| Component | EJB, JPA, JMS | WebForms, WCF, ADO.NET |
| Transaction | JTA | MSDTC |
| Messaging | JMS (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
| Failure | Penyebab |
|---|---|
| ESB bottleneck | Semua traffic melalui hub |
| Protocol vendor lock-in (SAML/WS-*) | Standar kompleks, implementasi proprietary |
| BPEL spaghetti | Process kompleks jadi tidak maintainable |
| Service sprawl | 100 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
| Prinsip | Penjelasan |
|---|---|
| Single Responsibility | 1 service = 1 bounded context |
| Independent Deploy | Service deploy sendiri, tak ganggu service lain |
| Decentralized Data | Tiap service punya DB sendiri |
| Smart Endpoints, Dumb Pipes | Service berisi logic, transport sederhana |
| Failure Isolation | 1 service down β total system down |
| Observability | Logging, 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
| Pro | Con |
|---|---|
| Independent deployment | Distributed complexity |
| Polyglot (bahasa cocok per service) | Network latency / unreliable |
| Failure isolation | Data consistency harder |
| Domain-aligned teams | Operational 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
| Pro | Con |
|---|---|
| Zero ops β no servers managed | Cold start latency |
| Pay-per-invoke β cost zero untuk idle | Vendor lock-in (AWS Lambda β AWS ecosystem) |
| Auto-scaling tak terbatas | Function timeout (15 min) |
| Event-driven natively | Local testing kompleks |
8.3 Use Case Ideal
| Cocok | Kurang Cocok |
|---|---|
| Event processor | Long-running processes |
| API endpoint stateless | WebSocket |
| Scheduled task (cron) | Stateful workflow |
| Glue code antara service | Hot-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
| Prinsip | Penjelasan |
|---|---|
| Event as source of truth | Semua perubahan dicatat sebagai event |
| Eventual consistency | Service mungkin eventually consistent |
| CQRS | Separate read & write model |
| Pub/Sub | Producer tidak tau consumer |
| Idempotency | Receiver handles duplicate via event ID |
9.2 Topologi
[Producer] β [Event Bus (Kafka/Pulsar/RabbitMQ)] β [Consumer]
β
ββββ [Event Store] β [Replay] β [Audit]
9.3 Pattern Penting
| Pattern | Use Case |
|---|---|
| Event Sourcing | Replay-able history |
| CQRS | Different read/write scaling needs |
| Saga | Multi-service transaction |
| Outbox | Reliable event publish |
| Choreography | No orchestrator β emit + react |
| Orchestration | Central workflow engine (Temporal, Camunda, Step Functions) |
9.4 Trade-offs
| Pro | Con |
|---|---|
| Loose coupling β producer/consumer independent | Eventual consistency tricky |
| Replay-able history for audit/recovery | Schema evolution challenge |
| Natural for streaming analytics | Idempotency + dedup mandatory |
| Atomic single-source-o-truth | Higher 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
| Cocok | Kurang Cocok |
|---|---|
| Tim size 5-30 | Tim size 100+ |
| Domain bounded complex tapi tidak meledak | Domain yang sudah meledak |
| Single-region deployment acceptable | Multi-region mandatory |
| Startup stages, time-to-market critical | Established 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 Case | Edge Component | Cloud Component |
|---|---|---|
| Live video translation | Caption + translation | Heavy ML training |
| IoT predictive maintenance | Local classification | Fleet-wide learning |
| Multiplayer game | Sub-ms input | Matchmaking |
| CDN edge compute | Image opt, auth | Origin 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
| Risiko | Mitigasi |
|---|---|
| Hallucination β wrong action | Sandboxed execution + reversible actions |
| Cost blowup (LLM API calls) | Cost limiter, batching |
| Agent loop infinite | Max iteration + circuit breaker |
| Auditability | Logged action trace dengan reasoning |
Koneksi ke Vault:
- hierarchy-llm-ai-systems β Layer 5 (Agentic)
- agentic-ai-mcp-architecture-deepdive
- meta-agent-orchestration
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-pattern | Tanda |
|---|---|
| Distributed monolith | Microservices tightly coupled, deploy bareng |
| Big-bang microservices | Langsung extract dari monolith tanpa stabilitas |
| Premature FaaS | Cold-start hurts product |
| Edge-over-everything | Latency bukan bottleneck utama |
| Event-source everything | Read-before-write latency hurts |
14. Trade-off Matrix per Gaya
| Gaya | Complexity | Time-to-Market | Scalability | Vendor Lock | Team Size |
|---|---|---|---|---|---|
| Mainframe | High | Low | Vertical only | Total | 5-20 |
| Client-Server | Medium | Medium | Limited | Medium | 5-50 |
| 3-Tier | Low | High | Medium | Low | 5-100 |
| SOA | High | Low | Medium | High (ESB) | 50+ |
| Microservices | Very High | Medium (later fast) | Very High | Low | 50-500 |
| Serverless | Low | Very High | Auto | Very High | 1-50 |
| Event-Driven | High | Medium | Very High | Low | 20+ |
| Modular Monolith | Low-Medium | High | Medium | None | 5-30 |
| Edge-Cloud | High | Medium | High | Medium | 50+ |
| AI-Orchestrated | High | High (later fast) | Auto | Medium | Variable |
15. Cross-Reference ke Vault
| Layer | Catatan Vault |
|---|---|
| Era 1-2 | hierarchy-operating-systems, embedded-systems |
| Era 3 | cloud-infrastructure |
| Era 4 | hierarchy-infrastructure-evolution (planned), distributed-systems |
| Era 5 | distributed-systems, system-design, container-kubernetes-security-deepdive |
| Era 6 | hierarchy-infrastructure-evolution, cloud-infrastructure |
| Era 7 | hierarchy-llm-ai-systems (Layer 4 RAG), llmops-ai-infrastructure |
| Era 8 | hierarchy-software-engineering-paradigm |
| Era 9 | hierarchy-kernel-bypass-networking (smartNIC + edge compute) |
| Era 10 | hierarchy-llm-ai-systems, agentic-ai-mcp-architecture-deepdive, ai-comm-protocol-deep-dive |
References
- F. Buschmann et al. βPattern-Oriented Software Architecture.β Wiley, 1996.
- T. Erl. βService-Oriented Architecture: Concepts, Technology and Design.β 2005.
- S. Newman. βBuilding Microservices.β OβReilly, 2021.
- S. Newman. βMonolith to Microservices.β OβReilly, 2019.
- C. Richardson. βMicroservices Patterns.β Manning, 2018.
- M. Ford et al. βBuilding Evolutionary Architectures.β OβReilly, 2017.
- C. Born. βThe Cloud-Native Attitude.β 2020.
- AWS. βServerless Application Lens.β (2024).
- M. Kleppmann. βDesigning Data-Intensive Applications.β OβReilly, 2017.
- A. Chakrabarti. βEnterprise Service Bus.β 2009.
- B. Stopford. βDesigning Event-Driven Systems.β Confluent, 2018.
- S. Tilkov et al. βModular Monoliths.β (2023). https://simonbrown.je/
- Microsoft. βAzure Architecture Center.β https://learn.microsoft.com/azure/architecture/
- Red Hat. βWhat Is an Event-Driven Architecture.β (2024).
- Gartner. βHype Cycle for Cloud Platform Services.β (2025).