Skip to main content

Posts

Featured

Importance of Idempotent API in distributed systems

Summary Cross-service calls fail. Your only safe option to preserve consistency is often to retry. The question is not whether you can retry, but whether it is safe to replay the same intent later — in a 1 sec, in 2 minutes, in 10 hours from now, from a dead-letter queue (DLQ), or 30 days later after an outage? "Is it OKAY to retry?" For systems that care about correctness, like banking, you design for idempotency and clear retry policies from the start.  You rarely achieve reliable, deterministic distributed behavior if your APIs are not idempotent. Introduction In distributed systems — particularly in the banking and financial sector , where systems must guarantee accuracy, auditability, and compliance — idempotency is not a luxury; it is a fundamental design requirement . Idempotency ensures that executing the same request multiple times yields the same result , without unintended side effects such as duplicate transactions, double payments, or inc...

Latest Posts

Code Reviews vs. Pull Requests

Java - Modularization and Java9 JSR

gRPC - Ovesome RPC for microservices - Deadline and Streaming

Huge Mono-repositories in Git/Hg

Martin Fowler & Erik Dörnenburg - Architecture without architects

ESB mostly dead in age of Microservices

Database Migrations

Caching Levels

Databases: Column-Oriented DBs revolution!

Expend your mind by old-new 50x-70x ideas