Lin is Dream
Author

Lin is Dream

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

102
Articles
0
Likes
614
Views
0
Comments
Recent Articles

Latest from Lin is Dream

100 recent articles max
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.

Server Operationslog rotation
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.

GitGit CommandsGit workflow
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.

Distributed SystemsJavaMDC
0 likes · 7 min read
Mastering MDC with Logback: Traceable Logging for Distributed Systems
Lin is Dream
Lin is Dream
May 3, 2025 · Backend Development

Master Java Bean Validation: Reduce Redundant Code with JSR‑380 Annotations

This tutorial shows how to use Javax Validator annotations to simplify backend service interfaces, covering basic, collection, date, enum, conditional, group, and custom validations with complete Maven dependencies and example code, plus handling of validation exceptions.

BackendBean ValidationJSR-380
0 likes · 16 min read
Master Java Bean Validation: Reduce Redundant Code with JSR‑380 Annotations
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.

Tomcatgray releasetraffic routing
0 likes · 8 min read
How to Implement Gray Release with Nginx: Step‑by‑Step Strategies
Lin is Dream
Lin is Dream
Apr 29, 2025 · Backend Development

When to Use Body vs Params in Spring Boot APIs: A Practical Guide

This article explains the differences between Body and Params parameters in Spring Boot, covering various Content‑Type configurations such as query, x‑www‑form‑urlencoded, form‑data, binary, and JSON, and provides code examples and a clear comparison table to help developers choose the right approach for stable and efficient API design.

API DesignBody vs ParamsContent-Type
0 likes · 6 min read
When to Use Body vs Params in Spring Boot APIs: A Practical Guide
Lin is Dream
Lin is Dream
Apr 29, 2025 · Backend Development

How to Build a Scalable Chunked File Upload Service with Java and Redis

This article explains how to design and implement a reliable, resumable multipart file upload system in Java, using Redis for session tracking, FileChannel for zero‑copy merging, progress monitoring, checkpoint files for resume support, and NFS shared storage for Docker‑based distributed deployments.

Chunked UploadFile UploadJava
0 likes · 18 min read
How to Build a Scalable Chunked File Upload Service with Java and Redis
Lin is Dream
Lin is Dream
Apr 28, 2025 · Fundamentals

Master HTTP/HTTPS Debugging on macOS with Charles: A Step‑by‑Step Guide

This tutorial walks you through using Charles on macOS to capture and manipulate HTTP and HTTPS traffic for both PC and mobile devices, covering proxy configuration, SSL handling, breakpoints, throttling, DNS spoofing, request rewriting, remote/local redirection, and basic stress testing.

CharlesHTTP debuggingProxy
0 likes · 8 min read
Master HTTP/HTTPS Debugging on macOS with Charles: A Step‑by‑Step Guide