Engineering notes

Production lessons, without the folklore.

Practical writing about backend systems, databases, messaging, infrastructure, and interface reliability. The recurring theme is simple: measure first, then change the system.

Event-driven systems

Kafka retries: make the side effect safe

Why a successfully processed event can still arrive again, and how to design idempotent Kafka consumers around safe side effects.

Event-driven systems
Database engineering

Read the query plan before adding an index

A practical way to investigate a slow PostgreSQL endpoint with EXPLAIN plans, cardinality, filters, joins, and evidence instead of guessing.

Database engineering
Frontend engineering

A dashboard is more than its happy path

Design Vue interfaces around loading, empty results, failed requests, stale data, and changing user context.

Frontend engineering