Problem Statement: One Engine, Ten Thousand Brands
Frames the product as a multi-tenant collaborative document engine where tenancy, branding, and identity are architectural dimensions, not UI settings.
Problem statement
Design a hosted office suite that lets thousands of independent tenants offer document, spreadsheet, and presentation editing with real-time co-authoring to their own users, while every tenant brands the experience: custom subdomain or full custom domain, color scheme, logo, fonts, email sender identity, authentication provider, and optional plugin catalog. The platform operator builds the engine once; each tenant resells it as their own product.
This is not Google Docs with a logo swapped. In a white-label system, tenancy is load-bearing in every layer. The document room that merges concurrent edits must know which tenant it serves. The TLS certificate on docs.acme-bank.com belongs to the tenant, not the platform. The identity token a user presents was minted by the tenant's own IdP. The plugin iframes must be sandboxed under a per-tenant content security policy. A theme bundle is a signed, versioned artifact, not a CSS file someone uploaded. Get tenancy wrong in one layer and you get cross-tenant data leaks, brand impersonation, or a document from tenant A appearing inside tenant B's search index.
Why this problem is distinctive
A single-brand collaboration product such as Google Docs or Figma solves one hard problem extremely well: concurrent editing with low latency. A white-label suite must solve that problem and then multiply it by the tenant dimension across five additional axes:
- Identity federation. Every tenant plugs in its own OIDC, SAML, or LDAP source. The platform must translate heterogeneous identity into one internal principal model without ever trusting a tenant-supplied user id blindly.
- Domain and edge. Each tenant serves from its own hostname, which means per-tenant TLS issuance, DNS validation, CDN routing, and cache keying that never mixes tenants.
- Theming as an artifact pipeline. Brand kits (colors, logos, fonts, email templates) are uploaded, validated, scanned, versioned, signed, and distributed through a CDN. They are release artifacts, with canaries and rollback.
- Isolation with economics. Thousands of tenants share one engine, but a noisy tenant, a malicious plugin, or a compromised admin console must never reach another tenant's documents.
- Deployment parity. Some tenants will demand on-premises or single-tenant hosted cells, so the architecture must be portable without forking the codebase.
The four architectural planes
- Collaboration plane: WebSocket room servers that hold the live document state, merge concurrent operations, and broadcast presence. This plane is latency-critical and per-document.
- Content plane: durable storage for document bodies, operation logs, snapshots, version history, media, comments, and exports. This plane is correctness-critical.
- Tenant plane: tenant registry, entitlements, brand kits, custom domains, identity federation, quotas, metering, and admin consoles. This plane is configuration and governance.
- Extension plane: plugin manifests, sandboxed runtimes, capability tokens, and the marketplace review pipeline. This plane is where third-party risk enters.
A strong answer keeps these planes separate. The collaboration plane must keep working when the tenant plane's admin console is down. A plugin crash must never corrupt the document it is embedded in. A theme release must never require restarting a live editing session.
Public operating baseline versus design assumptions
Public figures set the ceiling of the category. Microsoft reported that Microsoft 365 commercial paid seats passed 430 million in 2024, and Google has publicly stated Workspace surpassed 3 billion users in 2023. In the white-label segment, OnlyOffice publicly claims over 20 million users of its open-source Document Server, and Collabora Productivity ships Collabora Online, a LibreOffice-derived server, to enterprises and governments that require self-hosted, brandable document editing. These numbers are context, not our targets.
For capacity planning, this answer explicitly assumes a mature platform with 12,000 active tenants, 4.2 million daily active users, 120,000 collaborators online at peak, and roughly 380,000 documents concurrently active at peak. Unless a number carries a citation, it is a stated design assumption, target, or budget, never a claim about any company's private architecture.
Key Highlights
- •Tenancy is load-bearing in collaboration, content, identity, edge, theming, and plugins — not just a UI skin.
- •The four planes are collaboration, content, tenant, and extension; each degrades independently.
- •Microsoft 365 passing 430M paid seats and Workspace passing 3B users define the category ceiling; our fleet numbers are explicit assumptions.
- •A white-label suite solves concurrent editing, then multiplies it by identity federation, custom domains, theme artifacts, isolation, and on-prem parity.
- •Cross-tenant leakage in any layer — cache, index, TLS, or token — is a platform-ending defect.
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "I will separate the collaboration engine from the tenancy layer, because they scale and fail differently."
- "Before drawing boxes, let me define what belongs to the platform operator and what belongs to each tenant."