Why Building and Exiting My Own Micro-SaaS Changed How I Architect Production Backend Systems
Shafikul Islam
Backend & Cloud Infrastructure Engineer · Infrastructure & Cloud Team Lead

From Clever Abstractions to Production Accountability
Early in a software engineer's career, it is easy to fall in love with complexity for its own sake: splitting a four-person team's codebase into 18 microservices, adding three layers of generic repository interfaces, or over-provisioning cloud clusters because someone else pays the AWS invoice.
Building, scaling, and exiting my own micro-SaaS venture forced an immediate mindset shift. When every dollar of wasted EC2 compute comes out of your margin and every 2 AM database lock timeout costs you a real customer, you judge architecture by three strict metrics.
1. Tail Latency and Correctness Under Contention
Users do not care how clean your folder structure looks if clicking "Checkout" during a flash sale double-charges their card or hangs for 6 seconds.
Whether we used 28 lines of Go + Redis Lua (EVALSHA) to hit 0.00% double-booking across 10,000 concurrent requests, or Rust + Axum + SQLx FOR UPDATE locking to sustain 8,420 RPS at 3.82ms P95 latency, the rule is the same: keep lock scopes tiny, deterministic, and verifiable under automated race detectors.
2. Infrastructure Cost Is a First-Class Engineering Metric
A system that scales traffic 2x by scaling cloud bills 4x is an architectural bug.
At Cansoft Technologies, auditing 14 days of Prometheus P99 usage against bloated Helm CPU/RAM requests allowed us to cut AWS EC2 compute costs by 35% without changing a single line of business logic. Similarly, adding partial composite B-Tree indexes and PgBouncer transaction pooling dropped PostgreSQL P95 latency from 4.2s to 14ms without upgrading RDS hardware.
3. Boring, Reversible Deployments and Migrations
High-velocity teams ship fast because their recovery path is automated. By combining Ansible + ArgoCD GitOps, 3-tier RabbitMQ Dead-Letter Exchanges, and keyset-streamed PostgreSQL TOAST migrations with SHA-256 verification, we made production releases predictable and boring.