LuTiao Programming
Author

LuTiao Programming

LuTiao Programming is a friendly community offering free programming lessons. We inspire learners to explore new ideas and technologies and quickly acquire job-ready skills.

157
Articles
0
Likes
81
Views
0
Comments
Recent Articles

Latest from LuTiao Programming

100 recent articles max
LuTiao Programming
LuTiao Programming
Mar 23, 2026 · Backend Development

Stop Using Cron: From Single-Node to Distributed Scheduling to Reach >1k Tasks/s

The article explains why traditional Cron‑based scheduling fails under high load, walks through three architectural stages—from database polling to Redis delay queues and finally a full distributed scheduler—showing code examples, design trade‑offs, and performance numbers that enable thousands of tasks per second.

CronDistributed SchedulingJava
0 likes · 8 min read
Stop Using Cron: From Single-Node to Distributed Scheduling to Reach >1k Tasks/s
LuTiao Programming
LuTiao Programming
Mar 22, 2026 · Backend Development

Beyond Tomcat: Which Spring Boot Embedded Server—Jetty or Undertow—Delivers the Best Performance?

The article examines Spring Boot’s three embedded servers—Tomcat, Jetty, and Undertow—explaining why the default Tomcat may become a bottleneck in high‑concurrency, low‑latency microservices, and provides step‑by‑step guidance for switching servers, configuring key parameters, and selecting the optimal server based on workload characteristics.

Embedded ServerJettyPerformance
0 likes · 9 min read
Beyond Tomcat: Which Spring Boot Embedded Server—Jetty or Undertow—Delivers the Best Performance?
LuTiao Programming
LuTiao Programming
Mar 21, 2026 · Backend Development

Why Sticking with Java 8 Is Holding You Back: A Deep Dive into Java 26’s HTTP/3 and Structured Concurrency

The article explains how Java’s six‑month release cadence has led to JDK 26’s major upgrades—including HTTP/3, Structured Concurrency, stronger final‑field immutability, AOT object caching, G1 GC enhancements, Lazy Constants, pattern‑matching extensions, Vector API and PEM support—showing the performance, latency and security gains developers can unlock by moving beyond Java 8.

G1 GCHTTP/3JDK 26
0 likes · 9 min read
Why Sticking with Java 8 Is Holding You Back: A Deep Dive into Java 26’s HTTP/3 and Structured Concurrency
LuTiao Programming
LuTiao Programming
Mar 19, 2026 · Backend Development

Why 90% of Developers Get Java REST API Design Wrong—and the Correct Approach

Most teams treat REST APIs as merely functional, leading to chaotic naming, frequent breaking changes, rising front‑end costs, and JVM pressure; this article re‑examines REST’s constraint‑based architecture and presents concrete Java‑centric design principles, best‑practice guidelines, and implementation examples to build sustainable, evolvable APIs.

API designJAX-RSJava
0 likes · 9 min read
Why 90% of Developers Get Java REST API Design Wrong—and the Correct Approach
LuTiao Programming
LuTiao Programming
Mar 18, 2026 · Backend Development

Why Java Performance Is Secretly Crushed by Strings: Hidden Memory Killers Most Developers Miss

A production outage caused by OutOfMemoryError revealed that millions of duplicate String objects—originating from HTTP headers, JSON keys, and other common fields—were silently inflating heap usage, and the article shows how to diagnose, optimize, and prevent such hidden String-related memory problems in Java applications.

Escape AnalysisGCIntern
0 likes · 7 min read
Why Java Performance Is Secretly Crushed by Strings: Hidden Memory Killers Most Developers Miss
LuTiao Programming
LuTiao Programming
Mar 18, 2026 · Backend Development

Spring Boot 4 + Project Leyden: How Java’s Startup Now Rivals Go in 2026

The article explains how Java’s long‑standing startup latency problem is solved by Project Leyden and Spring Boot 4’s snapshot‑based launch, delivering sub‑150 ms startup, under 120 MB memory, and near‑real‑time scaling that bring Java’s performance on par with Go for cloud‑native workloads.

Go comparisonJava performanceProject Leyden
0 likes · 7 min read
Spring Boot 4 + Project Leyden: How Java’s Startup Now Rivals Go in 2026
LuTiao Programming
LuTiao Programming
Mar 15, 2026 · Backend Development

How Java Virtual Threads Eliminate Thread‑Pool Bottlenecks and Enable a Single Machine to Handle 100k Requests

The article explains why traditional OS‑based thread pools choke under 100,000 concurrent Java requests, introduces Java 21's Virtual Threads from Project Loom, shows their low‑memory, high‑throughput characteristics, provides Spring Boot configuration and code samples, and warns about synchronization, ThreadLocal and CPU‑bound pitfalls.

I/OJavaPerformance
0 likes · 10 min read
How Java Virtual Threads Eliminate Thread‑Pool Bottlenecks and Enable a Single Machine to Handle 100k Requests
LuTiao Programming
LuTiao Programming
Mar 14, 2026 · Backend Development

Why Your Spring Boot App Freezes at One Million Records – 5 Proven Techniques to Double Performance

When a Spring Boot application reaches millions of rows, it often suffers from OutOfMemoryErrors, slow queries, and high CPU, but by applying five proven strategies—pagination, streaming, batch processing, indexing, and asynchronous execution—you can halve memory usage and achieve up to ten‑fold speed gains.

Asynchronous ExecutionBatch ProcessingIndexing
0 likes · 11 min read
Why Your Spring Boot App Freezes at One Million Records – 5 Proven Techniques to Double Performance