Lin is Dream
Author

Lin is Dream

Sharing Java developer knowledge, practical articles, and continuous insights into computer engineering.

95
Articles
0
Likes
143
Views
0
Comments
Recent Articles

Latest from Lin is Dream

95 recent articles
Lin is Dream
Lin is Dream
May 15, 2025 · Backend Development

How to Build a Pluggable Operation Log System with AOP and Annotations in Java

This article explains a complete, reusable solution for recording operation logs in Java backend applications using Spring AOP, custom annotations, callback interfaces, and a user‑adapter to bridge third‑party logging libraries with the main program, enabling flexible storage and auditing.

AnnotationJavaOperation Log
0 likes · 8 min read
How to Build a Pluggable Operation Log System with AOP and Annotations in Java
Lin is Dream
Lin is Dream
May 14, 2025 · Operations

Master Nginx Rate Limiting: Prevent Abuse with limit_req & limit_conn

Learn how to protect your services from abusive traffic and brute‑force attacks by using Nginx's rate‑limiting features—limit_req to control request rates and limit_conn to restrict concurrent connections—complete with configuration examples, explanations of zones, burst handling, custom error pages, and log monitoring.

Traffic Controllimit_connlimit_req
0 likes · 6 min read
Master Nginx Rate Limiting: Prevent Abuse with limit_req & limit_conn
Lin is Dream
Lin is Dream
May 8, 2025 · Backend Development

Boost Large-Scale Excel Exports in Java with a Multi-Threaded EasyExcel Template

This article introduces a reusable Java template that leverages EasyExcel v3.3.2 to efficiently export massive backend datasets—such as orders or financial records—to Excel, supporting both multi‑threaded and synchronous modes, pagination, sheet splitting, and customizable query logic, thereby reducing repetitive code and improving performance.

EasyExcelExcel ExportJava
0 likes · 11 min read
Boost Large-Scale Excel Exports in Java with a Multi-Threaded EasyExcel Template
Lin is Dream
Lin is Dream
May 7, 2025 · Operations

How to Prevent Nginx Log Overgrowth with Automated Log Splitting

This guide explains why default Nginx logging can fill disks, then walks through disabling logging, clearing old files, re‑enabling logging, using a shell script to rotate logs by date, and scheduling the script with cron to keep server storage healthy.

log rotationserver operations
0 likes · 5 min read
How to Prevent Nginx Log Overgrowth with Automated Log Splitting
Lin is Dream
Lin is Dream
May 6, 2025 · Operations

How to Deploy an NFS Server on CentOS 7 for Shared Storage

Learn step‑by‑step how to install, configure, and launch an NFS server on CentOS 7, set up shared directories, edit export rules, adjust firewall settings, and mount the share on client machines, enabling reliable network file sharing for distributed and containerized environments.

CentOSLinuxNFS
0 likes · 7 min read
How to Deploy an NFS Server on CentOS 7 for Shared Storage
Lin is Dream
Lin is Dream
May 6, 2025 · Fundamentals

Master Git Basics: From Installation to Advanced Workflows

This guide walks beginners through Git fundamentals, covering installation, configuration, core commands, IDE integration, common workflows, and advanced operations like rebasing, resetting, and handling detached HEAD states, empowering developers to use version control confidently.

GitVersion Controlgit commands
0 likes · 11 min read
Master Git Basics: From Installation to Advanced Workflows
Lin is Dream
Lin is Dream
May 5, 2025 · Backend Development

Mastering MDC with Logback: Traceable Logging for Distributed Systems

This article explains how to use SLF4J's MDC with Logback to assign a unique trace ID to each request, propagate it across threads and services, and configure log patterns so that logs become fully traceable for easier debugging in distributed systems.

JavaThreadLocalTraceability
0 likes · 7 min read
Mastering MDC with Logback: Traceable Logging for Distributed Systems
Lin is Dream
Lin is Dream
Apr 30, 2025 · Operations

How to Implement Gray Release with Nginx: Step‑by‑Step Strategies

This article explains how to use Nginx to implement gray release—gradually rolling out a new application version to a subset of users—by configuring header‑based, cookie‑based, and IP‑address‑based routing strategies, detailing the required Nginx directives, deployment steps, and verification process.

gray-releasetomcattraffic routing
0 likes · 8 min read
How to Implement Gray Release with Nginx: Step‑by‑Step Strategies