---
title: "#multitenancy articles | Hashnode"
description: "Explore 55 articles tagged #multitenancy on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/multitenancy"
---

Tag

# #multitenancy

55 posts · 2 followers

[techpotions](https://hashnode.com/@techpotions) · [Nov 5](https://hashnode.com/posts/8-multi-tenant-saas-practices-nobody-documents/6aec9afd782395e153f18bfa)

### [8 Multi-Tenant SaaS Practices Nobody Documents](https://techpotions.hashnode.dev/8-multi-tenant-saas-practices-nobody-documents?utm_source=hashnode&utm_medium=feed)

Real day-two practices for multi-tenant SaaS, learned from building a bilingual school assessment platform.

9 min read · [techpotions.hashnode.dev](https://techpotions.hashnode.dev/8-multi-tenant-saas-practices-nobody-documents?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/8-multi-tenant-saas-practices-nobody-documents/6aec9afd782395e153f18bfa)

[Powerduck](https://hashnode.com/@powerduck) · [Oct 28](https://hashnode.com/posts/agent-cache-keyed-by-path-leaked-other-tenant/6ae24c84b1ab17a01e8df344)

### [The agent cached a GET by path and handed one tenant another tenant's row](https://blogs.powerduck.com/agent-cache-keyed-by-path-leaked-other-tenant?utm_source=hashnode&utm_medium=feed)

The agent memoized a slow GET endpoint keyed only on the request path, warmed it locally under one fixed test user, and stayed green. In staging, a second tenant read the first tenant's row because the cache key never included the authenticated subject.

3 min read · [blogs.powerduck.com](https://blogs.powerduck.com/agent-cache-keyed-by-path-leaked-other-tenant?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/agent-cache-keyed-by-path-leaked-other-tenant/6ae24c84b1ab17a01e8df344)

[techpotions](https://hashnode.com/@techpotions) · [Oct 20](https://hashnode.com/posts/multi-tenant-vs-single-tenant-the-cost-decision/6ad72e427e15d3e6a0262c1f)

### [Multi-Tenant vs Single-Tenant: The Cost Decision](https://techpotions.hashnode.dev/multi-tenant-vs-single-tenant-the-cost-decision?utm_source=hashnode&utm_medium=feed)

The choice between multi-tenant SaaS vs single-tenant architecture is the single biggest cost decision you’ll make before an enterprise security questionnaire ever lands on your desk.

8 min read · [techpotions.hashnode.dev](https://techpotions.hashnode.dev/multi-tenant-vs-single-tenant-the-cost-decision?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/multi-tenant-vs-single-tenant-the-cost-decision/6ad72e427e15d3e6a0262c1f)

[ZyVOP](https://hashnode.com/@zyvop) · [Oct 5](https://hashnode.com/posts/multi-tenant-architecture-serving-many-customers-from-one-system-without-mixing-their-data/6ac3e4accd6c09915108d4ad)

### [Multi-Tenant Architecture: Serving Many Customers from One System Without Mixing Their Data](https://blog.zyvop.com/multi-tenant-architecture-serving-many-customers-from-one-system-without-mixing-their-data?utm_source=hashnode&utm_medium=feed)

Silo, pool or bridge? How to isolate customers' data, enforce it with Postgres row-level security, and keep one noisy tenant from slowing everyone else.

11 min read · [blog.zyvop.com](https://blog.zyvop.com/multi-tenant-architecture-serving-many-customers-from-one-system-without-mixing-their-data?utm_source=hashnode&utm_medium=feed)

[T D](https://hashnode.com/@prisma-at-raw-speed) · [Aug 16](https://hashnode.com/posts/tenant-query-leaks/6a81c442c4cc95a0d16b3653)

### [Keep Prisma Queries Inside the Right Customer Account: 7 Checks](https://ivibe.hashnode.dev/tenant-query-leaks?utm_source=hashnode&utm_medium=feed)

Audit tenant isolation beyond one filter: trusted context, Boolean logic, variants, nested relations, scope maps, and real-guard tests.

7 min read · [ivibe.hashnode.dev](https://ivibe.hashnode.dev/tenant-query-leaks?utm_source=hashnode&utm_medium=feed)

[Sam Critchley](https://hashnode.com/@authagonal) · [Jul 7](https://hashnode.com/posts/one-hyphen-two-tenants-one-signing-key/6a4d896be6305df7b8deb536)

### [One hyphen, two tenants, one signing key](https://authagonal.hashnode.dev/one-hyphen-two-tenants-one-signing-key?utm_source=hashnode&utm_medium=feed)

Two of our tenants were quietly the same tenant: same database, same token-signing key, different names. The cause was a one-line helper that sanitized slugs by stripping hyphens, turning a unique identifier into a non-unique one. Here's how a lossy string transform became a cross-tenant takeover, and why we found it before you did.

6 min read · [authagonal.hashnode.dev](https://authagonal.hashnode.dev/one-hyphen-two-tenants-one-signing-key?utm_source=hashnode&utm_medium=feed)

[Virginia Mwega](https://hashnode.com/@veemwega) · [Jun 23](https://hashnode.com/posts/three-tier-memory-for-a-parenting-agent-without-leaking-one-family-s-night-into-another-s/6a3a8fb55d5663dd76e68753)

### [Three-tier memory for a parenting agent — without leaking one family's night into another's](https://virginiamwegahashnodedev.hashnode.dev/three-tier-memory-for-a-parenting-agent-without-leaking-one-family-s-night-into-another-s?utm_source=hashnode&utm_medium=feed)

Vector search ignores tenant boundaries by default. Scoping AI agent memory safely with Postgres RLS + pgvector

7 min read · [virginiamwegahashnodedev.hashnode.dev](https://virginiamwegahashnodedev.hashnode.dev/three-tier-memory-for-a-parenting-agent-without-leaking-one-family-s-night-into-another-s?utm_source=hashnode&utm_medium=feed)

[Nuel Young Chukwunalu](https://hashnode.com/@Nuelchi1) · [Jun 22](https://hashnode.com/posts/multi-tenant-application-with-codeigniter-4/6a39336098bc0593fd95b0d9)

### [Building a Multi-Tenant Application with CodeIgniter 4](https://nuelyoung.hashnode.dev/multi-tenant-application-with-codeigniter-4?utm_source=hashnode&utm_medium=feed)

Multi tenant in CodeIgniter 4 with the Tenantable package, subdomain routing, migration fan-out, and the production gotchas every other tutorial skips

13 min read · [nuelyoung.hashnode.dev](https://nuelyoung.hashnode.dev/multi-tenant-application-with-codeigniter-4?utm_source=hashnode&utm_medium=feed)

[Oladele David Temidayo](https://hashnode.com/@oladele) · [Jun 2](https://hashnode.com/posts/when-admin-means-two-different-things-platform-vs-organization-authority/6a1ea5069c95ffe337cee840)

### [When "Admin" Means Two Different Things: Platform vs Organization Authority](https://oladele.hashnode.dev/when-admin-means-two-different-things-platform-vs-organization-authority?utm_source=hashnode&utm_medium=feed)

The word "admin" hides a fault line. On one side is authority over the whole platform. On the other is authority inside a single organization. This is how I keep those two planes from leaking into each other.

12 min read · [oladele.hashnode.dev](https://oladele.hashnode.dev/when-admin-means-two-different-things-platform-vs-organization-authority?utm_source=hashnode&utm_medium=feed)

[Tushar Patil](https://hashnode.com/@TechTush) · [May 16](https://hashnode.com/posts/multi-tenant-rag-row-level-security-in-pgvector-with-mcp/6a09a5423104e2aff0878f66)

### [🔒 Multi-Tenant RAG: Row-Level Security in pgvector with MCP](https://blog.techtush.in/multi-tenant-rag-row-level-security-in-pgvector-with-mcp?utm_source=hashnode&utm_medium=feed)

When Tenant A searches your knowledge base, they must never see Tenant B's documents — enforce this at the database level, not in application code

16 min read · [blog.techtush.in](https://blog.techtush.in/multi-tenant-rag-row-level-security-in-pgvector-with-mcp?utm_source=hashnode&utm_medium=feed)
