ZOYEQ, multi-tenant commerce SaaS
Engineering Lead and sole backend architect · Qzency · 2024 to present
A multi-tenant SaaS that gives each merchant an online store, POS, inventory and AI-written content on one platform. I designed and built the whole backend, six microservices from first commit to production, and it serves 500+ active tenants, each on its own database.
What I built
- Six production microservices built on my own: Gateway, Core, Store-Core, Store-Product, Store-Order and Notification
- A separate MongoDB database per tenant for full data isolation, with subdomains and custom domains resolved to the right tenant automatically
- Lazy per-tenant connections with LRU eviction: peak connections from 3,200 to about 180, cold starts from 45s to 3s, memory per service from 1.8 GB to 400 MB
- Tenant capacity raised from about 400 to 10,000+, while the MongoDB Atlas bill fell from $580 to $180 a month
- Services talk through RabbitMQ events, with retry queues, dead lettering and idempotent consumers
- 4 payment gateways (SSLCommerz, bKash, Stripe, PayPal) with per-tenant routing, carrying 100K+ transactions a month
- Google Gemini for product copy, SEO, landing pages and malicious-code screening of user input
- CI/CD from GitHub Actions to Kubernetes with autoscaling, 60% faster deployments, monitored with Prometheus, Grafana and Loki