Tag

message ordering

1 views collected around this technical thread.

vivo Internet Technology
vivo Internet Technology
Feb 26, 2025 · Backend Development

Building a Million-User Group Chat System: Server-Side Architecture and Implementation

The article details how to engineer a Web‑based group chat that supports one million members by selecting WebSocket for real‑time communication, using read‑diffusion storage, a three‑layer architecture with Redis routing and Kafka queues, ensuring ordered, reliable delivery via TCP, ACKs and UUID deduplication, calculating unread counts with Redis ZSETs, and handling massive traffic through rate‑limiting, protobuf compression and message chunking.

IM systemKafkaRead Diffusion
0 likes · 21 min read
Building a Million-User Group Chat System: Server-Side Architecture and Implementation
Top Architect
Top Architect
Nov 20, 2024 · Big Data

Understanding Distributed Systems and Kafka: Architecture, Message Ordering, and Java Consumer Practices

This article explains the fundamentals of distributed systems, introduces Apache Kafka's architecture and components, discusses how Kafka ensures ordered message consumption, and provides Java consumer configuration tips to maintain message order, offering practical guidance for backend developers working with streaming data.

Big DataDistributed SystemsJava
0 likes · 11 min read
Understanding Distributed Systems and Kafka: Architecture, Message Ordering, and Java Consumer Practices
Top Architect
Top Architect
May 20, 2024 · Big Data

Understanding Distributed Systems and Kafka: Concepts, Message Ordering, and Guarantees in Java

This article explains the fundamentals of distributed systems, introduces Apache Kafka’s architecture and core components, describes how Kafka ensures message ordering within partitions, and provides practical Java consumer configurations and techniques to guarantee ordered consumption of messages.

Big DataDistributed SystemsJava
0 likes · 10 min read
Understanding Distributed Systems and Kafka: Concepts, Message Ordering, and Guarantees in Java
Architecture & Thinking
Architecture & Thinking
Apr 21, 2024 · Backend Development

How to Ensure Reliability, Ordering, and Security in Billion‑User IM Systems

This article explores the key challenges of building a large‑scale instant‑messaging service—including message reliability, ordering, read‑sync, data security, avalanche effects, and weak‑network handling—and presents practical architectural and algorithmic solutions for each problem.

Data SecurityInstant MessagingMessage Reliability
0 likes · 21 min read
How to Ensure Reliability, Ordering, and Security in Billion‑User IM Systems
Architect's Guide
Architect's Guide
Mar 2, 2024 · Fundamentals

RabbitMQ vs Kafka: Core Differences and When to Use Each

This article compares RabbitMQ and Apache Kafka across architecture, message ordering, routing, timing, retention, fault handling, scalability, and consumer complexity, and provides guidance on which platform suits specific use‑cases such as flexible routing, strict ordering, long‑term retention, or high throughput.

KafkaMessage QueueRabbitMQ
0 likes · 19 min read
RabbitMQ vs Kafka: Core Differences and When to Use Each
Top Architect
Top Architect
Nov 2, 2023 · Big Data

Understanding Distributed Systems and Kafka: Concepts, Architecture, and Ensuring Ordered Message Consumption

This article introduces the fundamentals of distributed systems, provides an overview of Apache Kafka’s architecture and core components, explains how Kafka ensures message ordering within partitions, and outlines Java‑based strategies to guarantee ordered consumption, including single‑partition consumption, partition assignment, and key‑based partitioning.

Big DataDistributed SystemsJava
0 likes · 10 min read
Understanding Distributed Systems and Kafka: Concepts, Architecture, and Ensuring Ordered Message Consumption
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 4, 2020 · Big Data

Common Kafka Interview Questions: Delay Queues, Idempotence, ISR/AR, HW/LEO/LSO, Message Ordering, and Duplicate Consumption

This article reviews typical Kafka interview topics, explaining the implementation of delay queues with hierarchical time wheels, how idempotence is achieved via producer IDs, the meanings of ISR, OSR, AR, HW, LEO, LSO, strategies for guaranteeing message order, and practical solutions for handling duplicate consumption.

Delay QueueDuplicate ConsumptionISR
0 likes · 9 min read
Common Kafka Interview Questions: Delay Queues, Idempotence, ISR/AR, HW/LEO/LSO, Message Ordering, and Duplicate Consumption
High Availability Architecture
High Availability Architecture
Oct 22, 2019 · Backend Development

Ensuring In-Order Delivery of IM Messages: Causes and Solutions

This article analyzes why instant‑messaging (IM) messages can arrive out of order due to time discrepancies, network behavior, and multithreading, and proposes a comprehensive design using global sequence numbers, channel‑aware routing, client‑side caching, and ACK‑based flow control to guarantee ordered delivery.

Distributed SystemsIMbackend
0 likes · 9 min read
Ensuring In-Order Delivery of IM Messages: Causes and Solutions
Ctrip Technology
Ctrip Technology
Jan 25, 2017 · Backend Development

Handling Duplicate Messages, Ordering, Concurrency, and Batch Processing in Message‑Driven Systems

This article shares practical patterns and built‑in mechanisms for dealing with duplicate messages, message ordering, concurrent updates, asynchronous acknowledgments, and batch processing in a large‑scale, message‑driven architecture, illustrated with QMQ examples from Qunar's platform.

Backend DevelopmentDuplicate Message HandlingMessage Queue
0 likes · 16 min read
Handling Duplicate Messages, Ordering, Concurrency, and Batch Processing in Message‑Driven Systems
Architecture Digest
Architecture Digest
Aug 3, 2016 · Backend Development

Understanding RocketMQ: Key Features, Implementation Principles, and Best Practices

This article provides a comprehensive overview of RocketMQ, covering its design for high‑throughput distributed messaging, solutions to ordering and duplicate‑message challenges, transaction messaging mechanisms, producer/consumer workflows, storage architecture, subscription models, additional features, and practical best‑practice recommendations.

Distributed SystemsJavaMessage Queue
0 likes · 25 min read
Understanding RocketMQ: Key Features, Implementation Principles, and Best Practices