Tagged articles
33 articles
Page 1 of 1
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 17, 2026 · Backend Development

How RocketMQ LiteTopic Eliminates AI Inference Queue Bottlenecks with Millisecond‑Level Flow Control

This article explains why traditional message‑queue throttling fails in AI inference workloads, introduces Apache RocketMQ 5.x LiteTopic’s lightweight topic model, and details its four core features—physical isolation, elastic scaling, precise flow control, and consumption suspension—that together provide millisecond‑level real‑time throttling and minute‑level busy‑idle scheduling for personalized traffic management.

AI inferenceFlow ControlLiteTopic
0 likes · 14 min read
How RocketMQ LiteTopic Eliminates AI Inference Queue Bottlenecks with Millisecond‑Level Flow Control
ITPUB
ITPUB
Jan 18, 2026 · Databases

From Full Sync to Real‑Time CDC: Building Scalable Order Data Pipelines

An e‑commerce junior developer tackles the challenge of regularly syncing order data to a data warehouse, evolving from naïve full‑table copies to incremental sync, batch processing, cursor‑based pagination, performance tuning, and finally a real‑time CDC‑plus‑message‑queue architecture, while addressing reliability, ordering, and scaling issues.

BatchCDCCursor
0 likes · 13 min read
From Full Sync to Real‑Time CDC: Building Scalable Order Data Pipelines
Ray's Galactic Tech
Ray's Galactic Tech
Jan 16, 2026 · Backend Development

How to Build a 100k+ TPS Flash‑Sale System with 7 Layered Defense Strategies

This article presents a step‑by‑step architecture for a high‑traffic flash‑sale system that filters 99.9% of requests before the database, using layered front‑end, gateway, cache, message‑queue, and stateless scaling techniques to achieve over 100,000 TPS with strong consistency and availability.

Circuit Breakingbackend-architectureflash sale
0 likes · 10 min read
How to Build a 100k+ TPS Flash‑Sale System with 7 Layered Defense Strategies
Ray's Galactic Tech
Ray's Galactic Tech
Dec 20, 2025 · Operations

How RocketMQ Achieves High‑Availability Storage and Fast Fault Recovery

RocketMQ ensures durable, consistent, and highly available message storage through fixed‑length append‑only files, efficient index rebuilding, checkpoint tracking, and configurable master‑slave replication, offering both synchronous and asynchronous HA modes, detailed recovery steps, performance trade‑offs, and practical operational guidelines for robust fault tolerance.

OperationsRocketMQfault-recovery
0 likes · 10 min read
How RocketMQ Achieves High‑Availability Storage and Fast Fault Recovery
Ray's Galactic Tech
Ray's Galactic Tech
Dec 6, 2025 · Backend Development

How RocketMQ’s IndexFile Enables Near‑O(1) Message Lookups

This article provides a detailed walkthrough of RocketMQ's IndexFile storage engine, covering its physical layout, index construction and query processes, performance benefits, limitations, lifecycle management, and how it compares to other messaging systems for fast key‑based message retrieval.

indexmessage-queuestorage
0 likes · 10 min read
How RocketMQ’s IndexFile Enables Near‑O(1) Message Lookups
Alibaba Cloud Native
Alibaba Cloud Native
Jul 11, 2025 · Cloud Native

Zero‑Downtime Deployments with Alibaba Cloud Lightweight Message Queue

This article explains how Alibaba Cloud Lightweight Message Queue (formerly MNS) enables lossless, zero‑downtime service releases by redesigning the network entry layer, using load‑balancer draining, injecting HTTP close frames, and providing CI/CD scripts that work across ECS and Kubernetes environments.

Alibaba CloudMNSZero Downtime
0 likes · 12 min read
Zero‑Downtime Deployments with Alibaba Cloud Lightweight Message Queue
Architect
Architect
Jun 23, 2025 · Backend Development

Mastering Microservice Architecture: Key Components Every Backend Engineer Needs

This article outlines the essential building blocks of a modern microservice architecture—traffic entry with Nginx, API gateway selection, business service design, service registration, caching and distributed locks, persistent storage strategies, document-oriented stores, messaging middleware, log aggregation, task scheduling, and distributed object storage—providing practical guidance for backend engineers.

Nginxarchitecturecaching
0 likes · 10 min read
Mastering Microservice Architecture: Key Components Every Backend Engineer Needs
Open Source Tech Hub
Open Source Tech Hub
May 31, 2025 · Backend Development

How to Install and Use NSQ with PHP-NSQ: A Step-by-Step Guide

This guide explains what NSQ is, shows how to install NSQ via Docker, set up the PHP‑NSQ extension by installing libevent and the PECL package, and provides complete PHP code examples for publishing, deferred publishing, and subscribing to messages.

NSQPECLmessage-queue
0 likes · 4 min read
How to Install and Use NSQ with PHP-NSQ: A Step-by-Step Guide
Su San Talks Tech
Su San Talks Tech
Apr 16, 2025 · Backend Development

How to Prevent Product Overselling in High‑Traffic E‑Commerce Systems

This article explains why inventory overselling occurs during massive sales events, analyzes the root causes such as non‑atomic database operations, and presents practical solutions—including optimistic locking, Redis atomic scripts, distributed locks, message‑queue peak shaving, and pre‑deduct strategies—while highlighting common pitfalls and best‑practice combinations for robust e‑commerce back‑ends.

distributed-lockecommercemessage-queue
0 likes · 9 min read
How to Prevent Product Overselling in High‑Traffic E‑Commerce Systems
Code Ape Tech Column
Code Ape Tech Column
Jan 10, 2025 · Backend Development

Understanding RocketMQ Consumer Load Balancing and Message Queue Allocation Strategies

This article explains how increasing consumers affects RocketMQ message backlog, details conditions where adding consumers helps or not, describes ProcessQueue flow control, outlines six load‑balancing strategies—including average, round‑robin, custom, machine‑room, nearby, and consistent‑hash—and provides corresponding Java code examples.

Consumerallocation-strategyload-balancing
0 likes · 10 min read
Understanding RocketMQ Consumer Load Balancing and Message Queue Allocation Strategies
IT Architects Alliance
IT Architects Alliance
Sep 29, 2024 · Backend Development

Event-Driven Architecture: Core Concepts, Design Principles, and Practical Practices

This article explains the fundamentals of Event‑Driven Architecture, covering its core components, design principles such as event granularity and immutability, practical implementation steps, common use cases, and the challenges developers face when building loosely coupled, high‑response distributed systems.

CQRSEvent-drivenevent-sourcing
0 likes · 9 min read
Event-Driven Architecture: Core Concepts, Design Principles, and Practical Practices
Su San Talks Tech
Su San Talks Tech
Mar 24, 2024 · Backend Development

Kafka vs RabbitMQ: Which Message Queue Fits Your Use Cases?

This article compares Kafka and RabbitMQ across six real‑world scenarios—order sequencing, message routing, delayed processing, persistence, error handling, and throughput—explaining their strengths, limitations, and when each technology is the better choice for backend systems.

BackendComparisonmessage-queue
0 likes · 12 min read
Kafka vs RabbitMQ: Which Message Queue Fits Your Use Cases?
Top Architect
Top Architect
Sep 29, 2022 · Backend Development

Handling Duplicate Consumption in RabbitMQ: Scenarios, Tests, and Solutions

This article explains the causes of duplicate message consumption in RabbitMQ, demonstrates how to reproduce the issue with a 10,000‑message test, and provides three practical solutions using unique IDs stored in Redis to ensure idempotent processing in Java Spring applications.

BackendDuplicate Consumptionmessage-queue
0 likes · 9 min read
Handling Duplicate Consumption in RabbitMQ: Scenarios, Tests, and Solutions
Top Architect
Top Architect
Jun 2, 2022 · Databases

Reasonable Strategies for Database and Cache Read/Write Consistency

The article discusses how to achieve reasonable read/write consistency between databases and caches by emphasizing cache expiration, eventual consistency, analyzing the Cache‑Aside pattern, evaluating four update‑order options, recommending the "update‑DB‑then‑delete‑cache" approach, and suggesting async deletion via message queues and distributed locks to handle concurrency and cache breakdown.

Consistencycache-asidedistributed-lock
0 likes · 19 min read
Reasonable Strategies for Database and Cache Read/Write Consistency
Java High-Performance Architecture
Java High-Performance Architecture
May 27, 2022 · Backend Development

How to Implement Precise Order Auto‑Close in E‑Commerce: Timers, MQs, and Redis

This article explores five practical techniques for automatically closing unpaid e‑commerce orders—ranging from simple scheduled tasks to advanced RocketMQ delay queues, RabbitMQ dead‑letter queues, time‑wheel algorithms, and Redis expiration listeners—detailing their mechanisms, trade‑offs, and implementation code.

RocketMQmessage-queueorder-closure
0 likes · 18 min read
How to Implement Precise Order Auto‑Close in E‑Commerce: Timers, MQs, and Redis
IT Architects Alliance
IT Architects Alliance
Mar 20, 2022 · Backend Development

Implementing Message Queues with Redis: Lists, Streams, and Pub/Sub

This article explains how Redis can be used to build message queues by leveraging List commands with LPUSH/RPOP and BRPOPLPUSH for simple queues, the Stream data type introduced in Redis 5.0 for durable, ordered, consumer‑group‑based queues, and the Pub/Sub model for real‑time broadcasting, while also analyzing the underlying source code structures such as quicklist, radix trees, and stream internals.

BackendPubSubStreams
0 likes · 21 min read
Implementing Message Queues with Redis: Lists, Streams, and Pub/Sub
MaGe Linux Operations
MaGe Linux Operations
Sep 17, 2021 · Backend Development

Mastering Redis: Caching, Distributed Locks, Counters, and More for Scalable Backend Systems

This article explores how to leverage Redis for a wide range of backend functionalities—including caching, distributed data sharing, locks, global IDs, counters, rate limiting, bitmap statistics, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow relationships, and leaderboards—providing practical code examples and usage patterns.

BitmapCounterbackend-development
0 likes · 8 min read
Mastering Redis: Caching, Distributed Locks, Counters, and More for Scalable Backend Systems
IT Architects Alliance
IT Architects Alliance
Sep 15, 2021 · Backend Development

Comprehensive Guide to Backend Architecture: Microservices, Service Mesh, Messaging, and Observability

This article provides a detailed overview of modern backend architecture, covering microservice fundamentals, design principles such as Conway's Law and DDD, gateway patterns, communication protocols, service registration, configuration management, observability pillars, service mesh options, and a comparative analysis of popular message‑queue technologies.

Microservicesbackend-architecturecloud-native
0 likes · 27 min read
Comprehensive Guide to Backend Architecture: Microservices, Service Mesh, Messaging, and Observability
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 4, 2021 · Backend Development

Ensuring Reliable Kafka Messaging: Handling Message Loss, Producer, Broker, and Consumer Configurations

This article explains how Kafka can suffer message loss and duplication, and provides practical configurations for the producer, broker, and consumer—including acks, retries, replication factor, min.insync.replicas, and manual offset commits—to achieve reliable, idempotent message processing.

IdempotencyReliabilitymessage-queue
0 likes · 9 min read
Ensuring Reliable Kafka Messaging: Handling Message Loss, Producer, Broker, and Consumer Configurations
Intelligent Backend & Architecture
Intelligent Backend & Architecture
Apr 21, 2021 · Backend Development

Why Message Queues Matter: Benefits, Pitfalls, and Choosing the Right MQ

This article explains how message queues help handle traffic spikes, achieve asynchronous processing, decouple services, and control flow, while covering push vs. pull models, common drawbacks, idempotency, reliability, ordering, high‑availability strategies, and a detailed comparison of ActiveMQ, RabbitMQ, RocketMQ, and Kafka to guide selection and design.

BackendMQRabbitMQ
0 likes · 38 min read
Why Message Queues Matter: Benefits, Pitfalls, and Choosing the Right MQ
Wukong Talks Architecture
Wukong Talks Architecture
Apr 3, 2021 · Backend Development

Two Years of Kafka in a Restaurant Order System: Problems, Solutions, and Lessons Learned

This article recounts the author's two‑year experience with Kafka in a high‑traffic restaurant ordering system, detailing why message ordering matters, the pitfalls of synchronous retries, message backlog, partition routing, primary‑key conflicts, database replication lag, and practical mitigation strategies for reliable backend processing.

Kafkadistributed-systemsmessage-queue
0 likes · 17 min read
Two Years of Kafka in a Restaurant Order System: Problems, Solutions, and Lessons Learned
Ctrip Technology
Ctrip Technology
Feb 25, 2021 · Backend Development

Design and Implementation of a Cache Access Component and Update Platform for High‑QPS Scenarios

This article describes a backend architecture for a high‑traffic e‑commerce project, detailing a cache access component and a cache update platform that use asynchronous messaging, hotspot‑key handling, versioned cache entries, and Redis to achieve low latency, high QPS support and strong data consistency.

Backendcachingdistributed-systems
0 likes · 18 min read
Design and Implementation of a Cache Access Component and Update Platform for High‑QPS Scenarios
Selected Java Interview Questions
Selected Java Interview Questions
Jan 22, 2021 · Backend Development

Ensuring Reliable Message Delivery with RabbitMQ: Persistence, Confirm Mechanism, and Idempotency Strategies

This article explains how to guarantee reliable message delivery in RabbitMQ by using durable queues, the confirm mechanism, and supplemental strategies such as pre‑persisting messages to Redis, scheduled compensation tasks, and idempotent consumer design to prevent duplicate processing.

Idempotencyconfirmdistributed-systems
0 likes · 9 min read
Ensuring Reliable Message Delivery with RabbitMQ: Persistence, Confirm Mechanism, and Idempotency Strategies
Qunar Tech Salon
Qunar Tech Salon
Apr 8, 2020 · Backend Development

RabbitMQ vs Kafka: A Technical Comparison of Messaging Systems

This article explains the fundamental differences between RabbitMQ and Apache Kafka, covering asynchronous messaging patterns, the internal architectures of both systems, their respective strengths and weaknesses, and guidance on choosing the appropriate solution for various scenarios.

BackendMessagingStreaming
0 likes · 10 min read
RabbitMQ vs Kafka: A Technical Comparison of Messaging Systems
Java Captain
Java Captain
Apr 8, 2019 · Backend Development

RabbitMQ: Use Cases, Roles, Components, and Operational Practices

This article explains RabbitMQ's typical scenarios, key roles and components, virtual host purpose, message delivery process, durability and loss‑prevention mechanisms, broadcast types, delayed queues, clustering benefits, node types, setup considerations, and cluster shutdown order.

BackendRabbitMQarchitecture
0 likes · 9 min read
RabbitMQ: Use Cases, Roles, Components, and Operational Practices
Architect's Tech Stack
Architect's Tech Stack
Jan 17, 2018 · Operations

RabbitMQ Cluster Installation and Configuration Guide

This guide explains how to install RabbitMQ, set up a three-node Erlang-based cluster on CentOS, configure hostnames, Erlang cookies, designate disk and RAM nodes, manage services, enable mirrored queues, and verify cluster status using command‑line tools.

ErlangHARabbitMQ
0 likes · 9 min read
RabbitMQ Cluster Installation and Configuration Guide