Tagged articles

idempotent

11 articles · Page 1 of 1
Java Tech Enthusiast
Java Tech Enthusiast
Aug 8, 2026 · Backend Development

Why Does Kafka Re‑Consume Tens of Thousands of Messages After a Successful Offset Commit?

The article explains why Kafka consumers can reprocess tens of thousands of messages after a restart despite successful offset commits, detailing the roles of automatic commit timing, rebalance triggers, GC pauses, and the limitations of manual commits, and offers practical configuration and idempotent processing solutions.

Kafkaconsumeridempotent
0 likes · 8 min read
Why Does Kafka Re‑Consume Tens of Thousands of Messages After a Successful Offset Commit?
Xike
Xike
Aug 5, 2026 · Backend Development

How to Automatically Cancel Unpaid Orders When They Timeout

The article explains a reliable, idempotent solution for automatically cancelling orders that remain unpaid after a configured deadline, covering data modeling, state transitions, trigger mechanisms using delayed messages or scans, handling race conditions with payment, and essential monitoring and pitfalls.

Message QueueRocketMQTransaction
0 likes · 17 min read
How to Automatically Cancel Unpaid Orders When They Timeout
Cloud Architecture
Cloud Architecture
May 17, 2026 · Backend Development

Production Design for Order Timeout Closure: RabbitMQ Delay Queues, Idempotent State Machine

This article presents a production‑grade architecture for automatically closing unpaid orders, detailing why simple scheduled tasks are insufficient, outlining high‑risk scenarios, defining five core objectives, comparing implementation options, and providing a complete RabbitMQ TTL + DLX solution with state‑machine idempotency, high‑concurrency handling, observability, and Kubernetes deployment guidance.

Spring Bootdistributed systemshigh concurrency
0 likes · 40 min read
Production Design for Order Timeout Closure: RabbitMQ Delay Queues, Idempotent State Machine
Code Mala Tang
Code Mala Tang
Feb 24, 2026 · Backend Development

Why Async FastAPI Still Blocks and How to Offload Heavy Work

After fixing unlimited queries and pagination issues, this article reveals why async FastAPI still stalls under load, outlines the hidden bottlenecks in the request lifecycle, and provides practical rules and code examples for offloading heavy work to background workers, ensuring scalability, idempotence, and observability.

asyncbackground tasksfastapi
0 likes · 9 min read
Why Async FastAPI Still Blocks and How to Offload Heavy Work
macrozheng
macrozheng
Jun 20, 2024 · Backend Development

What Is the HTTP QUERY Method and How Does It Differ from GET/POST?

This article explains the HTTP QUERY method as a safe, idempotent request type that carries payloads like POST but enables caching and automatic retries, detailing its semantics, caching behavior, Accept-Query header, and providing practical code examples.

HTTPQUERY methodWeb API
0 likes · 10 min read
What Is the HTTP QUERY Method and How Does It Differ from GET/POST?
Code Ape Tech Column
Code Ape Tech Column
Feb 3, 2021 · Backend Development

Understanding RocketMQ Consumer Mechanisms: Consumption Modes, Idempotent Handling, Load Balancing, and Rebalancing

This article explains RocketMQ consumer fundamentals, covering concurrent and ordered consumption modes, how to achieve idempotent processing with Redis locks, the load‑balancing strategy implemented by RebalanceImpl, and the complete pull‑process‑consume workflow including code examples.

Load BalancingMessage QueueRocketMQ
0 likes · 13 min read
Understanding RocketMQ Consumer Mechanisms: Consumption Modes, Idempotent Handling, Load Balancing, and Rebalancing