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
3.8k
Views
0
Comments
Recent Articles

Latest from macrozheng

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

Mastering Druid Connection Pool in Spring Boot: Advanced Optimization Guide

This comprehensive guide walks through preparing the environment, fine‑tuning core Druid pool parameters, building a robust monitoring system, strengthening security, detecting connection leaks, applying advanced runtime tweaks, and avoiding common pitfalls to achieve high performance and stability in production Spring Boot applications.

Connection PoolDruidPerformance tuning
0 likes · 12 min read
Mastering Druid Connection Pool in Spring Boot: Advanced Optimization Guide
macrozheng
macrozheng
Dec 29, 2025 · Fundamentals

Discover Fresh: A Fast, Lightweight Rust‑Based Terminal Text Editor

Fresh is a newly open‑source, Rust‑built terminal editor that offers a lightweight, fast, and feature‑rich experience with GUI‑like usability, multi‑platform support, zero‑delay performance, and extensibility through plugins, plus simple installation via Homebrew, Pacman, or npm.

CLIFreshInstallation
0 likes · 5 min read
Discover Fresh: A Fast, Lightweight Rust‑Based Terminal Text Editor
macrozheng
macrozheng
Dec 26, 2025 · Databases

NewSQL vs Middleware Sharding: Which Architecture Really Wins?

This article objectively compares middleware‑based sharding solutions with native NewSQL distributed databases, examining their architectural differences, transaction handling, high‑availability, scaling, SQL support, storage engines, and maturity to help engineers decide which approach best fits their workload.

CAP theoremNewSQLPaxos
0 likes · 20 min read
NewSQL vs Middleware Sharding: Which Architecture Really Wins?
macrozheng
macrozheng
Dec 24, 2025 · Fundamentals

How to Undo a Pushed Commit in Git: Revert, Reset, and Branch Strategies

This guide explains multiple ways to roll back code that has already been pushed to a remote Git repository, covering manual comparison, the git revert command, creating a new branch, and using reset with force‑push while highlighting safety considerations.

BranchForce PushVersion Control
0 likes · 7 min read
How to Undo a Pushed Commit in Git: Revert, Reset, and Branch Strategies
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 DevelopmentJavaScheduling
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.

LIMITMySQLOptimization
0 likes · 9 min read
Why LIMIT Pagination Slows Down on Large Tables and How to Optimize It