← Portfolio cá nhân Knowledge Base v1.0
Architecture Documentation

ERP/MES
Knowledge Base

Tài liệu phân tích kiến trúc phần mềm cho hệ thống ERP/MES — từ lý thuyết đến thiết kế thực tế với sơ đồ tương tác.

7
Tài liệu
21
Sơ đồ Mermaid
5
Bounded Contexts
2026
Cập nhật mới nhất
Tài liệu
Hoàn thành

Kiến trúc ERP/MES — Phân tích & Đề xuất 2026

Phân tích toàn diện các kiến trúc phần mềm, so sánh ưu nhược điểm, và đề xuất kiến trúc Composable với Event-Driven + CQRS/ES cho hệ thống ERP/MES hiện đại.

Modular Monolith Microservices CQRS/ES ISA-95 Kafka IT/OT
7 phần 7 sơ đồ 22/07/2026
Hoàn thành

Database Design — Event Store & Read Models

Schema đầy đủ: Event Store, Snapshot, Outbox, Read Model Projections cho 22 modules, Sensor OEE tables (range-partitioned) và Redis cache strategy.

PostgreSQL Event Store Sensor OEE Redis
7 phần 7 sơ đồ 22/07/2026
Hoàn thành

Domain Events Catalog — Commands & Events

Danh mục đầy đủ Commands, Domain Events, Queries và Sagas cho 5 Bounded Context: Production, Quality, Maintenance, Inventory, Finance.

Domain Events Commands Sagas Kafka Topics
8 phần 2 sơ đồ 22/07/2026
Luôn cập nhật

Project Checklist — Toàn bộ hạng mục

Master checklist đầy đủ mọi hạng mục: Planning, Source/CI/CD, Domain, Application, Infrastructure, API, Testing, Deployment, Frontend, Operations. Trạng thái thực tế.

✅ Done 🟡 In Progress ⬜ Todo
11 nhóm 22/07/2026
Hoàn thành

Production BC — DDD + C# .NET 9 Implementation

Thiết kế DDD đầy đủ + source code thật: ProductionOrder Aggregate, Value Objects, Domain Events, CQRS Handlers. Điểm khởi đầu implementation.

DDD C# .NET 9 CQRS Event Sourcing
7 phần 15 files C# 22/07/2026
Hoàn thành

Seed Engine — Khởi tạo hệ thống 1 lệnh

Kho dữ liệu nền 4 ngành: Trang sức, Xi măng, Sắt thép, Giày thể thao. Chạy node scripts/seed.js --industry=jewelry để khởi động hệ thống đầy đủ.

Jewelry Cement Steel Footwear
4 ngành ~170 bản ghi/ngành 22/07/2026
Hoàn thành

DevOps & Infrastructure — K8s · CI/CD · Monitoring

Kubernetes cluster layout, Blue-Green deployment, GitHub Actions CI/CD, Prometheus/Grafana observability stack và production checklist.

Kubernetes CI/CD Prometheus Helm
7 phần 5 sơ đồ 22/07/2026
Các khái niệm cốt lõi
Modular Monolith
Kiến trúc module hóa trong một deployment
Event-Driven
Giao tiếp qua Domain Events & Event Bus
CQRS
Tách biệt Command & Query
Event Sourcing
Lưu chuỗi sự kiện thay vì trạng thái
ISA-95
Chuẩn kiến trúc L0–L4 cho MES/ERP
IT/OT Convergence
Tích hợp Shop Floor với Enterprise
DDD
Domain-Driven Design & Bounded Context
Saga Pattern
Distributed transactions across services