Multi-tenant deployments on UnityBase: lessons from 500K-user systems

May 11, 2026 · Blog · 5 min read

Implementing multi-tenant architectures for systems serving over 500,000 users introduces significant trade-offs between tenant isolation, operational overhead, and cost efficiency. For national-scale systems, such as state registries or large enterprise platforms, the choice between shared and siloed database models directly impacts data security, compliance, and scalability. Softline IT, leveraging its UnityBase low-code platform, has navigated these complexities across numerous deployments, including those supporting half a million concurrent users.

Tenant isolation models and their implications

The fundamental decision in multi-tenant architecture revolves around data isolation. Three primary models are commonly employed:

  • Shared database, shared schema: All tenants share the same database and tables, with a tenant identifier column distinguishing data.
  • Shared database, separate schemas: All tenants share the same database, but each tenant has its own dedicated schema within that database.
  • Separate databases: Each tenant has its own dedicated database instance.
Feature Shared database, shared schema Shared database, separate schemas Separate databases
Data Isolation Low (logical separation) Medium (schema-level separation) High (physical separation)
Operational Overhead Low Medium High
Cost Efficiency High Medium Low
Backup/Restore Granularity Difficult (tenant-level) Moderate (schema-level) Easy (database-level)
Schema Changes Global, impacts all tenants Schema-specific, impacts one tenant at a time Database-specific, impacts one tenant at a time
Security Vulnerability Higher risk of data leakage if queries are flawed Reduced risk, but shared database remains a single point of failure Lowest risk, complete physical separation

For high-stakes systems like national registries, our experience with UnityBase shows a strong preference for separate databases or, at minimum, separate schemas within a shared database. This is particularly true when dealing with diverse compliance requirements or highly sensitive personal data. While the operational overhead increases, the enhanced isolation and simplified disaster recovery for individual tenants often justify the cost.

Scaling data plane for half a million users

Achieving performance for 500,000 users, especially in read-heavy scenarios common for public-facing registries, demands careful data plane scaling. UnityBase’s ORM layer allows for flexible database interactions, enabling strategies such as read replicas and sharding. For instances where a single tenant might generate disproportionate load, or when geographic distribution is a factor, horizontal sharding of tenant databases becomes critical. We’ve implemented scenarios where specific high-volume tenants are assigned to dedicated database clusters, while smaller tenants share resources on other clusters. This dynamic allocation requires robust monitoring and automation, typically managed via Kubernetes for database instances and associated services.

Expert comment
In over 25 years of implementing ERP/ECM/BPM systems, we've observed how the complexities of data isolation in multi-tenant architectures directly correlate with operational costs. Specifically, for national-scale systems with hundreds of thousands of users, a well-considered balance between the data security of each client and the efficiency of shared resources is paramount for project success.

Co-founder, Softline IT, Member of the Supervisory Board, Intecracy Group

Access control and tenant management

Effective multi-tenancy relies heavily on a robust access control model. Within UnityBase, we leverage a combination of Role-Based Access Control (RBAC) and Attribute-Based Access Control (ABAC). RBAC defines permissions based on a user’s role within a specific tenant (e.g., ‘Tenant Administrator’, ‘Data Entry Clerk’). ABAC extends this by allowing fine-grained control based on attributes of the user, the data, or the environment. For example, a user might only be able to view documents created within their specific department within a tenant. Managing tenant onboarding and offboarding, including provisioning resources and configuring initial access policies, is automated to minimize human error and ensure consistency across hundreds of tenants.

Observability and operational challenges

Operating a multi-tenant system at scale introduces significant observability challenges. Aggregating logs, metrics, and traces across potentially hundreds of distinct tenant environments requires a centralized approach. We use Prometheus for metrics collection, Grafana for visualization, and a centralized ELK stack (Elasticsearch, Logstash, Kibana) for log aggregation. This allows our operations teams to quickly identify performance bottlenecks or security incidents specific to a tenant, or to pinpoint systemic issues affecting multiple tenants. Proactive alerting on tenant-specific resource consumption (CPU, memory, database connections) is essential to prevent noisy neighbor scenarios and ensure equitable resource distribution.

Building multi-tenant enterprise systems, especially at the scale of 500,000 users, necessitates a meticulous approach to data isolation, scalability, and operational management. The trade-offs between cost, security, and performance are significant, and the choice of architecture must align with the specific compliance and business continuity requirements of each deployment. Leveraging platforms like UnityBase allows for the rapid implementation of these complex architectures, but the underlying engineering principles remain paramount for long-term success and resilience.