Shepherd Advanced Notes
Author

Shepherd Advanced Notes

Dedicated to sharing advanced Java technical insights, daily work snippets, and the power of persistent effort.

122
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Shepherd Advanced Notes

100 recent articles max
Shepherd Advanced Notes
Shepherd Advanced Notes
Apr 10, 2023 · Backend Development

Understanding Spring @Conditional and Its Derived Annotations

This article explains how Spring Boot’s @Conditional annotation works, shows how to implement custom Condition classes for language switching, and reviews the suite of derived annotations such as @ConditionalOnBean, @ConditionalOnMissingBean, @ConditionalOnClass, @ConditionalOnMissingClass, and @ConditionalOnProperty with concrete code examples.

@ConditionalConditionalOnBeanConditionalOnProperty
0 likes · 9 min read
Understanding Spring @Conditional and Its Derived Annotations
Shepherd Advanced Notes
Shepherd Advanced Notes
Apr 3, 2023 · Backend Development

Deep Dive into Spring’s @ComponentScan: Usage and Underlying Mechanics

This article explains why Spring Boot is popular, how @ComponentScan discovers @Component, @Controller, @Service, and @Repository beans across packages, demonstrates usage with code examples, and details the internal processing flow involving ConfigurationClassPostProcessor and related parsers.

AnnotationConfigurationDependency Injection
0 likes · 15 min read
Deep Dive into Spring’s @ComponentScan: Usage and Underlying Mechanics
Shepherd Advanced Notes
Shepherd Advanced Notes
Mar 27, 2023 · Databases

Why MySQL Uses B+ Trees for Indexing

The article explains the fundamentals of tree data structures, compares B, B+, B*, and red‑black trees, and shows how B+ trees reduce disk I/O and improve range query performance, which is why MySQL adopts B+ trees for its indexes.

B+TreeData StructuresMySQL
0 likes · 15 min read
Why MySQL Uses B+ Trees for Indexing
Shepherd Advanced Notes
Shepherd Advanced Notes
Mar 22, 2023 · Databases

Mastering MySQL Indexes: Advanced Concepts and Practical Tips

This article provides a comprehensive deep‑dive into MySQL indexing, covering the definition, pros and cons, differences between clustered and non‑clustered indexes, InnoDB vs MyISAM implementations, B+Tree structure, capacity calculations, adaptive hash indexes, index pushdown optimization, and how to interpret EXPLAIN output to verify index usage.

Adaptive Hash IndexB+TreeClustered Index
0 likes · 18 min read
Mastering MySQL Indexes: Advanced Concepts and Practical Tips
Shepherd Advanced Notes
Shepherd Advanced Notes
Mar 9, 2023 · Databases

Understanding MySQL’s SQL Execution Flow and Transaction Mechanics

This article explains MySQL’s internal architecture, walks through how a SELECT query and an UPDATE statement are processed—including the connector, parser, optimizer, executor, redo log, binlog, and two‑phase commit—and details transaction properties, isolation levels, MVCC, and related configuration parameters.

ACIDBinlogInnoDB
0 likes · 19 min read
Understanding MySQL’s SQL Execution Flow and Transaction Mechanics
Shepherd Advanced Notes
Shepherd Advanced Notes
Feb 13, 2023 · Backend Development

Elasticsearch Advanced Guide: Core Concepts and Implementation Principles

This article provides a comprehensive technical overview of Elasticsearch, covering core concepts such as indexes, types, documents, fields, mappings, shards and replicas, the cluster architecture, routing, write and read workflows, segment handling, translog, refresh and flush mechanisms, as well as practical optimization recommendations for hardware, shard strategy, routing, write performance and memory configuration.

Cluster ArchitectureElasticsearchIndexing
0 likes · 36 min read
Elasticsearch Advanced Guide: Core Concepts and Implementation Principles