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.

91
Articles
0
Likes
19
Views
0
Comments
Recent Articles

Latest from Java Architect Handbook

91 recent articles
Java Architect Handbook
Java Architect Handbook
Jan 28, 2026 · Databases

How to Prevent Redis Split‑Brain Disasters with min‑replicas‑to‑write

This article explains the Redis split‑brain problem that can occur in master‑replica clusters, outlines the interview points interviewers look for, and provides a detailed solution using the min‑replicas‑to‑write (or min‑slaves‑to‑write) configuration to sacrifice write availability for data consistency, along with best‑practice recommendations and common pitfalls.

ConfigurationRedisSplit-Brain
0 likes · 12 min read
How to Prevent Redis Split‑Brain Disasters with min‑replicas‑to‑write
Java Architect Handbook
Java Architect Handbook
Jan 21, 2026 · Backend Development

Why OpenFeign’s First Call Is Slow and How to Fix It

The article analyzes why the first OpenFeign call in micro‑service systems incurs seconds of latency, breaks down five root causes such as lazy client initialization, dynamic proxy creation, load‑balancer cold start, network handshake, and hidden dependencies, and provides concrete verification steps and four practical optimizations to move the cost to application start‑up.

Feign ClientJavaMicroservices
0 likes · 15 min read
Why OpenFeign’s First Call Is Slow and How to Fix It
Java Architect Handbook
Java Architect Handbook
Jan 20, 2026 · Backend Development

Why Replacing MyBatis with MyBatis-Plus Triggers LocalDateTime Errors—and How to Fix Them

The article details a step‑by‑step migration from MyBatis 3.5.0 to MyBatis‑Plus 3.1.1, explains why the conversion error for java.time.LocalDateTime appears after the switch, shows how to trace the root cause through stack traces, upgrades the mysql‑connector‑java to 5.1.37 (and later 5.1.42) to resolve the issue, and shares broader lessons about component upgrades and unexpected bugs.

JDBCJavaMigration
0 likes · 10 min read
Why Replacing MyBatis with MyBatis-Plus Triggers LocalDateTime Errors—and How to Fix Them
Java Architect Handbook
Java Architect Handbook
Jan 14, 2026 · Operations

How to Build a Scalable Prometheus Monitoring System for Big Data on Kubernetes

This guide explains how to design, configure, and implement a Prometheus‑based monitoring solution for big‑data components running in Kubernetes, covering metric exposure methods, scrape configurations, alerting architecture, dynamic rule management, exporter deployment, and practical examples with full YAML snippets.

Big Data MonitoringExportersKubernetes
0 likes · 19 min read
How to Build a Scalable Prometheus Monitoring System for Big Data on Kubernetes
Java Architect Handbook
Java Architect Handbook
Jan 13, 2026 · Databases

When to Normalize or Denormalize? A Deep Dive for Java Interview Prep

This article breaks down the interview expectations around database normalization, explains the theory and trade‑offs of normalization versus denormalization, provides SQL code examples, compares design impacts, offers best‑practice guidelines, and warns against common misconceptions.

DenormalizationInterview preparationNormalization
0 likes · 11 min read
When to Normalize or Denormalize? A Deep Dive for Java Interview Prep
Java Architect Handbook
Java Architect Handbook
Jan 11, 2026 · Backend Development

Why @Configuration + @Bean Overrides @Component in Spring Boot: Deep Dive and Version Differences

A detailed analysis shows that when a class is annotated with both @Configuration/@Bean and @Component, Spring creates only one bean—the one defined by @Configuration/@Bean—overriding the @Component definition, and explains how this behavior changed across Spring and Spring Boot versions.

Bean OverridingComponentConfiguration
0 likes · 10 min read
Why @Configuration + @Bean Overrides @Component in Spring Boot: Deep Dive and Version Differences