MayaLogic
Case study · SaaS

A multi-tenant foundation that survived first enterprise sign-off

Re-architected a single-tenant codebase into a multi-tenant SaaS with hybrid silo/pool tenancy, SOC 2-ready controls, and self-serve plus enterprise funnels off the same stack.

Anonymized delivery dashboard

SaaS outcome cockpit

After launch

Enterprise pilots

11 won

SOC 2

Passed

Trial-to-paid

+27%

Before

Constraint

Build

Controlled cutover

After

Measured gain

Client
Vertical SaaS (Series B)
Industry
SaaS
Service
SaaS Development
Engagement closed
January 2025
Storyline

From constraint to measurable change.

Every engagement is framed around the business situation, the constraint that made it hard, and the decision that turned delivery into a controlled path to value.

Situation

The operating reality

The product was technically single-tenant with tenant_id columns retrofitted. The first enterprise prospect asked for data isolation, regional residency, and SCIM provisioning — and the architecture could not credibly offer any of them.

Constraint

Why it was hard

The product was technically single-tenant with tenant_id columns retrofitted. The first enterprise prospect asked for data isolation, regional residency, and SCIM provisioning — and the architecture could not credibly offer any of them.

Decision

The path we chose

Created a hybrid tenancy model so self-serve customers stayed efficient while enterprise buyers received credible isolation.

Build

Hybrid tenancy model

Standard tenants stayed in a shared pool with row-level security. Enterprise tenants opted into per-tenant database silos provisioned via Terraform, with a single application binary in front of both.

SOC 2 controls — access reviews, audit logs, change management — were engineered into the platform and CI rather than maintained as a parallel evidence project. Evidence was generated, not curated.

Outcome

Measured impact

11 enterprise pilots converted to paid contracts in the first two quarters post-launch.

SOC 2 Type I passed three months after foundation work completed.

What changed after launch

New behavior

Security evidence, access reviews, and tenant provisioning became product capabilities instead of spreadsheet exercises.

Outcome

The numbers that mattered.

Enterprise pilots
0 won
SOC 2
Passed
Trial-to-paid
+0%
We stopped apologising for our architecture in enterprise calls and started showing buyers how controls worked.
R. WalshVP Product · Vertical SaaS
Before and after

The transformation the client could see.

The work was not abstract modernization. It changed day-to-day behavior, ownership, and the evidence leaders used to make decisions.

Before

  • Single-tenant assumptions hidden behind tenant_id
  • Enterprise isolation blocked deals
  • SOC 2 evidence curated manually

After

  • Pool and silo tenancy from one binary
  • SCIM and residency ready for enterprise
  • Controls generated by the platform
Architecture and delivery

A controlled path from discovery to launch.

The delivery plan made the system boundary explicit, then used rehearsals, gates, and telemetry to optimize safely before launch.

Delivery architecture

SaaS control loop

DiscoverModelBuildLaunchTelemetry and feedback optimize the next release
  1. Discover

    Hybrid tenancy model

    Standard tenants stayed in a shared pool with row-level security. Enterprise tenants opted into per-tenant database silos provisioned via Terraform, with a single application binary in front of both.

  2. Launch

    Controls as engineering

    SOC 2 controls — access reviews, audit logs, change management — were engineered into the platform and CI rather than maintained as a parallel evidence project. Evidence was generated, not curated.

Build

How we shaped the work.

Hybrid tenancy model

Standard tenants stayed in a shared pool with row-level security. Enterprise tenants opted into per-tenant database silos provisioned via Terraform, with a single application binary in front of both.

Controls as engineering

SOC 2 controls — access reviews, audit logs, change management — were engineered into the platform and CI rather than maintained as a parallel evidence project. Evidence was generated, not curated.

What changed after launch

What shipped, and what it changed.

  • 11 enterprise pilots converted to paid contracts in the first two quarters post-launch.
  • SOC 2 Type I passed three months after foundation work completed.
  • Self-serve trial-to-paid conversion improved 27% from the cleaner onboarding flow.

After launch

Security evidence, access reviews, and tenant provisioning became product capabilities instead of spreadsheet exercises.

Stack

What we built it with.

Next.js

NestJS

PostgreSQL

Stripe

Clerk

AWS

Terraform

A similar problem?

Let’s talk about your project.

A senior engineer will follow up within one business day with an opinionated take on the shape of the work.

A multi-tenant foundation that survived first enterprise sign-off — Case Study | MayaLogic