🌐 VI / EN
lean.vn — LeanERP và hệ sinh thái AI
Technical Architecture Overview

LeanERP Core Architecture Multi-Tenant SaaS Platform

Hệ sinh thái 45+ modules, 6 ứng dụng cốt lõi — kiến trúc microservices-native, event-driven, horizontal scaling. Được thiết kế cho enterprise Việt Nam: data sovereignty, ISO 27001 ready, AI-embedded từ core.

0%
Uptime SLA
Multi-AZ deployment
0ms
P95 Latency
API Gateway cached
0+
Concurrent Users
Per tenant isolate
0+
Modules
Hot-pluggable
LEAN.VN · AI ECOSYSTEM GUIDE

Hiểu đúng kiến trúc.
Chọn đúng hệ sinh thái.

Hỏi AI để kết nối module, app, dữ liệu và lộ trình LeanERP phù hợp với vai trò của doanh nghiệp.

Layered Architecture

Mỗi layer tách biệt trách nhiệm, deploy độc lập, scale độc lập. Zero shared state giữa tenants.

L1

Presentation Layer

Multi-channel Frontend
⚛
React 18 + TypeScript SSR via Next.js, PWA enabled
📱
React Native / Expo iOS/Android app từ cùng codebase
🔌
Widget SDK Embed dashboard vào portal khách
📊
Grafana + Custom Panels Real-time ops dashboards
Bundle: 180KB gzipped TTI: < 2.1s Lighthouse: 98/100
L2

API Gateway & Mesh

Traffic Control & Security
🚪
Kong Gateway (3 nodes) Rate limit, auth, transform
🔐
OAuth 2.1 + OIDC Keycloak SSO, MFA, SCIM
🌐
Service Mesh (Istio) mTLS, circuit breaker, retry
📈
GraphQL Federation Apollo Router, unified schema
Throughput: 50k req/s P99: < 50ms Auth: JWT RS256 + JWKS
L3

Core Microservices

Domain-Driven, Event-Sourced
🏭
LeanERP Core Multi-tenant kernel, module registry, RBAC engine, audit log
Go 1.22 · gRPC · 12 services
📦
6S Engine Card workflow 7-state, QR asset, Pareto, Kanban, PWA sync
Go + WASM plugins · 8 services
⚙️
TPM/OEE CIL scheduler, predictive MTBF, digital twin, MQTT ingest
Python + Rust · Time-series DB
✅
TQM/CAPA 8D, NCR workflow, risk matrix (FMEA), audit trail immutable
Go · Event store · 6 services
📊
Lean/DMAIC VSM engine, waste classifier, ROI calc, project portfolio
TypeScript · D3.js · 4 services
🎯
BSC/OKR Strategy map, KPI cascade, traffic-light, initiative tracking
Go · GraphQL · 5 services
🧠
AI Platform RAG pipeline, 9Router LLM gateway, fine-tuning, eval harness
Python · FastAPI · Qdrant · 7 services
📚
Knowledge/LMS SOP management, LMS, video library, Wiki sync, search
TypeScript · Meilisearch · 4 services
Total: 46 services Languages: Go, Python, TypeScript, Rust Protocol: gRPC + REST + GraphQL
L4

Data & Observability

Unified Data Plane
🐘
PostgreSQL (Citus) Multi-tenant sharding, RLS, PITR
⚡
Redis Cluster Cache, sessions, pub/sub, rate limit
📡
Apache Kafka (MSK) Event backbone, 30+ topics, exactly-once
📈
ClickHouse OLAP, time-series, 100B+ events/mo
🔍
Qdrant Vector DB RAG embeddings, hybrid search, HNSW
📊
Grafana Stack Prometheus, Tempo, Loki, Pyroscope
Data: 2.4TB hot, 15TB cold Retention: 7yr audit, 13mo metrics Compliance: ISO 27001, SOC 2, VN data law

45+ Modules — Technical Specifications

Mỗi module hot-pluggable, versioned independently, defined by manifest (OpenAPI + JSON Schema).

12-Week Standardized Rollout

Quy trình có thể lặp lại, đo lường được, đã validate tại 60+ doanh nghiệp sản xuất Việt Nam.

01

Tuần 1-2: Discovery & Baseline

14 ngày
  • AS-IS Mapping: Value Stream Mapping 3 cấp độ (Enterprise → Factory → Line)
  • Data Audit: Schema discovery, data quality scoring, migration complexity
  • Baseline Metrics: OEE, MTTR, Changeover, Defect Rate, On-time Delivery, Labor Productivity
  • Stakeholder Alignment: RACI matrix, success criteria, risk register
  • Technical Prep: Infra provisioning (Terraform), tenant bootstrap, SSO config, network policies
📋 Assessment Report 📊 Baseline Dashboard 🗺️ Migration Plan ⚙️ Tenant Provisioned
02

Tuần 3-4: Configuration & Integration

14 ngày
  • Core Config: Organization hierarchy, user/role/location, number series, UoM, currency
  • Module Activation: Enable 6 core apps per roadmap, configure workflows, business rules
  • Data Migration: ETL pipeline (Airbyte), master data load, historical 24 months, validation checksums
  • Integrations: ERP legacy (REST/SOAP/CSV), MES/OPC-UA, IoT gateways, SSO (SAML/OIDC)
  • Test Harness: Cypress E2E, Postman contract tests, k6 load scripts, chaos engineering baseline
🔧 Config Spec Sign-off 📦 Data Validated 🔌 Integrations Live 🧪 Test Suite Passing
03

Tuần 5-8: Pilot & Train-the-Trainer

28 ngày
  • Pilot Launch: 1-2 factory sites, super-user cohort (15-20 people per site)
  • Train-the-Trainer: 40h curriculum, hands-on labs, certification exam, SOP co-creation
  • Feedback Loops: Daily standups, weekly retrospectives, Jira issue triage, config iteration
  • Metrics Tracking: Adoption rate, task completion, defect density, NPS weekly pulse
  • Go/No-Go: Week 8 gate review — sign-off from ops, IT, finance, C-suite
👥 Certified Trainers 📚 SOP Library v1.0 📈 Pilot KPI Report ✅ Go/No-Go Decision
04

Tuần 9-12: Scale & Optimize

28 ngày
  • Phased Rollout: Wave-based deployment (3 factories/wave), feature flags control
  • Hypercare: 30-day dedicated support, 4h SLA critical, daily war room
  • Optimization: Query tuning, index review, cache warming, capacity planning
  • ROI Measurement: Month 1 vs baseline, OEE delta, labor savings, defect reduction
  • Handover: Runbook delivery, on-call rotation, quarterly business review cadence
🏭 Full Deployment 💰 ROI Realized 📖 Runbooks Delivered 🔄 Steady State Ops
0 days
Total Calendar Days
0+
Core Applications
0+
Factories Onboarded
0x
Avg ROI Year 1

Measured Outcomes & Certifications

Không marketing — chỉ số thực từ production, audit bên thứ 3, và customer references.

📈

Production Performance

0%
API Availability (12m)
0ms
P95 Latency (global)
0%
Error Rate (5xx)
0
Req/s Peak
Xem Grafana Dashboard ↗
🏭

Customer Outcomes (Aggregated)

0%
OEE Improvement
0%
Downtime Reduction
0%
Defect Rate Drop
0x
ROI Year 1
Case Studies ↗
🛡️

Security & Compliance

✓
ISO 27001:2022 Certified — Scope: SaaS Platform Operations
✓
SOC 2 Type II Annual audit — Security, Availability, Confidentiality
✓
Data Localization Viettel IDC Hà Nội — Vietnam data sovereignty
✓
Penetration Test Quarterly (CrowdStrike), 0 critical findings 2024
✓
Business Continuity RPO < 1h, RTO < 4h, DR tested quarterly
⏳
ISO 27017/27018 Cloud security controls — In progress, Q2 2025
⚡

Platform Scale

Active Tenants 67 (23 enterprise, 44 SME)
Daily Active Users 12,400+ across all modules
Events Processed/Day 2.8B (Kafka + ClickHouse)
API Calls/Day 45M (REST + GraphQL)
Storage (Hot) 2.4 TB (PostgreSQL + Redis)
Storage (Cold) 15 TB (ClickHouse + S3)
Vector Dimensions 1,024 (bge-m3), 15M vectors
ML Inferences/Day 850k (RAG + predictive)

API Reference & Live Explorer

OpenAPI 3.1 spec, GraphQL introspection, SDKs (TypeScript, Python, Go), sandbox environment.

OAuth 2.1 Client Credentials hoặc JWT Bearer. Get sandbox credentials →

Technical Partnership

Chúng tôi tìm kiếm partner công nghệ: system integrators, MSPs, ISVs muốn embed LeanERP vào giải pháp của mình. Revenue share, co-sell, white-label — discuss with our platform team.

CICC DIGITAL ECOSYSTEM

Tiếp tục hành trình cùng hệ sinh thái CiCC

Từ tư vấn và đào tạo đến LeanERP và AI ứng dụng, chọn đúng nền tảng cho bước tiếp theo của doanh nghiệp.

Hỏi LeanERP AI?