[aryan@dev]
01 / celery-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_timeoutCI guard blocking accidental result-backend opt-in
PythonDjangoCelerygeventPostgreSQLRabbitMQ
02 / monotonic-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 changesStopped 2-week false-failure corruption ratchet
GoKafkaClickHouseReplacingMergeTree
03 / postgres-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 indexesEliminated 54 GB / 6-day temp-file sorts
PostgreSQLDjango ORMPythonCelery
04 / brownfield-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 restartsTrigger-only CI allowlist replacing shared push tokens
KubernetesArgo CDOpenBaoExternal SecretsPythonGitLab CI