macrozheng
Author

macrozheng

Dedicated to Java tech sharing and dissecting top open-source projects. Topics include Spring Boot, Spring Cloud, Docker, Kubernetes and more. Author’s GitHub project “mall” has 50K+ stars.

1.3k
Articles
0
Likes
4.9k
Views
0
Comments
Recent Articles

Latest from macrozheng

100 recent articles max
macrozheng
macrozheng
Dec 22, 2025 · Backend Development

Why Your Java ThreadPool Threads Aren’t Releasing and How Shutdown Fixes It

The article investigates a Java application that accumulated nearly a thousand waiting threads without high CPU or memory usage, identifies a custom FixedThreadPool as the cause, explains how thread pools become GC roots, and demonstrates that calling shutdown or shutdownNow properly releases both threads and the pool.

ConcurrencyExecutorServiceGarbageCollection
0 likes · 13 min read
Why Your Java ThreadPool Threads Aren’t Releasing and How Shutdown Fixes It
macrozheng
macrozheng
Dec 17, 2025 · Backend Development

How to Deploy RustFS with Docker and Integrate It into a SpringBoot Application

This guide walks you through installing the RustFS distributed object storage via Docker, using its visual console, and configuring a SpringBoot project to upload and delete files through the RustFS S3‑compatible API, complete with code snippets and practical screenshots.

AWS S3 CompatibilityBackend DevelopmentObject Storage
0 likes · 9 min read
How to Deploy RustFS with Docker and Integrate It into a SpringBoot Application
macrozheng
macrozheng
Dec 16, 2025 · Backend Development

Master Spring Task: Build, Schedule, and Optimize Timed Jobs in Spring Boot

This guide explains what Spring Task is, walks through three steps to set up scheduled jobs in Spring Boot, demystifies Cron expressions, showcases common use cases, offers advanced configuration tips, warns about pitfalls, and outlines performance‑tuning and future directions for reliable backend scheduling.

Backend DevelopmentCronJava
0 likes · 9 min read
Master Spring Task: Build, Schedule, and Optimize Timed Jobs in Spring Boot
macrozheng
macrozheng
Dec 8, 2025 · Databases

Why LIMIT Pagination Slows Down on Large Tables and How to Optimize It

This tutorial demonstrates how MySQL LIMIT pagination performs on tables with millions of rows, measures query times for various offsets and batch sizes, and presents practical optimization techniques such as sub‑queries, ID‑range filtering, and column selection to improve speed.

LIMITMySQLPagination
0 likes · 9 min read
Why LIMIT Pagination Slows Down on Large Tables and How to Optimize It
macrozheng
macrozheng
Dec 5, 2025 · Databases

Why UUID Primary Keys Slow Down MySQL and How to Optimize Them

This article explains how using UUIDs as primary keys in MySQL can degrade index efficiency, insert and query performance, and cause costly index refreshes on updates, then presents practical techniques such as ordered UUIDs, binary storage, hybrid keys, and partitioning to mitigate these issues.

MySQLPerformanceUUID
0 likes · 8 min read
Why UUID Primary Keys Slow Down MySQL and How to Optimize Them
macrozheng
macrozheng
Dec 5, 2025 · Backend Development

Mastering @ConfigurationProperties and @PropertySources in Spring Boot

This article provides a comprehensive guide to using Spring Boot's @ConfigurationProperties and @PropertySources annotations, covering their purpose, usage steps, code examples, and the differences between them for effective configuration management in Java backend applications.

Backend DevelopmentConfiguration ManagementJava
0 likes · 11 min read
Mastering @ConfigurationProperties and @PropertySources in Spring Boot
macrozheng
macrozheng
Dec 3, 2025 · Databases

How Redis’s New Multithreaded Query Engine Boosts Vector Search Performance

Redis has introduced a multithreaded query engine that dramatically reduces latency and increases throughput—up to 16×—for vector similarity searches, enabling vertical scaling and better support for real‑time RAG applications compared to traditional single‑threaded architectures and competing vector databases.

RAGRedisVector Database
0 likes · 6 min read
How Redis’s New Multithreaded Query Engine Boosts Vector Search Performance
macrozheng
macrozheng
Dec 1, 2025 · Operations

How to Install and Use Meteor-Console: A Non‑Intrusive Java Diagnostic Tool

This guide introduces Meteor-Console, a customized, non‑intrusive Java diagnostic tool built on Arthas, explains its architecture, provides step‑by‑step installation commands, lists key features such as JVM class query and method monitoring, and shares the open‑source repository link.

ArthasInstallationJava
0 likes · 3 min read
How to Install and Use Meteor-Console: A Non‑Intrusive Java Diagnostic Tool