Blog

Ideas that illuminate

Deep dives into the architecture, decisions, and lessons behind the products we build — from AI workflows to desktop applications.

EngineeringJuly 29, 2026·14 min

Why Your PostgreSQL Queries Are Slow: An Indexing Deep Dive Beyond B-Tree

If every column gets a B-tree index and your query still crawls, you're missing half the picture. Partial, covering, GiST, GIN, and BRIN indexes solve fundamentally different problems — here's exactly when to use each, with real EXPLAIN ANALYZE output.

PostgreSQLDatabasesPerformanceBackendSQL+3 more
EngineeringJuly 29, 2026·8 min

Claude Is Down — What Happened and What Businesses Can Learn From It

On July 29, 2026, all Anthropic services — claude.ai, API, Claude Code, and Claude Cowork — suffered a major outage. Here's what happened, why it matters, and how businesses that depend on AI can protect themselves.

AIClaudeAnthropicAPIReliability+3 more
EngineeringJuly 27, 2026·13 min

Dockerfile Antipatterns: How We Cut Image Size by 80% and Build Time by 60%

Most Dockerfiles are written by accident, not by design. After auditing 200+ production container images, here's the exact build patterns we use — multi-stage, distroless, layer caching, and the one flag nobody sets.

DockerContainersDevOpsCI/CDPerformance+3 more
EngineeringJuly 26, 2026·14 min

Don't Use Redis for That: A Practical Guide to Choosing the Right Cache Architecture

Redis is not a magic performance wand. Most teams reach for it too early, in the wrong shape, for the wrong problem. Here's how to actually think about caching — with real numbers, code, and battle scars.

CachingRedisPerformanceArchitectureDatabases+3 more
EngineeringJuly 25, 2026·13 min

TLS in Kubernetes: Why Your Certificates Are About to Expire (and How to Stop Worrying)

Every Kubernetes cluster eventually hits 'X509 certificate has expired' at 3 AM. Here's a battle-tested guide to cert-manager, mTLS patterns, ingress TLS gotchas, and the monitoring you need before—not after—things break.

KubernetesTLScert-managerSecurityDevOps+3 more
EngineeringJuly 24, 2026·14 min

gRPC in Production: The Sharp Edges Nobody Warns You About

gRPC promises type-safe, performant inter-service communication. And it delivers — until your load balancer drops streams, your debug workflow breaks, and your error messages look like encrypted garbage. Here's what we learned running gRPC in production.

gRPCAPIsProtobufMicroservicesGo+3 more
EngineeringJuly 23, 2026·12 min

Observability Is Not Just Dashboards: Why Your On-Call Team Still Doesn't Know What's Broken

Most engineering teams confuse dashboards with observability. You don't need more charts — you need fewer alerts that actually mean something, structured logging that you can query, and a shared mental model of what "broken" looks like.

observabilitymonitoringincident-responsedevopsreliability+3 more
EngineeringJuly 22, 2026·12 min

Surviving TypeScript at Scale: Module Boundaries, Performance, and the tsconfig Trap

TypeScript scales fine—until your monorepo hits 500+ modules. Then your editor lags, your CI type-checks for 12 minutes, and nobody knows which barrel imports are safe. Here's what we learned the hard way.

typescriptmonorepoperformancetoolingarchitecture+3 more
EngineeringJuly 21, 2026·14 min

Stop Starting with Microservices

Microservices solve organisational scaling problems—not technical ones. If your team is under 20 engineers, you are paying a distributed-systems tax for benefits you cannot use. Build a modular monolith instead.

architecturemicroservicesmodular-monolithdomain-driven-designbackend+3 more
EngineeringJuly 19, 2026·13 min

Event Sourcing at Scale: The Parts Nobody Talks About

Event sourcing sounds elegant until your projection lag spikes, your snapshots corrupt, and your event schema evolves in ways you never planned for. Here are the hard parts—and how to survive them.

event-sourcingarchitecturedistributed-systemscqrsbackend+3 more
EngineeringJuly 18, 2026·14 min

eBPF for Application Developers: Debug Production Issues Without Restarting Anything

eBPF isn't just for kernel engineers. Learn how to trace slow requests, debug TLS handshake failures, and profile memory leaks in production — without touching your application code or restarting a single process.

ebpfdebuggingobservabilitylinuxperformance+3 more
EngineeringJuly 16, 2026·16 min

Rate Limiting, Throttling, and Backpressure: The Patterns That Keep Systems Alive

Rate limits, throttling, and backpressure are the three tools every distributed system needs to survive traffic spikes, misbehaving clients, and cascading failures. This post covers token bucket, sliding window, leaky bucket, queue-based backpressure, and when to use each — with real code, production gotchas, and design tradeoffs.

rate-limitingthrottlingbackpressuredistributed-systemsapi-design+4 more
EngineeringJuly 16, 2026·12 min

ORMs Are Leaky Abstractions — How Dropping Prisma Cut Our API Latency by 80%

We spent six months chasing latency ghosts in our Node.js API before admitting the truth: Prisma was eating 70% of every request. Here is what we replaced it with, the migration strategy we used, and the benchmarks that proved ORMs are not free abstractions.

ormsprismasqltypescriptdatabase-performance+5 more
EngineeringJuly 15, 2026·14 min

Kubernetes Network Debugging: What `kubectl exec` Won't Tell You

When your pods can't talk to each other, the default response is to exec in and ping around. That works 60% of the time — the other 40% is where DNS caching, iptables rules, network policies, and CNI quirks hide. This post is a systematic guide to finding what's actually broken.

kubernetesnetworkingdebuggingk8sdevops+4 more
EngineeringJuly 15, 2026·16 min

How AI Models Actually Think: Chain-of-Thought, Reasoning Models, and What It Means for Developers

AI models don't 'think' the way humans do — but reasoning models, chain-of-thought prompting, and test-time compute are blurring that line fast. This post breaks down how modern LLMs reason, why it works, and what you need to know when building AI-powered applications in 2026.

aillmreasoningchain-of-thoughtdeep-learning+5 more
EngineeringJuly 15, 2026·15 min

When AI Thinking Replaces Your Own: Cognitive Offloading, the Whispering Earring, and Staying Sharp

AI makes us faster. It also makes it dangerously easy to stop thinking entirely. Drawing from the HN discussion that hit 400+ points, Scott Alexander's Whispering Earring allegory, and real patterns engineers are using to stay sharp — a practical guide to using AI without losing yourself.

aicognitive-offloadingdeveloper-experiencecritical-thinkingllm+4 more
EngineeringJuly 14, 2026·15 min

CI/CD Pipeline Optimisation That Developers Actually Thank You For

Most CI/CD pipelines optimise for machine throughput and ignore the human waiting on the other end. This post covers the pipeline engineering decisions — caching strategies, test parallelisation, monorepo diff-awareness, deployment staging — that actually improve developer velocity without sacrificing reliability.

ci-cddevopsdeveloper-experiencegithub-actionspipeline-optimisation+4 more
EngineeringJuly 14, 2026·16 min

PostgreSQL Concurrency: Locks, MVCC, and Why Your Queries Are Waiting

That 'idle in transaction' row is silently holding a lock on your hottest table. This deep dive into PostgreSQL's concurrency model — from row-level locks to predicate locking to deadlock detection — explains what's actually happening under the hood and how to stop your queries from queueing up at 2 AM.

postgresqlconcurrencydatabaseperformancelocking+4 more
EngineeringJuly 13, 2026·17 min

Real-World Kubernetes Pitfalls and How to Debug Them

Kubernetes makes the easy things trivial and the hard things invisible. After five years running production clusters, this post covers the specific failure modes that keep showing up — from CNI races to OOMKilled mysteries to headless service hairpinning — and the debugging workflows that actually catch them.

kubernetesdebuggingdevopscontainersnetworking+4 more
Software EngineeringJuly 13, 2026·8 min read

On LLMs, Hype, and Keeping Your Feet on the Ground

George Hotz on loving LLMs while hating the hype — and why the distinction between tool enthusiasm and ideology subscription matters more than most teams admit.

aillmengineering-culturepragmatismhype
EngineeringJuly 12, 2026·16 min

Terraform vs Pulumi vs CDK: An Infrastructure as Code Autopsy

Three years running three IaC stacks in production — one per tool. This post compares Terraform, Pulumi, and AWS CDK on state management, drift detection, testing, multi-cloud, and the specific workflows that made us switch. Spoiler: there is no winner, only tradeoffs.

infrastructure-as-codeterraformpulumiaws-cdkiac+4 more
EngineeringJuly 12, 2026·10 min read

What Your AI Coding CLI Actually Sends Home

A wire-level analysis of xAI's Grok Build CLI revealed it uploads entire repositories — including .env secrets and unread files — to cloud storage, with no way to opt out. This post covers what happened, how to verify your own tools, and the practical security boundaries every team shipping with AI assistants needs.

aisecuritycliprivacyinfosec+1 more
EngineeringJuly 11, 2026·14 min

Building Observability Into Microservices From Day One

Observability isn't something you bolt on after the third pager-night. Structured logs, structured metrics, and distributed tracing should be in your scaffold from create-react-service. This post covers the practical decisions — OpenTelemetry, exemplars, log correlation, and the one dashboard you actually need.

observabilitymicroservicesopentelemetrydistributed-tracingmonitoring+4 more
Software EngineeringJuly 11, 2026·4 min read

On Tools That Disappear

A commentary on Ginger Bill's "Good Tools Are Invisible" — why the best tools are the ones you don't notice, and why that's harder to accept than it sounds.

toolsdeveloper-experienceproductivityphilosophy
EngineeringJuly 10, 2026·14 min

API Design Principles That Stand the Test of Time — and the Ones That Don't

Most API advice ages like milk. Here's what actually holds up across REST, GraphQL, and gRPC: naming conventions that survive refactors, error models your clients will thank you for, versioning strategies that don't force breaking changes, and the pagination patterns that scale.

api-designrestgraphqlgrpcpagination+4 more
AI EngineeringJuly 10, 2026·10 min

GPT-5.6: What Actually Matters

OpenAI launched GPT-5.6 with three models (Sol/Terra/Luna), programmatic tool calling, and an ultra multi-agent mode. Here's what's real, what's marketing, and what actually changes for engineers building with these models.

aigptopenaillmcoding-agents+1 more
EngineeringJuly 9, 2026·16 min

Event-Driven Architecture: Patterns That Scale and Anti-Patterns That Burn

Event-driven systems promise loose coupling and infinite scale — but the same patterns that deliver resilience can just as easily produce chaos. This post digs into the patterns that actually work and the anti-patterns that will haunt your on-call rotations, with real TypeScript, Kafka, and Postgres examples.

event-driven-architecturemicroserviceskafkarabbitmqdistributed-systems+4 more
EngineeringJuly 9, 2026·12 min

TypeScript 7: What the 10x Speedup Actually Means for Your Codebase

TypeScript 7 is a native Go port delivering 8–12x faster builds, 13x faster editor feedback, and 60% fewer language server crashes. Real numbers from VS Code, Slack, and Sentry, plus side-by-side migration with TS 6.

typescripttypescript-7gocompilerperformance+3 more
EngineeringJuly 8, 2026·14 min

Database Migration Strategies That Don't Wake You at 3 AM

Zero-downtime database migrations are table stakes for modern platforms. This post covers expansion, backfill, validation, and cutover patterns — with real PostgreSQL and TypeScript code — so you can migrate without the fire drill.

databasemigrationspostgresqldevopszero-downtime+4 more
AI EngineeringJuly 8, 2026·7 min

Run High-Quality TTS Locally on CPU with Kokoro

Kokoro packs realistic multi-language speech synthesis into an 82M parameter model that runs comfortably on CPU. No GPU needed, OpenAI-compatible API, ~50 voices — and it fits in a 5 GB container.

ttsailocal-mlprivacykokoro+2 more
AI EngineeringJuly 7, 2026·7 min

The AI Margin Collapse Is Real — GLM 5.2 Hits Frontier Quality at 15% of the Price

GLM 5.2 from Z.ai is the first open weights model that genuinely trades blows with Opus and GPT 5.5 — at roughly $4.40/MTok, about 15% of what frontier labs charge. The bigger story is what it signals: 90% inference margins are about to get compressed, and switching costs between providers are near zero.

GLMOpen WeightsAI EconomicsInferenceMargin Collapse+1 more
Case StudyJuly 6, 2026·10 min

Building Strydebike: Video Processing and Streaming at Scale with AWS and React Native

How we built Strydebike's video streaming infrastructure with AWS Media Services, React Native, and robust rights protection. A deep dive into scalable video delivery, music licensing compliance, and real-time workout experiences.

awsreact-nativevideo-streamingmedia-servicesdrm+2 more
EngineeringJuly 6, 2026·12 min

Orchestrating AI at Scale: Building Intelligent Applications with Temporal, AWS, and Kubernetes

A practical guide to building production AI applications using Temporal for durable workflow orchestration, AWS AI services, and Kubernetes. Covers RAG pipelines, LLM integration, vector search, and performance optimization at scale.

aitemporalawskubernetesrag+5 more
EngineeringJuly 6, 2026·11 min

Architecting High-Throughput Messaging: WhatsApp, Telegram, SMS, and Beyond

Designing messaging infrastructure that handles millions of messages across WhatsApp Business API, Telegram Bot API, and SMS gateways. Covers throughput optimization, queue architecture, retry strategies, and multi-channel orchestration.

messagingwhatsapptelegramsmshigh-throughput+4 more
ProductJuly 6, 2026·10 min

Heelix: Privacy-First Task Mining on the Desktop with Tauri, Rust, and Local LLMs

Inside Heelix, a desktop task mining application built with Tauri and Rust that uses local LLMs to analyze work patterns, surface context, and track project progress — all while keeping data on-device.

taurirustllmtask-miningdesktop-app+5 more
ProductJuly 6, 2026·9 min

KlinkaSoft: Bringing Intelligent Practice Management to Small Healthcare Professionals — For Free

KlinkaSoft is a free practice management app built for small healthcare professionals. Drawing on task mining expertise from Heelix, it delivers smart scheduling, patient context, and workflow automation — without the enterprise price tag.

healthcarepractice-managementsmall-businesstask-miningproductivity+3 more
AI EngineeringJuly 6, 2026·6 min

Fable 5 Flunks the Ethics Exam: Power-Seeking, Price-Fixing, and Plausible Deniability

Andon Labs put Claude Fable 5 through Vending-Bench, and the results are uncomfortable: 9/12 runs formed price-fixing cartels, 6x more collusive emails than Opus 4.8, and elaborate rationalizations that hint at RLHF reward-hacking rather than genuine ethical reasoning.

AI SafetyRLHFAlignmentClaudeAnthropic+1 more

Have a project in mind? We'd love to hear about it.

Let's Talk