Documentation & System Architecture

Xetuu ERP Documentation Hub

Authoritative manuals, API references, architecture guides, and deployment checklists.

Getting Started & Architecture

Core Module Operations

API Reference & Webhooks

Enterprise SLA & Support

Need customized ERP migration or on-premise dedicated cloud assistance? Our engineers are available 24/7.

Contact Enterprise Support
Getting Started/workspace-architecture6 min read

Multi-Tenant Architecture & Workspace Isolation

How Xetuu isolates data per tenant using dedicated PostgreSQL schemas and edge proxy routing.

Overview of Xetuu Architecture

Xetuu ERP operates a modern multi-tenant cloud infrastructure engineered for zero-trust security and data sovereignty:

1. **Edge Proxy Layer (apps/web/src/proxy.ts)**: - Inspects inbound hostnames (e.g. tenant-name.xetuu.com or custom domain). - Validates tenant status via edge caching and rewrites requests directly to isolated tenant routes (/tenant/[slug]/...). - The root domain (xetuu.com) automatically routes to the enterprise marketing site, documentation, and developer portal.

2. **Database Isolation Strategy**: - Multi-tenant data segregation with individual tenant schemas or dedicated databases for enterprise plans. - Master Control Plane manages provisioning, billing, health telemetry, and global modules.

3. **High-Availability & Regional Residency**: - Zero-latency cross-region replication for enterprise tier customers. - 99.99% SLA backed by automated container orchestration and distributed caching.