9 ta mustaqil mikroservis: domain-driven design, hexagonal arxitektura, Zero Trust security, gRPC inter-service, REST/WebSocket external, Kubernetes auto-scaling.
Tarmoq paketidan to yakuniy qaror chiqarilgunga qadar
[Tarmoq paketi]
│
▼
┌────────────────────────────┐ raw_packet (Kafka)
│ 1. Network Capture │ ──────────────────┐
│ C++ + Rust + eBPF/XDP │ │
│ 10 Gbit/s, P95 < 12ms │ │
└────────────────────────────┘ │
│ │
▼ │
┌────────────────────────────┐ protocol_decoded │
│ 2. DPI Engine │ ──────────────────┤
│ Rust + nDPI │ │
│ TLS 1.3, JA3, Modbus, │ │
│ DNP3, IEC 61850, OPC UA│ │
└────────────────────────────┘ │
│ ▼
▼ ┌──────────────┐
┌────────────────────────────┐ │ Kafka │
│ 3. Session Manager │◄───────────┤ (event bus) │
│ Go + Redis │ └──────┬───────┘
│ JWT, concurrent, idle │ │
└────────────────────────────┘ │
│ session_features │
▼ │
┌────────────────────────────┐ │
│ 4. ML Pipeline │ ──────────────────┤
│ Python + PyTorch │ │
│ RF + XLM-RoBERTa │ │
│ Bayes α=0.35 │ │
└────────────────────────────┘ │
│ classification + confidence │
▼ │
┌────────────────────────────┐ │
│ 5. Anomaly Detector │ ──────────────────┤
│ Python + sklearn │ │
│ Isolation/STL/UBA │ │
└────────────────────────────┘ │
│ anomaly_score │
▼ │
┌────────────────────────────┐ │
│ 6. Decision Engine │ ──────────────────┤
│ Go + AHP + OPA Rego │ │
│ 8 kriteriya, GDPR/PCI │ │
│ allow/alert/redact/block │
└────────────────────────────┘ │
│ action │
▼ ▼
┌────────────────────────────┐ ┌──────────────────────┐
│ 7. Alert & Audit │ ◄────────┤ PostgreSQL + ES │
│ Go + Kafka + Notifier │ │ (incidents, audit) │
│ Slack/Telegram/Email │ └──────────────────────┘
└────────────────────────────┘
│
▼
┌────────────────────────────┐ REST/WS ┌──────────────────────┐
│ 8. Admin API │ ─────────► 9. Admin Web Panel │
│ Go + chi + JWT │ │ Vue 3 + Element Plus│
│ Multi-tenant RLS │ │ superadmin.cs.uz │
└────────────────────────────┘ └──────────────────────┘
Kernel-level paket ushlash. DPDK 10 Gbit/s, P95 < 12 ms.
TLS 1.3 metadata, JA3/JA3S, Modbus/DNP3/IEC 61850/OPC UA industrial.
Random Forest screening + XLM-RoBERTa fine-tune. Bayes ensemble.
AHP/MCDM 8 kriteriya + GDPR/PCI/SOX/O'zR compliance Rego.
JWT lifecycle, concurrent limit (5), revocation, device binding.
Isolation Forest + STL + UBA (per-user) + Mahalanobis multivariate.
Deduplication + Slack/Telegram/PagerDuty/SMTP notifier, ES search.
REST + gRPC kirish nuqtasi. Multi-tenant RLS, JWT auth, audit.
Element Plus + Pinia + ECharts. Real-time WebSocket dashboard.
Production-grade monitoring stack
Prometheus 15s scrape + 11 SLO alert + 6 KPI Grafana dashboard
Grafana Loki + Promtail (Docker + K8s + audit_log shipping)
Jaeger + OpenTelemetry (OTLP gRPC) — har request trace