Skip to content

System Architecture & Modules

SyncBoot is structured with a 4-layer enterprise architecture and 5 functional worker roles to ensure reliability, security, and maintainability.


4-Layer System Architecture


5 Functional Worker Specifications

1. Domain Operator (Domain CRUD Operations)

  • Role: Comprehends domain entity models to execute authorized data manipulations (CRUD) and business transactions.
  • Policy: Prohibited from directly modifying source code or DB schema; operates strictly via pre-compiled APIs and MyBatis Mappers.

2. Schema Architect (Schema Engineering)

  • Role: Analyzes domain requirements to generate 3-File DDL scripts and visual ERD structures.
  • Policy: Flags high-impact schema modifications (such as table drops or column truncations) and requires developer approval before applying changes.

3. Security IAM (RBAC & Multi-Tenant Isolation)

  • Role: Enforces menu, button, and API access controls and isolates tenant datasets.
  • Capabilities: Supports dynamic data masking for PII columns and automated Row-Level Security (RLS) SQL injection.

4. MCP Dispatcher (Standard Protocol Integration)

  • Role: Exposes standardized Tools and Resources over HTTP SSE following the Model Context Protocol (MCP) specification.
  • Log Collection: Aggregates distributed cluster error logs during incidents to facilitate diagnostics.

5. Batch Orchestrator (Batch & Job Scheduler)

  • Role: Dispatches high-volume data settlement and routine scheduled tasks via Quartz and Spring Batch.
  • Resilience: Utilizes Redis distributed locks and exponential backoff retry mechanisms upon execution failures.

Technology Stack

CategoryTechnologyVersion / Details
Backend CoreJava, Spring Boot 3Java 17/21, Spring Boot 3.2.x
AI FrameworkLangChain4jlangchain4j-spring-boot-starter v0.35+
ORM / DataMyBatis-Plus, Spring Data JPAHikariCP, MySQL 8.0, PostgreSQL
ProtocolModel Context Protocol (MCP)HTTP SSE / JSON-RPC 2.0
Frontend UIVue 3, Vite, TypeScriptAnt Design Vue 4.x, Pinia, Vue Router
Batch / CacheSpring Batch, Quartz, RedisRedis 7.x, Lettuce

Last updated: