Blog
Technical exploration and thoughts · 655 articles
Flume 1.9.0 Custom Interceptor: TAILDIR Multi-directory C...
Using TAILDIR Source to monitor multiple directories (start/event), using filegroups headers to mark different sources with logtype; then using custom...
MyBatis Quick Start - CRUD Operations and XML Mapping Con...
MyBatis quick start continuation covering CRUD operations, XML mapping configuration, annotation-based development, and datasource/transaction management. This article provides in-depth analysis of...
Neo4j Installation and Quick Start | 10 Min Setup + Remot...
Neo4j graph database Docker installation and remote access configuration, 10-minute quick start guide. This article deeply analyzes principles and practical applications.
MyBatis SqlSession, Executor, StatementHandler - Source C...
Detailed introduction to MyBatis core architecture design including three-tier architecture, SqlSession, Executor, StatementHandler working principles and source code analysis, and MyBatis initiali...
MyBatis Plugin Mechanism - PageHelper and Generic Mapper
Detailed introduction to MyBatis pagination plugin PageHelper and Generic Mapper usage, including configuration, code examples, PageInfo class usage, and Generic Mapper CRUD operations. Practical a...
Flume Optimization for Offline Data Warehouse: batchSize,...
Flume 1.9.0 engineering optimization in offline data warehouse (log collection→HDFS) scenarios: Giving actionable value ranges and trade-off principles for key...
Spark DStream Transformation Operators: map, reduceByKey,...
Systematically review Spark Streaming DStream stateless transformation operators and transform advanced operations, demonstrating three implementation approaches for blacklist filtering: leftOuterJ...
Spark Streaming Window Operations & State Tracking: updat...
In-depth explanation of Spark Streaming stateful computing: window operation parameter configuration, reduceByKeyAndWindow hot word statistics, updateStateByKey full-state maintenance and mapWithSt...
MyBatis Quick Start - POM, Mapper, Core Files, CRUD Opera...
MyBatis quick start tutorial covering MyBatis development steps including POM dependency configuration, Mapper mapping files, SqlMapConfig core configuration file, and CRUD operations. Practical an...
Offline Data Warehouse Member Metrics Practice
Offline data warehouse member metrics practice with Flume, covering new members, active members, and retention metrics.
MyBatis Deep Dive - ORM Concepts, Mapping Relations, and ...
This article introduces the MyBatis framework in depth, starting from ORM concepts, explaining MyBatis development history, technical advantages, and comparisons with common ORM frameworks like Hib...
MySQL Master-Slave Replication: Read-Write Separation and...
This article provides an in-depth explanation of MySQL master-slave replication: master-slave mode, read-write separation, semi-sync replication principles and configuration.
MySQL Design Guide: Availability, Scalability, Consistency
This article provides an in-depth explanation of MySQL database design: availability (redundancy, failover), scalability (sharding, read-write separation), consistency (strong consistency vs eventu...
MySQL Deadlock: Principles, Scenarios and Prevention
This article provides an in-depth explanation of MySQL deadlocks: deadlock definition, necessary conditions, table lock deadlocks, row-level deadlocks, shared to exclusive lock conversion, deadlock...
MySQL Lock Mechanism: From Table Locks to Row Locks
This article provides an in-depth explanation of MySQL lock mechanisms: pessimistic locking, optimistic locking, table-level locks, row-level locks (shared locks, exclusive locks), intention locks,...
MySQL Parallel Replication: From 5.6 to 8.0 Evolution
This article provides an in-depth explanation of MySQL parallel replication technology: from 5.6 database-based parallel to 5.7 group commit-based to 8.0 writeset-based evolution.
MySQL Dual-Master Architecture and MMM High Availability
Deep dive into MySQL dual-master architecture and MMM high availability solution: dual-master mode, MMM fault handling, monitoring mechanism. This article analyzes principles and practical applicat...
MySQL MHA Master-Slave Failover: Architecture and Impleme...
Deep dive into MySQL MHA high availability solution: MHA architecture, fault handling, primary-standby switch, lag issues and solutions. This article analyzes principles and practical applications.
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.