Tag: Distributed
34 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...
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 and Offset Management
Deep dive into RocketMQ consumption modes: Push vs Pull comparison, long polling mechanism, consumption backlog handling and Offset management optimization.
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.
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.
RocketMQ Core Features: Ordering, Filtering, Transactions and Timed Messages
Deep dive into RocketMQ core features: ordered consumption, Broker-side filtering, transaction messages, scheduled timing messages, consumption retry.
RabbitMQ Topic Exchange: Wildcard Matching
Deep dive into RabbitMQ Topic exchange, * and # wildcard rules, RoutingKey format specifications and Java producer/consumer code examples.
RabbitMQ Fanout Pub/Sub Java: Push/Pull Mode, ACK and Binding
RabbitMQ fanout broadcast mode Java tutorial, deep dive into Push vs Pull implementation, applicable scenarios and ACK confirmation mechanism.
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.
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.
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.
MySQL Evolution: From Standalone to Cloud Database
MySQL development history, main branches, architecture evolution (standalone -> master-slave -> sharding -> cloud database).
Distributed Services: Consistency Models, Strong/Weak/Monotonic/Eventual Consistency
In-depth analysis of distributed services covering distributed consistency including strong consistency, weak consistency, monotonic read consistency, and eventual consis...
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 Liveness
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 Availability
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.
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: 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.
Distributed Services: Basic Concepts, Clusters, Communication and Three States
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 technica...
MySQL Sharding Technologies Compared: Range, Hash, Consistent Hash and Geohash
Sharding is the core technology for horizontal scaling in distributed databases.
MySQL Distributed Primary Key Strategies: UUID, SnowFlake, Redis and ID Tables
Explore MySQL distributed primary key strategies including UUID, SnowFlake, COMB, Redis, and database ID table approaches with their principles, pros and cons...
ClickHouse Sharding × Replica × Distributed: ReplicatedMergeTree
Replica refers to storing the same data on different physical nodes in a distributed system. Its core idea is to improve system reliability through data redundancy.