By 2024, I had moved beyond just writing code — I was often responsible for how systems should be designed from day one. Startups came to me with MVP ideas, but I knew the real challenge wasn’t just building fast — it was building in a way that could scale later without rewriting everything.
PostgreSQL (relational, reliable, easy to scale vertically at first)
Use indexes + partitioning early to avoid later bottlenecks.
Redis (caching + Sidekiq/Resque jobs)
Background workers for emails, notifications, sync jobs.
Docker for consistent environments
GitHub Actions for CI/CD
Start with AWS ECS/Heroku → migrate to Kubernetes if traffic grows.
[ React Frontend ] ---> [ Rails API ] ---> [ Postgres DB ]
| \
| -> [ Redis Cache + Sidekiq Jobs ]
|
[ AWS S3 for images ]
This setup could handle:
100–500 users easily on Heroku/Docker.
Scale to thousands by moving API + DB to AWS or GCP.
Add indexes to key DB fields
Structure code for modular growth
Use CI/CD early so deployments don’t become bottlenecks
Most startups die before scaling → so don’t burn money on infra too early.
But if they do scale, the pain of rewriting is massive — a balanced approach is key.
The best MVPs I built were the ones that shipped fast but had a clear upgrade path to handle 10x users later.
By early 2024, I learned the sweet spot: build fast, but leave doors open for scale.