Tagged articles
9 articles
Page 1 of 1
Architect's Guide
Architect's Guide
Dec 12, 2023 · Backend Development

Understanding Kafka Consumer: Delivery Guarantees, Rebalance Mechanisms, Partition Assignment, and Thread Safety

This article provides a comprehensive guide to KafkaConsumer, covering message delivery semantics (at‑most‑once, at‑least‑once, exactly‑once), practical exactly‑once implementations, consumer rebalance triggers and strategies, partition assignment algorithms, thread‑safety considerations, and detailed Java code examples of the consumer workflow.

ConsumerJavaKafka
0 likes · 14 min read
Understanding Kafka Consumer: Delivery Guarantees, Rebalance Mechanisms, Partition Assignment, and Thread Safety
Meituan Technology Team
Meituan Technology Team
Jul 22, 2021 · Backend Development

Pike 2.0: Meituan's Bidirectional Message Delivery Service Architecture and Features

Meituan’s Pike 2.0 replaces the Shark‑dependent Pike 1.0 with a four‑layer, TunnelKit‑based bidirectional messaging service that offers shared or independent channels, heartbeat‑driven keep‑alive, aggregated high‑QPS delivery, ordering guarantees, extensive monitoring, and plans for IoT and QUIC enhancements, achieving over 5 billion daily messages with sub‑220 ms latency.

Backend ArchitectureMeituanMessage Delivery
0 likes · 28 min read
Pike 2.0: Meituan's Bidirectional Message Delivery Service Architecture and Features
Architecture Digest
Architecture Digest
Jan 7, 2020 · Backend Development

Ensuring 100% Message Delivery with RabbitMQ: Reliability Steps and Idempotent Design

This article explains how to achieve guaranteed 100% message delivery in RabbitMQ by leveraging its acknowledgment mechanisms, implementing producer‑side confirmation steps, designing compensation and retry logic, and ensuring consumer‑side idempotency through unique identifiers and various ID‑generation strategies.

Distributed SystemsIdempotencyMessage Delivery
0 likes · 7 min read
Ensuring 100% Message Delivery with RabbitMQ: Reliability Steps and Idempotent Design
21CTO
21CTO
Sep 5, 2018 · Fundamentals

Why Exactly‑Once Delivery Is Impossible: Understanding Message Delivery Semantics

The article explains how messages travel in monolithic and distributed systems, why network communication is inherently unreliable, and how different delivery semantics—at‑most‑once, at‑least‑once, and exactly‑once—affect reliability, ordering, and protocol choices such as AMQP and MQTT.

At-Least-OnceDistributed SystemsExactly-Once
0 likes · 14 min read
Why Exactly‑Once Delivery Is Impossible: Understanding Message Delivery Semantics