Skip to content

< Denis AKPAGNONITE />

Software Engineer · Cloud Native · DevOps/SRE

I build and write about distributed systems, observability, and supply-chain security.

Latest writing

See all →

How Two-Phase Locking Keeps Concurrent Bank Transactions From Corrupting Your Data

Two transfers hit the same account in the same millisecond and one payment vanishes. This is the lost update, and it is why every payment ledger runs on a concurrency control layer. This article builds the theory from a fintech example up to two-phase locking (2PL): the transaction model, the math of conflict-serializability and the precedence graph, why the 2PL theorem guarantees correctness, pessimistic versus optimistic control in PostgreSQL, strict 2PL, and how deadlocks are detected and prevented.

#Databases #Concurrency #Transactions #PostgreSQL #Distributed-Systems

July 22, 2026

Load Balancing Algorithms: Each One Fixes the Last One's Flaw

Spreading requests across N servers sounds like a one-liner: pick a server, send the request. Then one backend is slower, or bigger, or holds a session, and the naive choice falls apart. This walks the classic algorithms as a chain where each one exists to fix the previous one's blind spot: round robin, weighted, least connections, power of two choices, and consistent hashing, in Go, ending with the failure every tutorial forgets.

#Load-Balancing #Go #Distributed-Systems #Resilience

July 20, 2026

From RBAC to ReBAC: Migrating a Role System to OpenFGA Without Downtime

Roles work until someone says 'share just this document with just this person.' That is the day RBAC runs out of road. This is the practical migration: mapping role tables to relation tuples, running OpenFGA in shadow next to your SQL checks, backfilling safely, and only then unlocking the per-object sharing and hierarchy that roles never could. With the traps nobody warns you about.

#Authorization #ReBAC #RBAC #OpenFGA #Migration

July 19, 2026

Explore by topic

See all →

Featured projects

See all →

Obscura

A client-side password generator built with Vue 3 and Vite. It allows users to create strong, customizable passwords based on best security practices.

TypeScriptVue3security

Sentinel

Sentinel is an open-source backup and restoration tool designed for seamless management of PostgreSQL, MySQL, and MongoDB databases, in Docker, Kubernetes, and local environments

golangkubernetesdockerdatabase
© 2026 < Denis AKPAGNONITE /> | N1BBzerLZXT