Engineering Insights

Ideas from
the build.

Deep dives on Django, Vue, SaaS architecture, and the craft of building products that scale.

# production-ready queryset class ProjectListView(ListCreateAPIView): serializer_class = ProjectSerializer permission_classes = [IsAuthenticated] def get_queryset(self): return Project.objects\ .select_related('owner')\ .prefetch_related('tags')\ .filter(org=self.request.user.org)
API Response 42ms
99.9% Uptime
30+ Projects Shipped
Django

Django REST API Patterns We Use on Every Production Build

After shipping 30+ API-driven products we've distilled our backend workflow into a repeatable set of patterns — from serializer design and permission layering to query optimization and structured error responses.

KH
KEHEM Team Engineering
May 28, 2026
9 min read
Read Article
Vue & Nuxt

Composable Architecture: Building Reusable Logic in Vue 3

How we structure useX composables across large Nuxt apps — state isolation, async patterns, and avoiding common pitfalls.

SaaS

Multi-Tenancy in Django: Row-Level vs Schema-Level Isolation

The trade-offs we've hit shipping SaaS products — when to isolate by schema, when row-level filtering is enough, and how to migrate between them.

Architecture

Five Postgres Patterns That Eliminated Our Slow Query Alerts

Partial indexes, covering indexes, CTEs vs subqueries, and how we used pg_stat_statements to find the real bottlenecks in production.

Django

Celery Task Design: Idempotency, Retries, and Failure Visibility

Writing background tasks that behave predictably under failure — idempotency keys, bounded retry logic, and surfacing errors without noise.

DevOps

Our Dockerfile for Django: Slim, Secure, and CI-Ready

The multi-stage build we ship across all client projects — layer caching strategy, secrets handling, and zero-downtime deploys with Gunicorn.

Design

Building a Design System in Vue 3 That Doesn't Drift Over Time

Token-first thinking, component API contracts, and the review process that keeps our UI consistent across 6-month-old codebases.

Stay close to the build.

One article per week. Engineering depth, no fluff. Unsubscribe any time.