Java Architect Handbook
Author

Java Architect Handbook

Focused on Java interview questions and practical article sharing, covering algorithms, databases, Spring Boot, microservices, high concurrency, JVM, Docker containers, and ELK-related knowledge. Looking forward to progressing together with you.

182
Articles
0
Likes
1.4k
Views
0
Comments
Recent Articles

Latest from Java Architect Handbook

100 recent articles max
Java Architect Handbook
Java Architect Handbook
Aug 18, 2026 · Backend Development

Why Misusing Spring Event Can Destroy Your Service Performance

The article analyzes common pitfalls of Spring Event—such as publishing during shutdown or early startup, unsuitability for strong‑consistency use cases, and the need for graceful shutdown, idempotent listeners, and extra reliability measures—while comparing it with message‑queue solutions.

Eventual ConsistencyIdempotencyPublish‑Subscribe
0 likes · 12 min read
Why Misusing Spring Event Can Destroy Your Service Performance
Java Architect Handbook
Java Architect Handbook
Aug 17, 2026 · Backend Development

Interview Question: What Is Flash‑Sale Warmup and Why Does It Matter?

The article explains warmup (prewarm) as the practice of moving a Java system from a cold to a hot state before traffic arrives, covering JVM JIT compilation, cache preloading, connection‑pool and thread‑pool initialization, service gray‑release, and how these steps prevent cold‑start failures in high‑concurrency scenarios.

CacheConnection PoolJVM
0 likes · 13 min read
Interview Question: What Is Flash‑Sale Warmup and Why Does It Matter?
Java Architect Handbook
Java Architect Handbook
Aug 14, 2026 · Backend Development

System Circuit Breaker Explained: Concepts, State Machine, Frameworks & Interview Tips

The article defines circuit breaker as a self‑protective mechanism that prevents cascade failures in distributed systems, explains the avalanche effect, details the three‑state state machine, compares Hystrix, Sentinel and Resilience4j, provides a Sentinel code example, and lists common interview questions and answers.

HystrixJavaResilience4j
0 likes · 14 min read
System Circuit Breaker Explained: Concepts, State Machine, Frameworks & Interview Tips
Java Architect Handbook
Java Architect Handbook
Aug 10, 2026 · Cloud Native

Tired of XXL‑Job? Try This Elegant Nacos‑Based Scheduling Solution

The article analyses why XXL‑Job’s separate registration, configuration, and weak sharding cause state inconsistency, observability gaps, and duplicate processing, then proposes JobFlow – a lightweight scheduler that removes redundant components, adds full‑traceId tracing, true sharding with distributed locks, exponential retry, and cloud‑native configuration managed by Nacos, all illustrated with concrete code snippets and deployment diagrams.

Cloud NativeJavaNacos
0 likes · 21 min read
Tired of XXL‑Job? Try This Elegant Nacos‑Based Scheduling Solution
Java Architect Handbook
Java Architect Handbook
Aug 6, 2026 · Backend Development

Why Using kill -9 to Stop a Java Service Can Cost You Your Job

The article explains how the forceful kill -9 command can corrupt data and break transactions in Java services, demonstrates the risks with MyISAM and distributed systems, and provides step‑by‑step guides for graceful shutdown using kill -15, ConfigurableApplicationContext.close, Spring Boot Actuator, and @PreDestroy hooks.

ActuatorJavaLinux kill
0 likes · 17 min read
Why Using kill -9 to Stop a Java Service Can Cost You Your Job
Java Architect Handbook
Java Architect Handbook
Aug 5, 2026 · Backend Development

Spring Boot Deployment: Jar vs War – Key Differences Explained

When a Spring Boot project is packaged as a jar it runs with the embedded Tomcat using the application's own configuration, while a war package relies on an external Tomcat container, adopts the container's settings such as the default 8080 port, and requires additional Maven configuration and a ServletInitializer class.

MavenSpring BootTomcat
0 likes · 14 min read
Spring Boot Deployment: Jar vs War – Key Differences Explained