Show HN: LokaDB – store each SaaS clients rows in a separate Postgres database
Category: infrastructure
Tags: postgres, multi-tenancy, proxy, data-residency, saas
Score: 7.0/10 (Innovation: 7, Technical: 8, Documentation: 7, Utility: 6)
LokaDB is a Postgres wire-protocol proxy that lets a multi-tenant SaaS store selected tenants' rows in each customer's own Postgres, without rewriting the application — it uses partitioned tables and postgres_fdw to route statements per organization. It is technically ambitious and well-tested against unmodified frameworks, but its usefulness depends on a specific enterprise-compliance niche.
Target audience: backend devs and devops building multi-tenant SaaS with Postgres
Repository: https://github.com/lokadb/lokadb · Go · Apache-2.0
View on Hacker News