Tag: 架构

44 articles

RabbitMQ Architecture and Exchange Routing Details

RabbitMQ architecture analysis and detailed explanation of four Exchange routing modes: fanout broadcast, direct exact, topic wildcard, headers multi-condition matching. This article analyzes princ...

EVCache Internal Principles: Memcached Architecture, Slab...

Using EVCache in large-scale distributed cache needs understanding of underlying Memcached memory management and eviction behavior. EVCache essentially relies on Memcached + Slab Allocation + Lazy ...

AI Investigation #96: Robot Scenario Testing - From Extre...

Complete guide to robot scenario testing, covering three dimensions: environment testing, load testing, and anomaly testing. Traditional manual testing has...

MySQL Internal Architecture: Service Layer and Storage En...

MySQL four-layer architecture: network connection layer, service layer, storage engine layer, system file layer. This article provides in-depth analysis of principles and practical applications.

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.

Tomcat Class Loading Mechanism Parent Delegation Lifecycl...

In-depth analysis of Tomcat class loading mechanism covering parent delegation model, lifecycle, and plugin architecture with detailed explanations.

Handwritten Tomcat Implementation Part 3 StaticResourceUt...

Step-by-step guide to implementing MiniCat part 3 covering startup testing, StaticResourceUtil, and Servlet implementation with complete code examples.

Handwritten Tomcat Implementation Part 2 HttpServlet Requ...

Step-by-step guide to implementing MiniCat part 2 covering HttpServlet, Request, RequestProcessor components with detailed implementation code.

Handwritten Tomcat Implementation Part 1 MiniCat Bootstrap

Step-by-step guide to implementing a Mini Tomcat called MiniCat covering Bootstrap, Socket server, Request/Response handling with practical code examples.

Tomcat Core Architecture Configuration Server Service Exe...

In-depth analysis of Tomcat core architecture covering detailed configuration of main tags including Server, Service, Executor, Engine with practical examples.

Tomcat Core Architecture Catalina Container Startup Flow ...

In-depth analysis of Tomcat core architecture covering Catalina container full analysis, startup flow, and threading mechanism with comprehensive explanations.

Spring In-Depth: Tomcat Core Architecture Coyote IO Model...

In-depth analysis of Tomcat core architecture and processing flow covering Coyote IO model and protocol with comprehensive explanations.

Spring In-Depth: Nginx Process Mechanism Master Worker Co...

In-depth analysis of Nginx underlying process mechanism covering Master Worker mechanism principles and commonly used commands with practical examples.

Spring In-Depth: Nginx Basic Config Events HTTP Reverse P...

In-depth guide to Nginx configuration covering nginx.conf structure, Events block, HTTP block, reverse proxy, and load balancing with practical examples.

Spring In-Depth: Nginx Introduction History Scenarios Qui...

In-depth introduction to Nginx covering its origins, development history, common scenarios, and quick configuration guide with practical examples.

FastDFS Architecture: Lightweight Tracker and Upload Prin...

FastDFS architecture design: lightweight Tracker, peer storage structure, file upload and sync principles. This article analyzes principles and practices to help readers master key technical points.

FastDFS Architecture: Storage/Tracker/Group Design

FastDFS core architecture deep dive: Tracker Server, Storage Server, Group mechanism. This article analyzes principles and practices to help readers master key technical points.