CRMSaaS

Quivio CRM Service

Multi-Tenant CRM & Campaign Platform

Multi-tenant CRM backend powering campaigns, segmentation, automation, and SMS/email workflows. Supports 50+ tenants with isolated data and config.

Impact — Campaign delivery throughput 2x after pipeline and Redis optimizations; multi-tenant isolation with zero cross-tenant data leakage.

Problem

A multi-tenant CRM needed strict data isolation across 50+ tenants while campaign pipelines had to scale without overloading primary databases.

Approach

NestJS with tenant-aware routing and dynamic MySQL connections, PostgreSQL for shared control data, Azure Event Hubs for campaign events, Redis for cache/rate limits, and Airflow for orchestration.

What shipped

  • NestJS backend serving 50+ tenants with dynamic MySQL connections and tenant-aware routing
  • PostgreSQL for central data; event-driven pipelines via Azure Event Hubs—doubled campaign throughput
  • Apache Airflow DAGs for campaign orchestration; reduced manual runbooks by ~40%
  • Redis for caching and rate limiting; cut DB load by ~30% on high-traffic endpoints
  • Twilio & SendGrid with webhook handling; improved delivery tracking and reduced failed-send rate
  • Structured logging and Swagger/OpenAPI; shortened onboarding for new devs by ~50%

Stack

NestJSTypeScriptPostgreSQLMySQLAzure Event HubsRedisAirflowTwilioSendGrid

Related writing

More work