Skip to content
> afrizzal/blog
Posts Categories Tags RSS Portfolio ↗
Writing

Notes on systems that move revenue

Practical, no-fluff writing on IT leadership, CRM & revenue plumbing, attribution, and AI automation — from someone who still ships the code.

30 posts · 4 categories · 23 tags

Systems & Performance 29 Sept 2026 · 7 min read

Removing a container guarantees its process is gone, not its mount

A jailed shell on a shared host silently bind-mounted a Docker container's overlay filesystem into its own view. Three straight docker rm -f runs still found the mount busy, because the thing holding it open was never the container the deploy script could see.

architecturereliability
Read post →
Systems & Performance 29 Sept 2026 · 7 min read

The audit chain hashed one timestamp and persisted another

A weekly audit ledger sealed each finding into a SHA-256 hash chain, but the hash and the database row each read the clock independently — so every untampered entry would have verified as tampered. The fix was one field, passed explicitly instead of left to a schema default.

data-integrityreliabilityarchitecturepostgres
Read post →
CRM & Revenue 29 Sept 2026 · 6 min read

The branch id that forgot which tenant it belonged to

A refactor made a branch entity canonical across tenant workspaces so it could belong to several at once — but the balance queries that filtered on its id kept summing every workspace's top-ups and usage together, so a workspace with no billing connection configured still saw another tenant's budget on its dashboard.

securitydata-integritycrmarchitecture
Read post →
Systems & Performance 29 Sept 2026 · 7 min read

The cost of a stock transfer isn't decided until it's received

SentraOps ships stock between warehouses through one shared virtual TRANSIT buffer, and a plan-checker caught the flaw before a line of code existed: freezing the unit cost at ship time breaks the moment two transfers of the same item at different costs land in that buffer and get received out of order.

postgresdata-integrityarchitectureconcurrency
Read post →
Systems & Performance 29 Sept 2026 · 6 min read

The landed cost that leaked into the vendor-price field

A goods-receipt line's unitCost field meant two different things at once — the vendor's price, and that price plus the freight allocated onto it. The moment the second meaning won, the AP invoice's GR/IR clearing math invented a purchase-price variance that was never real.

postgresdata-integrityarchitectureconcurrency
Read post →
← Newer posts Page 2 of 6Older posts →

© 2026 Afrizzal — built with in Trawas.

LinkedIn GitHub RSS