java1234
Author

java1234

Former senior programmer at a Fortune Global 500 company, dedicated to sharing Java expertise. Visit Feng's site: Java Knowledge Sharing, www.java1234.com

87
Articles
0
Likes
161
Views
0
Comments
Recent Articles

Latest from java1234

87 recent articles
java1234
java1234
Feb 3, 2026 · Backend Development

Boost API Latency 10× with Spring Boot 3 and a Local Cache Pyramid

The article demonstrates how to achieve a ten‑fold reduction in API response time by building a three‑level cache pyramid (Caffeine L1, Redis L2, DB L3) in Spring Boot 3, covering dependencies, configuration, core template code, warm‑up, monitoring, load‑test results and common high‑concurrency pitfalls.

CacheCaffeineJava
0 likes · 8 min read
Boost API Latency 10× with Spring Boot 3 and a Local Cache Pyramid
java1234
java1234
Jan 31, 2026 · Backend Development

How to Perform Transaction Processing in RabbitMQ with Java

RabbitMQ supports transactional messaging to guarantee atomic delivery, using txSelect to start, txCommit to finalize, and txRollback to abort; this article explains the mechanism, outlines its advantages and performance drawbacks, and provides a complete Java example with step‑by‑step code walkthrough.

JavaMessage QueueRabbitMQ
0 likes · 5 min read
How to Perform Transaction Processing in RabbitMQ with Java
java1234
java1234
Jan 31, 2026 · Interview Experience

Why Detailed Interview Questions Often Lead to No Follow‑Up

The article explains that big‑tech firms ask deep, “onion‑layer” questions to gauge a candidate’s potential and thinking ability, while smaller companies focus on detailed, practical queries to confirm immediate competence, and mismatches between these expectations often cause interview silence.

Growth PotentialJavaSME
0 likes · 12 min read
Why Detailed Interview Questions Often Lead to No Follow‑Up
java1234
java1234
Jan 30, 2026 · Backend Development

How to Reduce MyBatis Batch Insert from 5 Minutes to 3 Seconds? Three Key Optimizations

The article walks through three concrete optimizations—batch SQL, JDBC batch mode with rewriteBatchedStatements, and multithreaded parallel inserts—that shrink a 100,000‑row MyBatis insertion from five minutes to three seconds, while highlighting configuration details, performance gains, and common pitfalls.

Batch InsertJavaMyBatis
0 likes · 10 min read
How to Reduce MyBatis Batch Insert from 5 Minutes to 3 Seconds? Three Key Optimizations
java1234
java1234
Jan 29, 2026 · Fundamentals

When Over‑Encapsulation Breaks Your Code: Real‑World Pitfalls and Fixes

The article analyzes three common forms of bad encapsulation in Java—over‑encapsulation, false encapsulation, and chaotic encapsulation—illustrates their hidden risks with concrete code examples, and offers practical principles to restore clear responsibilities, minimal interfaces, and flexible design.

EncapsulationJavaObject-Oriented
0 likes · 13 min read
When Over‑Encapsulation Breaks Your Code: Real‑World Pitfalls and Fixes
java1234
java1234
Jan 27, 2026 · Backend Development

7 Proven Spring Boot Startup Hacks to Slash Over 70% of Boot Time

This article presents seven concrete Spring Boot startup optimization techniques—including lazy bean initialization, precise component scanning, JVM flag tuning, auto‑configuration pruning, class‑loading shortcuts, lazy database connections, and GraalVM native compilation—backed by real‑world benchmarks that reduce launch times by up to 71% across e‑commerce, micro‑service, logistics and payment services.

Auto-configurationDatabase ConnectionJVM tuning
0 likes · 9 min read
7 Proven Spring Boot Startup Hacks to Slash Over 70% of Boot Time
java1234
java1234
Jan 27, 2026 · Backend Development

Why Can a Spring Boot JAR Run Directly?

Spring Boot packages all dependencies and an embedded web server into a single executable JAR, allowing developers to launch the application with a simple "java -jar" command without external configuration or server deployment.

GradleJavaSpringApplication
0 likes · 4 min read
Why Can a Spring Boot JAR Run Directly?
java1234
java1234
Jan 24, 2026 · Operations

A Lightweight Nginx Log Analyzer That Actually Works

NginxPulse is a lightweight, Docker‑ready Nginx log analysis panel built with Go‑Gin backend and Vue3 frontend, offering real‑time PV/UV, IP geolocation, multi‑site support, custom log formats, remote log fetching, and easy deployment via a single command or Compose file.

DockerGoNginx
0 likes · 7 min read
A Lightweight Nginx Log Analyzer That Actually Works
java1234
java1234
Jan 24, 2026 · Fundamentals

How to Detect Completion of Thread Pool Tasks in Java

This article explains four practical ways to determine when tasks submitted to a Java ExecutorService have finished—using Future's isDone/get, ExecutorService.invokeAll, CompletionService, and CountDownLatch—each with code examples and usage guidance.

CompletionServiceCountDownLatchExecutorService
0 likes · 8 min read
How to Detect Completion of Thread Pool Tasks in Java
java1234
java1234
Jan 23, 2026 · Fundamentals

Why Java 25 Is a Game‑Changer: Simpler Syntax, Faster Performance, Modern Features

Java 25, the newest LTS release, introduces a suite of language and runtime enhancements—including primitive‑type pattern matching, module‑wide imports, a lightweight main method, richer records, structured concurrency, scoped values, a vector API, and security updates—that together make Java code more concise, safer, and higher‑performing for both newcomers and seasoned developers.

JEPJavaJava 25
0 likes · 11 min read
Why Java 25 Is a Game‑Changer: Simpler Syntax, Faster Performance, Modern Features