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
Jun 24, 2026 · Backend Development

Boosting Throughput 10×: Architecture Evolution and Tuning for High‑Concurrency Batch Processing

The article details how a sluggish batch‑processing system handling millions of records was redesigned with XXL‑JOB sharding, Redis‑based dynamic task distribution, cursor pagination, and selective transaction scopes, achieving nearly ten‑fold throughput improvement while addressing resource contention, load‑balancing, and reliable result reconciliation.

Batch ProcessingJavaMySQL
0 likes · 19 min read
Boosting Throughput 10×: Architecture Evolution and Tuning for High‑Concurrency Batch Processing
Shepherd Advanced Notes
Shepherd Advanced Notes
Mar 27, 2026 · Backend Development

Stop Using cat Blindly: Practical Linux Commands for GB‑Scale Backend Log Troubleshooting

When production logs grow to gigabytes, opening them with editors like vi or cat can crash your system; this article systematically presents essential Linux commands—grep, awk, sed, tail, less, and their pipelines—showing how to efficiently search, filter, and analyze massive logs for rapid backend issue resolution.

awkbackend debugginggrep
0 likes · 18 min read
Stop Using cat Blindly: Practical Linux Commands for GB‑Scale Backend Log Troubleshooting
Shepherd Advanced Notes
Shepherd Advanced Notes
Feb 4, 2026 · Backend Development

Mastering Java Code Comments: The Ultimate Guide to High‑Quality, Readable, Architecture‑Level Documentation

The article explains why high‑quality Javadoc is essential for enterprise‑level Java backend projects, walks through the most common Javadoc tags and HTML elements, provides concrete code examples—including @param, @return, @throws, @see, @deprecated—and shows how thorough comments improve readability, maintainability, and serve as a catalyst for refactoring.

Backend DevelopmentJavabest practices
0 likes · 14 min read
Mastering Java Code Comments: The Ultimate Guide to High‑Quality, Readable, Architecture‑Level Documentation
Shepherd Advanced Notes
Shepherd Advanced Notes
Jan 13, 2026 · Fundamentals

How to Name Code for Maximum Readability and Maintainability

The article explains why clean, well‑named code is essential for productivity, outlines the hidden costs of messy naming, and provides concrete guidelines and examples—including variable, class, package, and method naming patterns—to help developers write code that communicates clearly with both machines and engineers.

best practicescode namingmaintainability
0 likes · 19 min read
How to Name Code for Maximum Readability and Maintainability
Shepherd Advanced Notes
Shepherd Advanced Notes
Nov 28, 2025 · Backend Development

Hard‑Learned MyBatis‑Plus Pitfalls and How to Avoid Them in Production

The article reviews the most common MyBatis‑Plus traps encountered in large‑scale Java services—duplicate Snowflake IDs, batch‑insert reordering, enum storage mismatches, camel‑case mapping errors, auto‑fill loss, and JSON field disappearance—explaining each root cause, illustrating it with real code snippets, and providing concrete solutions to keep production systems stable.

Auto FillBatch InsertEnum Mapping
0 likes · 19 min read
Hard‑Learned MyBatis‑Plus Pitfalls and How to Avoid Them in Production
Shepherd Advanced Notes
Shepherd Advanced Notes
Nov 21, 2025 · Frontend Development

From Backend to Frontend: Master Vue‑Vben‑Admin for Full‑Stack Development

This guide walks Java backend engineers through discovering, setting up, and extending the Vue‑Vben‑Admin admin scaffold—built with Vue3, TypeScript, and Vite—by mapping its architecture to familiar backend concepts, demonstrating a complete test page, and explaining why the framework accelerates full‑stack skill growth.

AdminFull-StackTypeScript
0 likes · 10 min read
From Backend to Frontend: Master Vue‑Vben‑Admin for Full‑Stack Development
Shepherd Advanced Notes
Shepherd Advanced Notes
Oct 24, 2025 · Backend Development

Why Choose Spring Boot + DelayQueue for a Custom Distributed Delayed-Task Queue?

The article systematically analyzes common distributed delayed‑task implementations—Redis ZSet scanning, message‑queue delay features, and Redis key‑expiration listeners—highlighting their pros, cons, and suitable scenarios, then proposes a Spring Boot + DelayQueue component to achieve precise timing, dynamic delays, and robust coordination.

DelayQueueDelayed TasksKafka
0 likes · 11 min read
Why Choose Spring Boot + DelayQueue for a Custom Distributed Delayed-Task Queue?
Shepherd Advanced Notes
Shepherd Advanced Notes
Sep 3, 2025 · Backend Development

Deep Dive into Flowable: Core Concepts, Architecture, and Spring Boot Integration

This article explains what a workflow engine is, outlines Flowable’s core architecture and BPMN support, and provides a step‑by‑step Spring Boot integration example—including Maven setup, BPMN model definition, and Java code for starting, submitting, and approving a leave request—while discussing version and archiving recommendations.

BPMNFlowableJava
0 likes · 13 min read
Deep Dive into Flowable: Core Concepts, Architecture, and Spring Boot Integration
Shepherd Advanced Notes
Shepherd Advanced Notes
Aug 7, 2025 · Backend Development

From Java 8 Stubbornness to Java 21: My Upgrade Journey and New Language Features

The article walks through the author's personal upgrade from Java 8 to Java 21, comparing preview features, pattern‑matching instanceof, switch expressions, text blocks, the new HTTP client, var inference, virtual threads, records, immutable collections, try‑with‑resources improvements and other enhancements, while rating each feature’s practicality.

JDK21JavaJava8
0 likes · 16 min read
From Java 8 Stubbornness to Java 21: My Upgrade Journey and New Language Features