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.

225
Articles
0
Likes
1.1k
Views
0
Comments
Recent Articles

Latest from LuTiao Programming

100 recent articles max
LuTiao Programming
LuTiao Programming
Aug 11, 2026 · Operations

Why Relying Only on top and jstack Is Outdated: Embracing JDK Flight Recorder for Modern Java Troubleshooting

The article explains how JDK Flight Recorder (JFR) provides low‑overhead, continuous JVM event recording that outperforms traditional snapshot tools like top, jstack, and jmap, and offers practical commands and use‑cases for diagnosing CPU spikes, GC issues, thread contention, and latency problems in production Java services.

JDK Flight RecorderJava performanceProduction Troubleshooting
0 likes · 13 min read
Why Relying Only on top and jstack Is Outdated: Embracing JDK Flight Recorder for Modern Java Troubleshooting
LuTiao Programming
LuTiao Programming
Jul 25, 2026 · Backend Development

Why Delayed Double Delete Fails: A Hierarchical Java Design for MySQL‑Redis Consistency

The article analyzes why MySQL and Redis cannot guarantee strong consistency with simple cache‑aside patterns, explains the pitfalls of delayed double delete, and presents a tiered Java design—including transaction‑after‑commit deletion, retryable invalidation, CDC/Outbox pipelines, TTL safeguards, and multi‑level cache considerations—to achieve reliable cache consistency.

CDCCache invalidationJava
0 likes · 22 min read
Why Delayed Double Delete Fails: A Hierarchical Java Design for MySQL‑Redis Consistency
LuTiao Programming
LuTiao Programming
Jul 24, 2026 · Backend Development

Why Scheduled Tasks Run Multiple Times in a Cluster – The Real Issue Isn’t Quartz but Poor Architecture

When a Java application that uses Spring’s @Scheduled moves from a single server to a cluster, the same job may execute on every node, causing duplicate orders, messages, and data; the article explains why this happens, examines common lock‑based fixes and their pitfalls, and proposes a robust, idempotent, sharded task architecture.

@ScheduledBackendDistributed Lock
0 likes · 15 min read
Why Scheduled Tasks Run Multiple Times in a Cluster – The Real Issue Isn’t Quartz but Poor Architecture
LuTiao Programming
LuTiao Programming
Jul 22, 2026 · Backend Development

Why Does Pagination Slow Down at 10 Million Records? Rethinking MySQL LIMIT in Java Backends

The article explains why deep pagination with large offsets becomes increasingly slow, why adding indexes often does not help, examines common “optimizations” like delayed joins, introduces cursor (keyset) pagination as a high‑performance alternative, and provides practical guidelines for designing pagination APIs in Java back‑ends at scale.

Deep PaginationJavaMySQL
0 likes · 16 min read
Why Does Pagination Slow Down at 10 Million Records? Rethinking MySQL LIMIT in Java Backends
LuTiao Programming
LuTiao Programming
Jul 20, 2026 · Artificial Intelligence

AI Coding Agents Boost PRs 24%—Why Java Teams Face New Challenges

Microsoft’s study of tens of thousands of engineers shows AI coding agents raise merged pull requests by 24%, but the metric masks deeper issues: faster code production creates verification bottlenecks, knowledge debt, and a shift from coding to review that Java teams must address.

AI AgentsAI codingCode Review
0 likes · 14 min read
AI Coding Agents Boost PRs 24%—Why Java Teams Face New Challenges