SalesFlow: Multi-Tenant SaaS Order Management Platform by Krunal PagdarSalesFlow: Multi-Tenant SaaS Order Management Platform by Krunal Pagdar

SalesFlow: Multi-Tenant SaaS Order Management Platform

Portfolio project
Krunal Pagdar
Enforced tenant isolation with EF Core global query filters built on expression trees, so no tenant can read another tenant's data.
Used PostgreSQL row-level locking to generate order numbers safely under concurrent requests.
Reworked the order pipeline, reducing database writes from N+3 to 2 per order.
Fixed thread-pool starvation caused by BCrypt password hashing under load.
Implemented authentication with HttpOnly cookie JWTs and an Axios refresh interceptor, so tokens never sit in JavaScript-accessible storage.
Load-tested with k6 on a 1-CPU/1GB Oracle Cloud instance: 0% errors at 20 virtual users, p95 latency under 156ms.
Documented architecture decisions in a public repo, including an ADR comparing n8n, Hangfire, and BackgroundService.

0 likes · 1 view · Dec 3, 2026

SalesFlow is a multi-tenant order management platform built with ASP.NET Core and PostgreSQL, with strict data isolation between tenants.

Tags