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
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.

Body vs ParamsContent-TypeRequest Parameters
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.

File UploadJavaNFS
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 debuggingmacOS
0 likes · 8 min read
Master HTTP/HTTPS Debugging on macOS with Charles: A Step‑by‑Step Guide
Lin is Dream
Lin is Dream
Mar 21, 2025 · Backend Development

From Postman to Spring Boot: How HTTP Requests Travel Through Nginx and Tomcat

This article walks through the complete lifecycle of an HTTP API call initiated with Postman, covering DNS resolution, TCP/IP connection, Nginx reverse proxy and load balancing, Spring Boot request handling, service layer processing, JSON serialization, and the final response delivery back to Postman.

APIHTTPNginx
0 likes · 7 min read
From Postman to Spring Boot: How HTTP Requests Travel Through Nginx and Tomcat
Lin is Dream
Lin is Dream
Mar 19, 2025 · Information Security

Master Encryption: Symmetric, Asymmetric, Certificates & Code Samples Explained

This article explains common encryption and signing algorithms—including AES, SM4, RSA2, and SM2—covers key representations in hex and Base64, details digital certificate structures, CSR application, TLS usage scenarios, OpenSSL commands for PEM conversion, and provides Java and JavaScript code examples for secure communication.

JavaNginxOpenSSL
0 likes · 27 min read
Master Encryption: Symmetric, Asymmetric, Certificates & Code Samples Explained
Lin is Dream
Lin is Dream
Mar 18, 2025 · Information Security

Master OpenSSL on CentOS: Install, Upgrade, and Generate RSA/SM2 Keys

This article explains OpenSSL’s origins, its role in encryption on CentOS, common use cases such as web servers and database security, provides step‑by‑step installation and upgrade commands, and demonstrates how to generate RSA, SM2, AES, and SM4 keys via the OpenSSL command line and Java alternatives.

CentOSJavaOpenSSL
0 likes · 8 min read
Master OpenSSL on CentOS: Install, Upgrade, and Generate RSA/SM2 Keys
Lin is Dream
Lin is Dream
Mar 17, 2025 · Backend Development

How Web Containers Stay Alive: Inside Java Servlets, Netty, and Sockets

Web containers, such as Tomcat, keep running by continuously listening on network ports with socket servers and thread pools, handling I/O requests; this article explains the role of the main function, servlet lifecycle, Netty’s NIO framework, and why WebFlux‑based gateways outperform traditional Tomcat setups.

JavaNettyServlet
0 likes · 5 min read
How Web Containers Stay Alive: Inside Java Servlets, Netty, and Sockets
Lin is Dream
Lin is Dream
Mar 16, 2025 · Fundamentals

Mastering TPS and QPS: Simple Calculations and Real-World Examples

This article explains the key performance metrics TPS (transactions per second) and QPS (queries per second), provides formulas for calculating them, and demonstrates practical calculations for multi-node deployments, illustrating how request latency, thread pools, and instance count affect overall system concurrency and throughput.

QPSTPScapacity planning
0 likes · 3 min read
Mastering TPS and QPS: Simple Calculations and Real-World Examples
Lin is Dream
Lin is Dream
Mar 15, 2025 · Fundamentals

Mastering macOS Network Settings: DHCP, DNS, NAT, VPN & More Explained

This guide walks through macOS network configuration on a MacBook Pro M1, covering Wi‑Fi advanced settings, TCP/IP fundamentals such as DHCP, IP addressing and subnet masks, NAT translation, routing tables, DNS servers, proxy types, VPN (L2TP) setup, SSH usage, and Ethernet interface details.

DHCPDNSNAT
0 likes · 18 min read
Mastering macOS Network Settings: DHCP, DNS, NAT, VPN & More Explained