Tagged articles
idempotent
11 articles · Page 1 of 1
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.
ConsumerJavaKafka
0 likes · 8 min read


XikeAug 5, 2026 · Backend Development
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.
BackendMessage QueueRocketMQ
0 likes · 17 min read

The article explains why a Kafka consumer can re‑process tens of thousands of messages after a restart even though the offset was reported as successfully committed, covering auto‑commit timing, rebalance triggers, GC pauses, manual‑commit pitfalls, and practical mitigation strategies.
KafkaOFFSETRebalance
0 likes · 8 min read

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.
RabbitMQSpring Bootdistributed systems
0 likes · 40 min read

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.
Background TasksFastAPIParallelism
0 likes · 9 min read

The article explains the newly proposed HTTP QUERY method, detailing its definition, idempotent and safe characteristics, usage scenarios for large payloads, caching behavior, the Accept-Query response header, and provides multiple concrete request‑response examples with code snippets.
CachingHTTPQUERY method
0 likes · 8 min read

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

This article explains the HTTP QUERY method—a safe, idempotent request type that carries query payloads in the body, contrasts it with GET and POST, details caching behavior, the Accept-Query header, and provides practical examples of direct and indirect responses.
CachingHTTPQUERY method
0 likes · 9 min read

This article explains the concept of idempotent HTTP requests, defines idempotency, lists which HTTP methods are idempotent or not, and clarifies why methods like GET, HEAD, PUT, DELETE are safe to retry while POST, PATCH, and CONNECT are not.
BackendHTTPREST
0 likes · 6 min read

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.
ConsumerJavaMessage Queue
0 likes · 13 min read

This article explains the three message delivery semantics in distributed stream processing, compares Kafka‑Spark Streaming integration methods (receiver vs direct stream), and details how to achieve exactly‑once guarantees through idempotent or transactional writes, including code examples.
@TransactionalKafkaSpark Streaming
0 likes · 8 min read
