I Was Wrong About Building My SaaS. Here’s Everything I Wish I Knew Two Years Ago.

That One Simple Trick™ ? Knowing which decisions are reversible, and which ones will cost you a weekend when they break at scale.

ByPrithwish Nath
Published on

Frequently Asked Questions

Common questions about this topic

What inspired the build vs. buy framework discussed here?
The framework was inspired by a culinary book that evaluates what to make from scratch versus what to buy based on taste, cost, and hassle; the same trade-offs were applied to building a bootstrapped multi-tenant SaaS.
What is the core build vs. buy thesis for a bootstrapped SaaS?
Focus engineering on core product logic and user-facing features, and buy managed solutions for infrastructure problems that are costly to own and operate, choosing to build only where there is a clear, defensible advantage.
Which authentication solution was chosen and why?
NextAuth/Auth.js was chosen for handling OAuth quirks, CSRF protection, and session management while keeping control to debug issues; the team would choose it again despite some session cleanup and browser-specific OAuth issues.
What significant auth-related operational issue was encountered?
Safari’s Intelligent Tracking Prevention broke Google OAuth callbacks, causing silent failures where users returned to the login page, and the sessions table in Postgres accumulated expired sessions until a background cleanup job was implemented.
Why was a managed email provider adopted and which one was selected?
A managed provider was adopted because cheap providers had clunky templating and spam/deliverability problems; Notify.CX was selected for better deliverability, a drag-and-drop template builder, and handling domain warming and reputation management.
What operational benefits did the email provider deliver?
The provider improved deliverability from low levels to ~90% quickly and 95%+ within weeks, reduced developer time spent on email changes, enabled non-technical team members to run experiments, and saved about $8,000/year versus competitors.
What approach was tried for competitive intelligence and why did it fail?
Initial approach used Puppeteer scripts on a small droplet with rotating proxies and daily scrapes into Postgres, but it failed due to constant site changes, IP bans, Cloudflare bot detection reducing success rates, and legal/compliance overhead, making it unsustainable.
What solution replaced DIY scraping for competitive intelligence?
A fully managed data acquisition service (Bright Data) replaced DIY scraping, providing proxy management, CAPTCHA solving, compliance handling, automated validation and enrichment, and dashboards, allowing clean data to feed analytics directly.
What problems arose from DIY file storage and image transformation?
DIY approaches using S3 uploads, a custom Node.js resize service, and S3+CloudFront faced memory leaks, unreliable cache invalidation, disk limits, and production failures during traffic spikes, causing broken images and high operational overhead.
Which media solution was adopted and what capabilities did it enable?
ImageKit was adopted, providing a global edge network, real-time URL-based transformations, automatic WebP/AVIF optimization, focal-point detection for intelligent cropping, device/network-aware quality switching, and improved lazy-loading strategies.
What analytics and monitoring stack changes were made and why?
The stack moved away from ad-hoc logging and expensive sampling tools toward a combination of Better Stack for observability, PostHog for product analytics, and Plausible for marketing analytics to reduce cost, improve traceability, and enable actionable funnels.
What is the key operational lesson about reversible decisions?
The key lesson is to recognize which architectural decisions are reversible and which will impose heavy weekend costs when they break at scale, and to prioritize experience-derived judgment about where to invest engineering effort versus buying managed solutions.

Enjoyed this article?

Share it with your network to help others discover it

Last Week in Plain English

Stay updated with the latest news in the world of AI, tech, business, and startups.

Interested in Promoting Your Content?

Reach our engaged developer audience and grow your brand.

Help us expand the developer universe!

This is your chance to be part of an amazing community built by developers, for developers.