Service · Web development

Custom multi-tenant platform development.

One codebase, many customers or brands: neatly separated, manageable at scale and customisable per tenant. We build multi-tenant platforms for SaaS companies, franchise organisations and groups that want to run multiple business units in a single system.

Data isolationTenant onboardingBranding per tenantFeature flags

Multi-tenancy is an architectural decision, not a feature.

A multi-tenant platform runs a single application instance on which multiple customers ("tenants") work separately from one another. Each tenant sees only its own data, its own branding and its own feature set, while your operations team has one codebase, one deployment and one management cycle. That distinction is fundamental to any SaaS business model.

The topic is often confused with multi-tenancy in real estate (a building with multiple tenants). That is a different domain, for which we refer you to application management and facility applications. On this page we are talking about multi-tenant software architecture: how you build one platform that serves ten, a hundred or a thousand customers at the same time, without their data, performance or branding getting in each other's way.

We build custom multi-tenant platforms. Not a white-label SaaS template, but an architecture that fits your growth path, your compliance requirements and the way your tenants actually work. With more than ten years of experience in custom business software, we know the pitfalls: query leakage between tenants, noisy-neighbour incidents, an unmanageable feature-flag jungle or an onboarding flow that doesn't keep pace with your commercial growth.

We work for clients in SaaS, financial services, healthcare, e-commerce and the public sector. Every type of tenant base, from a handful of enterprise customers to thousands of self-service accounts, calls for a different answer. So the first conversation isn't about technology but about your tenant reality: who your tenants are, how many you'll have, and how they differ from one another.

Three multi-tenant architectures.

The fundamental choice that shapes your platform is how far you isolate data between tenants. Each option has its own trade-offs in cost, compliance and scalability. We advise on which approach fits in the first architecture session.

Lightest isolation · most scalable

Shared schema

All tenants share one database and one schema; separation is handled through a tenant_id column in every table. It's the cheapest to build and manage, and scales easily to thousands of tenants. It does require strict row-level security, disciplined querying and good monitoring to rule out data leakage.

tenant_id columnRow-level securitySingle deployBest for SaaS
Middle ground · good balance

Schema-per-tenant

One database server, one schema per tenant. Data is physically separated, queries don't need to carry a tenant_id, and backup or restore works per tenant. A good approach for a few dozen to a few hundred tenants; beyond that, managing the schemas becomes heavy.

Strong isolationBackup per tenantMigration orchestrationConnection pooling
Maximum isolation · compliance-grade

Database-per-tenant

Each tenant runs on its own database, sometimes even its own cloud account. Maximum isolation, simple data residency per country, and stringent compliance requirements become achievable. It's the most expensive to operate and relatively limited in the number of tenants it scales to, but it's the right model for banks, insurers and sensitive medical data.

Data residencyOwn encryption keysStrict compliancePer-tenant tuning

What a multi-tenant platform needs to do.

Architecture is just one layer; operational reality is broader. A multi-tenant platform lives or dies by the details around onboarding, isolation and the noisy-neighbour problem. Here are the building blocks that appear in every platform.

For billing, subscriptions and invoicing, we work as standard with our subscription management approach. For the broader infrastructure, we build on cloud-native platform development.

  • Tenant onboardingSelf-service signup or an internal admin flow to create tenants, including seed data, default settings and welcome emails.
  • Data isolationRow-level security, encryption keys per tenant where needed, and query middleware that prevents a developer from accidentally working across tenants.
  • Branding and themingEach tenant gets its own logo, colour palette, email templates and, optionally, a custom domain, without needing a separate deploy.
  • Feature flags per tenantWhich functionality does which tenant see? A good flag layer lets you show new features to a single pilot tenant before rolling them out more widely.
  • Performance isolationThe noisy-neighbour problem: one heavy tenant must not slow down the rest. Per-tenant rate limits, query quotas and, optionally, dedicated workers.
  • Backup and restore per tenantA customer must be able to restore their own data to yesterday without affecting anyone else. A shared backup file doesn't meet this need.
  • Audit trail per tenantWho did what within which tenant? Demonstrable logging for compliance and for your own support team.
  • GDPR and data residencyRight to erasure per tenant, data export in a machine-readable format, and, for European data residency, a firm guarantee that data never leaves the EU.
  • Tenant-aware logging and monitoringLogs and metrics are filtered by tenant, so an incident affecting one tenant doesn't get lost in the noise of all the others.
  • Custom domain supportA tenant wants to run under their own domain (portal.clientbrand.com). We handle DNS validation, TLS certificates and routing automatically.
  • Multi-tenant application managementThe operations layer around it: testing deployments against multiple tenants, zero-downtime schema migrations and a control panel for your management team.
  • Integrations per tenantEach tenant can activate their own integrations with external systems, such as their own CRM, email provider or accounting software. See also our smart API integrations.

When multi-tenant is the right choice.

We usually see six patterns where a multi-tenant platform adds real value. If you recognise one of these situations, we'd be happy to talk it through.

SaaS

One codebase, many customers

You're building a SaaS product and don't want to deploy, monitor and update a separate instance for every customer. One platform with N tenants is the entire business model.

Franchise

Central system, local autonomy

A franchise chain where every branch wants its own workspace, reporting and branding, while head office wants to manage a single platform with consolidated data.

Group

Subsidiaries under one umbrella

A holding company or group whose subsidiaries each have their own brand and processes, but share a single HR, finance or operations platform. Consolidated reporting suddenly becomes straightforward.

White-label

Reselling to customers

You supply software that your customers resell to their own customers. Every reseller has their own branded portal, their own pricing and their own sub-tenants beneath them.

Marketplace

Sellers in a single marketplace

A platform where various suppliers, makers or service providers offer their products and services. Every seller has their own products, orders and dashboards, while the marketplace oversees the whole.

Multi-brand

A portfolio of brands on one platform

Banks, insurers and consumer brands with multiple labels that run the same processes internally but are presented differently externally. One application layer, multiple customer-facing identities.

Multi-tenant application management is a discipline in its own right.

Building a multi-tenant platform is one thing; keeping it running in production for dozens or hundreds of tenants is another. Multi-tenant application management covers the operational layer that ensures a new release doesn't break a single tenant, that a database migration rolls out across all tenants without downtime, and that an outage at tenant A doesn't get lost in the noise of tenants B through Z.

In practice, this means tenant-aware monitoring (which tenant is experiencing latency problems?), per-tenant deployment strategies (canary releases where you first move one pilot tenant to the new version before rolling out widely), schema migrations with version skipping (old and new code versions can temporarily coexist), and a control panel where your management team can step in per tenant on an ad-hoc basis: temporarily disabling features, adjusting rate limits or starting a data export.

For the broader topic of outsourcing application management we refer you to the dedicated page, but a multi-tenant context adds a layer that generic application management lacks. We build that layer in as standard and can handle the management for you, or hand it over to your own ops team together with the relevant runbooks.

Not sure about a large project yet?

Test your idea first: a working prototype in 1 day

With OneDayBuild, we make your idea tangible in a single day for €1,150, so you know whether further development is worth the investment. Decide to go ahead with the full build? Then we deduct the cost in full.

View OneDayBuild →

How a multi-tenant project works.

1

Architecture session

We map out how many tenants you expect, which compliance requirements apply, how sensitive the data is and how you want to onboard tenants. At the end you get a well-founded recommendation for shared schema, schema per tenant or database per tenant.

2

Scope and pilot tenant

We define a first workable scope: which core functionality needs to be in place, and which pilot tenant goes live first. We'd rather make a platform genuinely productive for one tenant than deliver a half-finished solution for ten.

3

Building in sprints

A working build every few weeks, with the onboarding, isolation and branding layers added step by step. We test early with multiple test tenants to rule out noisy-neighbour issues and data leakage before we go live.

4

Rollout per tenant

A phased rollout: first the pilot, then a second and third tenant, then a broad launch. This keeps incidents small and lets your management team learn along the way. After that comes ongoing maintenance, further development and adding new tenants as routine work.

The technology we build with.

We're not dogmatic about any one stack. The choice of framework, database and cloud platform depends on what your team already has experience with, which compliance requirements apply and what scale we expect. We do have preferences, though: the combinations below have been proven in a multi-tenant context.

For hosting, we usually work with the three major providers (AWS, GCP, Azure), or with a Dutch provider such as TransIP or Hostnet if data residency requires it. For the wider infrastructure, we build on our cloud-native platform development.

  • BackendNode.js (NestJS, Express), Python (Django, FastAPI), .NET or Java, depending on your team. For multi-tenancy, we build tenant context in as a first-class concept via middleware.
  • DatabasePostgreSQL (with row-level security for a shared schema, or native schema isolation), MySQL or MongoDB for specific use cases. Per-tenant encryption keys via AWS KMS or Azure Key Vault.
  • FrontendReact, Vue or Svelte, with a theming layer that adapts CSS variables, logo and email templates per tenant without a redeploy.
  • Auth and identityAuth0, Keycloak, Cognito or your own identity server. SSO per tenant (Azure AD, Google Workspace, Okta) alongside your own accounts is possible.
  • ObservabilityOpenTelemetry, Grafana, Datadog or Sentry, always with a tenant label on metrics, traces and errors so that filtering per tenant is possible by default.
  • Feature-flag layerLaunchDarkly, Unleash or a lightweight solution of your own in the database. For B2B SaaS, often a custom solution so that features can be switched on or off per tier and per individual tenant.
  • Billing integrationStripe, Mollie or your own billing layer, linked to the tenant and the feature tier. See also subscription management platform.
  • CI/CD and deploymentsGitHub Actions or GitLab CI, with canary releases per tenant, automatic rollback when error rates rise and zero-downtime database migrations.

Frequently asked questions.

What clients want to know before we start on a multi-tenant platform.

Which architecture do we choose: shared, schema-per-tenant or database-per-tenant?
That depends on three things: how many tenants you expect (ten or thousands), how sensitive the data is (ordinary B2B or medical/financial data) and how strict the compliance requirements are (GDPR only, or also NEN 7510 / DNB supervision). For classic SaaS with many small tenants, we almost always choose a shared schema. For banks, insurers and healthcare, we tend to recommend database-per-tenant. Schema-per-tenant is the pragmatic middle ground for a few dozen to a few hundred business tenants.
How do you guarantee data isolation between tenants?
On several layers at once. At database level, through row-level security or physical separation, depending on the chosen architecture. At application level, through query middleware that automatically scopes every database action to the tenant. And in code review, through an internal checklist: every new query and every new API route must demonstrably be tenant-aware. We finish a project with a targeted security test on precisely this point.
How do you handle the noisy-neighbour problem?
Through rate limits, query quotas and, where needed, dedicated background workers per tenant or per tenant tier. For heavy tenants, we can isolate job queues or give them their own database replica. From day one, we build tenant-aware monitoring so we can spot early when a single tenant is using a disproportionate share of resources and step in before it affects other tenants.
What is the difference with a multi-tenant building?
Nothing, apart from the word "tenant". A multi-tenant building is a real estate term for a property with several tenants. Multi-tenant software is about a single application instance serving multiple customers. If you are looking for facility management or building management, Appfront does not build solutions for that — but we do build the software layer behind it, such as tenant portals and service platforms.
What determines the cost of a multi-tenant platform?
The chosen architecture is a major factor: database-per-tenant has higher hosting and management costs than shared-schema. The scope (which modules), the number of integrations, the compliance requirements (DPIA, pen test, audit process) and the expected number of tenants also determine the total. We work in fixed sprints with budget certainty — no open-ended hours — and we start with the pilot tenant so you can quickly see what works before you invest further.
When is multi-tenant overkill?
If you have two or three customers who each need a fundamentally different product, multi-tenant is rarely the right choice. You would effectively be building three products in one codebase, and all the complexity (feature flags, branding, isolation) delivers little. Multi-tenant only pays off with larger numbers of tenants or a clearly shared product. You'll get honest advice in the first conversation; sometimes a regular custom platform is smarter than a multi-tenant one.
Do you work with our internal IT department?
Almost always. We hand over knowledge in the final sprint, deliver architecture documentation and an operations runbook, and agree clear responsibilities for management. For the operations layer, you can choose ongoing management by us or handover to your own team — or a combination where we handle further development and your team handles day-to-day management. See also our page on enterprise software for the broader context.

Talk to us about your multi-tenant platform.

A no-obligation introductory call of half an hour. We listen to what you want to build, dig into the architecture trade-offs that matter, and give you direction you can actually use — even if our advice is not to build multi-tenant at all.

Edit content