Skip to content
Knowledge Hub

Engineering insights that teach.

Deep, practical write-ups on AI systems, SaaS architecture, Postgres, TanStack Start and automation. Every article is written to help you build better software — not to sell you something.

Latest articles

ai agents 14 min

Building AI Agents With Guardrails That Don't Break

A reference architecture for production AI agents: planning loops, tool use, retries, evaluation and human-in-the-loop handoff.

Read article
tanstack start 12 min

A Production Architecture for TanStack Start

Folder structure, data fetching, caching and server/client boundaries for a maintainable TanStack Start codebase.

Read article
supabase 10 min

Supabase Row Level Security: Patterns That Scale

How to model multi-tenant RLS policies, avoid common leaks, and keep policies readable.

Read article
postgresql 11 min

PostgreSQL Indexing for Real-World Performance

When to use B-tree, GIN, partial and composite indexes — with query plans you can read.

Read article
saas engineering 13 min

Designing Multi-Tenant SaaS: Isolation, Billing, and Scaling

A comparison of tenant isolation strategies with a recommended starting architecture.

Read article
react 9 min

React Rendering Performance: The 80% That Matters

Memoization, list virtualization, and avoiding re-renders without over-engineering.

Read article
nodejs 10 min

Background Jobs and Queues in Node.js

When to reach for a queue, how to design idempotent jobs, and a retry strategy that survives crashes.

Read article
voice ai 12 min

Voice AI Architecture: From Phone to Response in 800ms

Streaming STT, LLM orchestration, and low-latency TTS for human-sounding voice agents.

Read article
api design 8 min

REST API Design: Naming, Errors, and Versioning

A pragmatic API design checklist with examples of good and bad request/response shapes.

Read article
security 11 min

Securing SaaS Applications: Auth, Secrets, and Audit Logs

A security baseline for web apps: auth flows, secret management, and what to log.

Read article
performance 9 min

Core Web Vitals Optimization That Actually Moves the Needle

Where to spend effort for LCP, INP and CLS, and how to measure it in CI.

Read article
custom crm 10 min

Designing a Custom CRM Data Model Around Sales

Leads, opportunities, pipelines and activities — a schema that matches how teams actually sell.

Read article
system architecture 12 min

System Architecture Tradeoffs: Monolith, Modulith, Microservices

How to choose a service boundary strategy for a growing product without premature complexity.

Read article
business automation 8 min

Automating Business Workflows With n8n

A practical walkthrough of building reliable integrations and approval workflows with n8n.

Read article
developer experience 9 min

Developer Experience: CI/CD and Testing That Teams Keep

Fast feedback loops, type-safe tests, and a CI setup that catches regressions early.

Read article
ai engineering 11 min

Evaluating AI Features: Offline Metrics and Online Guardrails

How to test LLM outputs before and after shipping, with a lightweight eval harness.

Read article
enterprise software 10 min

Enterprise Authentication Patterns: SSO, SCIM, and RBAC

What B2B buyers expect from auth: SAML/SSO, user provisioning, and role-based access.

Read article

Want help applying this to your stack?

Book a free strategy call. We'll map your bottlenecks to the right architecture and send a clear roadmap — even if we don't work together.

Chat on Telegram

Usually replies within minutes. Chat on Telegram: @northflowstudio

No obligation consultationFounder-led projectsInternational clientsFast responseSecure communication