Lin is Dream
Author

Lin is Dream

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

97
Articles
0
Likes
289
Views
0
Comments
Recent Articles

Latest from Lin is Dream

97 recent articles
Lin is Dream
Lin is Dream
Aug 25, 2025 · Backend Development

How to Build a Mini‑Netty Pipeline that Decouples Decoding from Business Logic

This article explains how to redesign a Java NIO server by introducing a Netty‑style pipeline that separates decoding, logging, authentication, and business handling into independent handlers, improving extensibility, maintainability, and performance while providing complete sample code and initialization steps.

Design PatternsJavaNetwork Programming
0 likes · 15 min read
How to Build a Mini‑Netty Pipeline that Decouples Decoding from Business Logic
Lin is Dream
Lin is Dream
Aug 22, 2025 · Backend Development

Mastering Asynchronous Writes in Java NIO: Build a Reliable Write Queue

This article explains why direct writes to a Java NIO channel fail for large messages, introduces a write‑queue and OP_WRITE listener to handle partial writes, and provides a complete PacketWriter implementation that transforms synchronous writes into efficient asynchronous operations.

Java NIONon-blocking IOSocketChannel
0 likes · 9 min read
Mastering Asynchronous Writes in Java NIO: Build a Reliable Write Queue
Lin is Dream
Lin is Dream
Aug 18, 2025 · Backend Development

Boost Java NIO Performance with a Multi‑Threaded Boss‑Worker Server Model

This article explains how to overcome the single‑threaded bottleneck of Java NIO by introducing a Boss‑Worker architecture, detailing the design of multiple Selectors, thread binding, client implementation, performance considerations, and provides complete open‑source code examples.

Boss-WorkerJavaNIO
0 likes · 11 min read
Boost Java NIO Performance with a Multi‑Threaded Boss‑Worker Server Model
Lin is Dream
Lin is Dream
Aug 15, 2025 · Backend Development

Why Java NIO Beats BIO: Mastering Non‑Blocking Network Programming

This article explains what network programming is, why it matters beyond HTTP, compares BIO and NIO models, dives into Java NIO's design with selectors, channels, and ByteBuffer methods, provides full server/client code examples, and shows how Netty simplifies high‑performance networking.

ByteBufferJavaNIO
0 likes · 23 min read
Why Java NIO Beats BIO: Mastering Non‑Blocking Network Programming
Lin is Dream
Lin is Dream
Aug 8, 2025 · Backend Development

How to Build a Low‑Cost Private Object Storage Service with Nginx and MinIO

This article walks through creating a self‑hosted object storage solution by configuring Nginx for static file serving, implementing secure downloads with X‑Accel‑Redirect and signed URLs, and deploying MinIO as an S3‑compatible service, complete with Spring Boot integration and sample code.

MinioObject StorageSigned URL
0 likes · 17 min read
How to Build a Low‑Cost Private Object Storage Service with Nginx and MinIO
Lin is Dream
Lin is Dream
Jul 30, 2025 · Backend Development

Master Java NIO: Simplify Large File Read/Write with ByteBuffer in 5 Steps

This article explains the fundamentals of Java NIO, showing how to use Channels and ByteBuffer to efficiently read, write, and manipulate large files, including memory‑mapped files and RandomAccessFile alternatives, with clear code examples and step‑by‑step guidance.

ByteBufferFile I/OFileChannel
0 likes · 18 min read
Master Java NIO: Simplify Large File Read/Write with ByteBuffer in 5 Steps
Lin is Dream
Lin is Dream
Jul 23, 2025 · Backend Development

Why Maven's Resource Filtering Breaks Binary Certificates and How to Fix It

The article explains how Maven's default resource filtering corrupts binary .p12 certificates during packaging, causing Spring Boot startup failures, and provides a step‑by‑step solution using dual resource configurations and best practices for handling binary files in Java backend projects.

CertificateJavaResource Filtering
0 likes · 7 min read
Why Maven's Resource Filtering Breaks Binary Certificates and How to Fix It