Trong trang này

Kiến trúc Astra: mọi lệnh ghi đi qua một engine

Client (giao diện Desk, app di động và AI agent qua MCP) gọi vào một server Quarkus. Request đi qua REST API và kernel gắn tenant vào DocType engine, engine ghi xuống PostgreSQL dưới row-level security.

Trong hình có gì

  • Kernel và DocType engine: một bảng JSONB chứa mọi DocType; overlay thêm trường theo tenant mà không cần migration.
  • App: Java và YAML thuần trên astra-spi, gắn vào đường ghi (CMS, Express, HRM, STMS).
  • Wasm host: công thức nghiệp vụ riêng của từng tenant chạy trong sandbox có giới hạn thời gian.
  • Giao dịch: Seata (AT và TCC) cùng Redis điều phối các lệnh ghi trải qua nhiều service.
  • Định danh: Keycloak với OIDC, SAML SSO và cấp phát SCIM.
  • Worker CDC: worker Rust đọc write-ahead log và giữ các bản sao đọc luôn cập nhật.

Bản tương tác là astra-architecture.vi.html. Các bài viết đi sâu từng phần: DocType, đa tenant, Seata, Keycloak, Wasm và CDC.

Tài nguyên AI

Cung cấp cho trợ lý AI tài liệu của công ty hiện tại, các trang Markdown và đặc tả OpenAPI.

Nguồn
Help me integrate with AstraCMS Docs (Không áp dụng).
Read https://zerohost-b69e460a-fdedfaced775e42578cf55c1346b15d0.zhst.app/astra-cms/vi/llms.txt first, then https://zerohost-b69e460a-fdedfaced775e42578cf55c1346b15d0.zhst.app/astra-cms/vi/llms-full.txt and https://zerohost-b69e460a-fdedfaced775e42578cf55c1346b15d0.zhst.app/astra-cms/vi/openapi.json.
Use only the documented endpoints, authentication, schemas and examples. Ask me about my application stack and the operation I need before writing code. Identify any documented limitations or inconsistencies. Keep credentials in environment variables, never in client-side code. Use the sandbox for examples; do not execute requests or change production data without my explicit approval.
Documentation locale: vi. API language value: vi.
Current page: https://zerohost-b69e460a-fdedfaced775e42578cf55c1346b15d0.zhst.app/astra-cms/vi/architecture.