[aryan@dev]

Aryan Hamedani

BACKEND & DISTRIBUTED SYSTEMS ENGINEERING

I design, refactor, and operate production distributed systems: 80-app Django monoliths, live PostgreSQL cutovers, Go/Kafka messaging pipelines, and multi-tenant Kubernetes clusters, built with verification-first, agent-accelerated workflows. This site is my engineering log: postmortems, architecture notes, and small Linux and backend tools.

## 01 /SELECTED SYSTEMS

all systems (4) →
01celery-gevent-django-postgres-failure-modesIdekavan Group · 2025 - 2026

Three Silent Failure Modes of Celery -P gevent + Django + PostgreSQL

Why prefork instincts break under greenlets: boot-time DB registry races, hard time_limit poisoning libpq wire state, and DB-backed result stores wedging acks_late workers on primary restarts.

Zero silent autocommit or libpq wire-state corruptionsReplaced worker hard time-limits with PG statement_timeoutPythonDjangoCelerygevent
02monotonic-state-guards-starvation-corruption-ratchetIdekavan Group · 2025 - 2026

How Monotonic State Guards + ORDER BY updated_at Starved 84,000 Messages

A production failure analysis in Go, Kafka, and ClickHouse ReplacingMergeTree: why write-gated timestamps break round-robin polling, and how an upstream TTL purge turned monotonic state weights into a permanent corruption ratchet.

Drained 84k starved backlog in ~70 minZero extra DB writes or schema changesGoKafkaClickHouseReplacingMergeTree
03postgres-write-amplification-row-lock-convoysIdekavan Group · 2025 - 2026

Eliminating Write Amplification & Row-Lock Convoys on a 49 GB PostgreSQL Table

How Django's bulk_update() CASE WHEN explosion, unleased 'idempotent' webhook retries, and a hidden 2.6 GB varchar_pattern_ops index generated 48% of primary WAL, and how we fixed all three.

4.1-8.2s bulk_update -> 0.12-2.55 msReclaimed 3.1 GB of WAL-amplifying indexesPostgreSQLDjango ORMPythonCelery
04brownfield-kubernetes-gitops-adoptionIdekavan Group · 2026

Adopting 54 Drifted Production Kubernetes Workloads into GitOps Without Downtime

Closing the kubectl diff and Argo CD blind spot for hand-edited live fields, solving the Kubernetes $(POD_IP) Secret-expansion trap, and enforcing a trigger-only CI-to-GitOps security boundary across 54 live workloads.

54/54 production Argo CD Apps Synced & HealthyZero silent field deletions or unplanned restartsKubernetesArgo CDOpenBaoExternal Secrets

## 03 /OPEN SOURCE

full catalog (10) →
First-hand notes from engineers and teammates I have worked with. Browse ~/notes or leave a peer note.