Tag: 分布式
45 articles
RocketMQ Terminology and Message Model Quick Reference
RocketMQ core terminology and message model quick reference: Producer, Broker, Consumer, Consumer Group, cluster consumption, broadcast consumption, ordered messages, Tag and Queue.
RocketMQ Java API: Sync/Async Producer
Complete RocketMQ Java API tutorial, sync/async message producer (Producer), pull consumer (PullConsumer) and push consumer (PushConsumer) code examples.
RocketMQ Consumption Modes: Push vs Pull, Long Polling, O...
Deep dive into RocketMQ consumption modes: Push vs Pull comparison, long polling mechanism, consumption backlog handling and Offset management optimization. This article analyzes principles and pra...
RocketMQ 4.5.1 on JDK9+: Startup Troubleshooting Guide
Complete solution for RocketMQ 4.5.1 startup issues on JDK9+, script modifications (GC parameters, CLASSPATH, java.ext.dirs) and environment configuration. This article analyzes principles and prac...
RocketMQ Core Architecture: NameServer/Broker/Producer
RocketMQ (formerly MetaQ) technical evolution history and core architecture deep dive, NameServer, Broker, Producer, Consumer roles and deployment topology. This article analyzes principles and pra...
RocketMQ Core Features: Ordering/Filtering/Transaction/Ti...
Deep dive into RocketMQ core features: ordered consumption, Broker-side filtering, transaction messages, scheduled timing messages, consumption retry, flow control mechanism and dead letter queue. ...
RabbitMQ Topic Exchange: Wildcard Matching
Deep dive into RabbitMQ Topic exchange, * and # wildcard rules, RoutingKey format specifications and Java producer/consumer code examples. This article analyzes principles and practices to help rea...
RabbitMQ Fanout Pub/Sub Java: Push/Pull Mode, ACK and Bin...
RabbitMQ fanout broadcast mode Java tutorial, deep dive into Push vs Pull implementation, applicable scenarios and ACK confirmation mechanism. This article analyzes principles and practices to help...
Distributed Communication: SOA/Dubbo, OpenFeign, Retry vs MQ
After distributed service splitting, inter-service communication evolved from synchronous calls to async decoupling, with retry, idempotency, and reliability patterns for message-driven architectures.
Cache Practice: Local vs Distributed (Guava/Redis 7.2)
High concurrency read-heavy business, database can't handle it, need to improve throughput and stability. Local cache for ultimate read performance, distributed cache for sharing and scaling, multi...
OSS Practice Guide: Bucket/External Links/Hotlink Protection
Enterprises and individuals migrating images/audio/video/static resources to Aliyun OSS need stable operations and cost control. Configure precisely by region and permissions, combine hotlink prote...
AI Research #131: Java 17/21/25 Complete Comparison
Java 17 (2021), Java 21 (2023), Java 25 (2025) language and JVM changes, covering Virtual Threads (Project Loom), Records/Pattern Matching (Project Amber),...
FastDFS Cluster Practice: 3-Node Tracker/Storage + Nginx
Deploy tracker, storage, and Nginx on three hosts with round-robin upload. Key points: Nginx+mod_fastdfs routing and monitoring verification. Output: reusable cluster config checklist + version mat...
MySQL Evolution: From Standalone to Cloud Database
MySQL development history, main branches, architecture evolution (standalone -> master-slave -> sharding -> cloud database). This article provides in-depth analysis of principles and practical appl...
Distributed Services Consistency Strong Weak Monotonic Ev...
In-depth analysis of distributed services covering distributed consistency including strong consistency, weak consistency, monotonic read consistency, and eventual consistency models.
Distributed Services ACID: Three-Phase Commit 3PC vs 2PC
This article provides an in-depth analysis of the Three-Phase Commit protocol (3PC) and its differences from Two-Phase Commit (2PC) in distributed transaction processing.
Distributed Services ACID: Two-Phase Commit 2PC Protocol
This article provides an in-depth analysis of the Two-Phase Commit protocol (2PC) for distributed transactions, covering ACID properties and practical implementation.
Distributed Services: Paxos Algorithm Optimization and Li...
This article provides an in-depth analysis of the Paxos distributed consensus algorithm, covering algorithm optimization and how to guarantee liveness properties.
Distributed Services: CAP Theorem AP vs CP Trade-offs
This article provides an in-depth analysis of the CAP theorem in distributed systems, explaining Consistency, Availability, and Partition Tolerance trade-offs.
Distributed Services: Paxos Algorithm - The Gold Standard
This article provides an in-depth analysis of the Paxos distributed consensus algorithm, explaining Proposal and Acceptor roles with detailed derivation process.
Distributed Services: RPC and RMI Java Implementation
This article provides an in-depth analysis of RPC and RMI network communication in distributed systems, with practical Java code implementations.
Distributed Services: BIO NIO AIO with Code Examples
This article provides a detailed analysis of BIO, NIO, and AIO network I/O models in distributed systems, with practical Java code examples.
Distributed Services: Heartbeat Detection and High Availa...
This article provides an in-depth analysis of heartbeat detection mechanisms and high availability design principles in distributed systems.
Distributed Services: Raft Consensus Algorithm Illustrated
This article provides a comprehensive explanation of the Raft distributed consensus algorithm, covering leader election, log replication, and safety mechanisms.
Distributed Services: Network Communication RPC and RMI
This article provides an in-depth analysis of RPC and RMI communication technologies in distributed systems, covering principles, architecture, and implementations.
Distributed Services: Custom RPC Implementation with Netty
This article provides a detailed guide to implementing a custom RPC framework using Netty, with complete code examples for provider and consumer.
RPC Dubbo: A Comprehensive Introduction and Getting Started
This article provides a comprehensive introduction to Apache Dubbo RPC framework, covering core features, service governance, and getting started guide.
Distributed Services: Netty Server and Client Implementation
This article provides a practical guide to implementing Netty-based server and client applications with detailed Java code examples.
Distributed Services: Netty EventLoop Deep Dive
This article provides an in-depth analysis of Netty's EventLoop mechanism, thread model, and core components for building high-performance network applications.
RPC Architecture Evolution: Monolith to Microservices
This article provides an in-depth analysis of software architecture evolution from monolithic to distributed to microservices architectures, covering RPC fundamentals.
RPC Dubbo Admin: Installation and Source Code Compilation
This article provides a comprehensive guide to Dubbo Admin visual management platform, covering installation methods, source code compilation, and Docker deployment.
RPC Dubbo: Consumer Module and Main Program
This article provides a detailed guide to the Dubbo consumer module, covering configuration to proxy generation, with practical code examples.
RPC Dubbo: Producer Module Deep Dive
This article provides a detailed explanation of the Dubbo producer module, covering key components, startup flow, and production environment best practices.
RPC Dubbo: Java SPI Mechanism from JDK to Dubbo
This article provides an in-depth analysis of Java SPI mechanism, explaining the evolution from JDK SPI to Dubbo's plugin-based extension system.
RPC Dubbo: Parent Project Configuration Guide
This article provides a guide to setting up Dubbo parent project configuration with detailed POM and code examples for multi-module Maven projects.
RPC Dubbo: Adaptive and Filter Interceptor Mechanism
This article provides a comprehensive analysis of Dubbo's Adaptive and Filter interceptor mechanisms for dynamic extension and service chain enhancement.
RPC Dubbo: Load Balancing Complete Analysis
Comprehensive analysis of Dubbo load balancing strategies, configuration methods, and custom implementation guide covering Random, RoundRobin, LeastActive, and ConsistentHash algorithms.
RPC Dubbo: Dynamic Service Degradation and Fault Tolerance
This article provides an in-depth analysis of Dubbo dynamic service degradation, from avalanche prevention to second-level configuration center activation.
RPC Dubbo: Load Balancing and Async Implementation
This article provides a comprehensive analysis of Dubbo load balancing strategies and asynchronous call implementation with practical examples.
RPC Dubbo: Dynamic Routing Architecture Deep Dive
This article provides an in-depth analysis of Dubbo's dynamic routing architecture, from rule design to production system integration.
Distributed Services Basic Concepts Clusters Communicatio...
In-depth guide to distributed services covering basic concepts, cluster comparison, common patterns, communication methods, and detailed explanation of three states.
FastDFS: From Standalone to Distributed File Storage
FastDFS distributed file system architecture, evolution from standalone to distributed. This article analyzes principles and practices to help readers master key technical points and practical skills.
MySQL Sharding Technologies Compared: Range, Hash, Consis...
Sharding is the core technology for horizontal scaling in distributed databases. This article provides a comprehensive analysis of range-based, hash-based, and consistent hash sharding strategies w...
MySQL Distributed Primary Key Strategies: UUID, SnowFlake...
Explore MySQL distributed primary key strategies including UUID, SnowFlake, COMB, Redis, and database ID table approaches with their principles, pros and cons, and applicable scenarios comparison.
ClickHouse Sharding × Replica × Distributed: ReplicatedMe...
ClickHouse sharding × replica × Distributed architecture: Based on ReplicatedMergeTree + Distributed, using ON CLUSTER one-click table creation on 3-shard ×...