Understanding Apache Dubbo: A Comprehensive RPC Framework Guide

Apache Dubbo RPC Framework Overview Apache Dubbo is a high-performance RPC (Remote Procedure Call) service development framework designed to address service governance and communication challenges in microservice architectures. The framework provides multi-language SDK implementations including Java and Golang. Microservices built with Dubbo in ...

Posted on Tue, 04 Aug 2026 16:12:32 +0000 by daveoliveruk

RocketMQ Core Concepts and Implementation Guide

Message Queue Fundamentals A message queue (MQ) serves as a data structure for storing messages in a first-in-first-out manner. Key Functions of MQ Systems Decoupling Applications: Enables independent development and deployment of services Rapid System Updates: Facilitates quick modifications without system-wide impacts Traffic Management: Han ...

Posted on Tue, 21 Jul 2026 16:19:49 +0000 by bugcoder

Understanding Redis Sentinel: Architecture, Communication, and Failover Process

Sentinel Overview Sentinel is a distributed system designed to monitor master-slave Redis deployments. When a master becomes unavailable, Sentinel automatically promotes a slave to master and redirects all other slaves to the new master. Core Capabilities Monitoring Continuously checks master and slave availability Detects master存活检测 and re ...

Posted on Mon, 20 Jul 2026 17:39:32 +0000 by gabo0303

Implementing Idempotency and Duplicate Prevention in Order Creation

Resource Integration Update the hosts file and copy static resources to nginx. Place dynamic template files in the order service's templates directory and adjust resource paths. Configure routing in the gateway similar to creating a new service. SpringSession Integration Import required dependencies according to official documentation and confi ...

Posted on Fri, 17 Jul 2026 16:20:08 +0000 by Daisy Cutter

Rate Limiting and Service Degradation: Essential Techniques for High-Traffic Systems

Rate Limiting Fundamentals Rate limiting serves as a critical safeguard for backend services facing massive concurrent requests. The core principle involves controlling inbound traffic volume to prevent system overload. Common real-world parallels include medical appointment systems with daily quotas, parking facilities displaying "full&qu ...

Posted on Thu, 16 Jul 2026 16:57:31 +0000 by Goose

Apache Flink Architecture and DataStream API Fundamentals

Parallelism and Operator Chains The parallelism of a specific operator is defined by the number of its subtasks. A data flow containing parallel subtasks is known as a parallel stream, requiring multiple stream partitions to distribute the workload. Generally, the parallelism of a Flink program is determined by the maximum parallelism among all ...

Posted on Wed, 15 Jul 2026 17:13:48 +0000 by ririe44

Deploying an etcd Cluster Using Static Configuration

To deploy a highly available etcd cluster using static configuration, each node must be explicitly defined at startup. This method requires specifying all peer endpoints in advance and is suitable for environments with fixed infrastructure. Key etcd Startup Parameters --data-dir: Directory for storing node data such as snapshots, WAL files (un ...

Posted on Sat, 04 Jul 2026 16:36:18 +0000 by sn0n

Preventing Duplicate Data in High-Concurrency Systems

Background Recently, our testing team reported a bug where a batch product duplication API was generating duplicate product data. After investigating, I discovered this issue was more complex than initially apparent, involving multiple challenges. Initial Requirements The product team requested a feature where users could select brands and, up ...

Posted on Sun, 28 Jun 2026 17:05:38 +0000 by Goop3630

Implementing Bloom Filters and Hash Function Applications

Bloom Filter Implementation Fundamentals of Bloom Filters Scenario: An unsafe webpage blacklist contains 100 billion URLs, each occupying up to 64 bytes. Design a filtering system to check if a URL exists in the blacklist. Requirements: 1) Allow false positive rate below 0.01% 2) Additional space must not exceed 30GB (≈30×10^9 bytes) Analysis ...

Posted on Wed, 24 Jun 2026 17:07:19 +0000 by BrandonK

Distributed Message Queue Cluster Setup with ZooKeeper and Kafka

Message Queue Fundamentals Understanding Message Queues A message represents data transmitted between applications. Messages can range from simple text strings to complex structures containing embedded objects. A Message Queue (MQ) serves as an asynchronous communication mechanism in software systems. It decouples communication between differen ...

Posted on Wed, 17 Jun 2026 16:15:00 +0000 by nickmagus