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

65
Articles
0
Likes
1
Views
0
Comments
Recent Articles

Latest from java1234

65 recent articles
java1234
java1234
Jan 20, 2026 · Databases

Why Do Some Projects Still Choose MySQL Over PostgreSQL?

The article compares PostgreSQL and MySQL, detailing PostgreSQL’s richer data types, true sequence support, extensible ecosystem, advanced monitoring and replication features, while also acknowledging MySQL’s simplicity and strong points, to help readers decide which database fits their workload best.

Database comparisonExtensionsMVCC
0 likes · 9 min read
Why Do Some Projects Still Choose MySQL Over PostgreSQL?
java1234
java1234
Jan 17, 2026 · Databases

Do Expired Redis Keys Get Deleted Instantly?

Redis uses both time‑based and lazy expiration, marking keys as expired at their TTL but only removing them on the next access or during periodic cleanup, so expired keys are not deleted the instant they expire.

JavaJedisKey Expiration
0 likes · 5 min read
Do Expired Redis Keys Get Deleted Instantly?
java1234
java1234
Jan 17, 2026 · Interview Experience

Why Are Programmers Growingly Rejecting Coding Questions in Interviews?

The article compiles several Zhihu responses explaining why many developers dislike interview coding tasks, citing irrelevance to real work, overemphasis on algorithmic puzzles, time waste, mismatch with production priorities, and the perception that such tests favor test‑crackers over truly skilled engineers.

algorithm questionscoding interviewdeveloper perspective
0 likes · 8 min read
Why Are Programmers Growingly Rejecting Coding Questions in Interviews?
java1234
java1234
Jan 16, 2026 · Industry Insights

Why Most Programmers Avoid Building Their Own Mini‑Programs for Profit

Programmers rarely build their own mini‑programs for profit because company registration, mandatory software copyright, intense workload, low side‑income, high development and operational costs, and the dominance of existing platforms create steep technical, financial, and market barriers.

Market CompetitionTech Industrydevelopment barriers
0 likes · 9 min read
Why Most Programmers Avoid Building Their Own Mini‑Programs for Profit
java1234
java1234
Jan 13, 2026 · Backend Development

Understanding Redis Cache Breakdown, Penetration, and Avalanche (Java Examples)

The article explains the definitions, typical scenarios, and practical Java solutions for Redis cache breakdown, cache penetration, and cache avalanche, showing how mutex locks, Bloom filters, and staggered expirations can prevent database overload and improve system reliability.

Cachingcache avalanchecache breakdown
0 likes · 6 min read
Understanding Redis Cache Breakdown, Penetration, and Avalanche (Java Examples)
java1234
java1234
Jan 13, 2026 · Backend Development

How to Write Elegant Spring Controllers and Slash Your Blood Pressure

The article shows how cluttered Spring controllers filled with try‑catch blocks, manual field checks, and business logic can be refactored into concise, readable code by using @Valid, assertion utilities, and a global exception handler, cutting the code size roughly in half.

@ValidControllerJava
0 likes · 9 min read
How to Write Elegant Spring Controllers and Slash Your Blood Pressure
java1234
java1234
Jan 10, 2026 · Backend Development

Designing a Highly Available Service Registry: Key Principles and Java Example

This article explains how to design a highly available service registry for microservice architectures, covering high‑availability mechanisms, performance optimizations, scalability strategies, core registry functions, and provides a complete Java Spring Boot implementation using Redis.

JavaMicroservicesRedis
0 likes · 6 min read
Designing a Highly Available Service Registry: Key Principles and Java Example
java1234
java1234
Jan 10, 2026 · Databases

MySQL 8.2 Finally Supports Read/Write Splitting

MySQL 8.2 introduces native read/write splitting via MySQL Router, allowing automatic routing of reads to replicas and writes to the primary in an InnoDB ReplicaSet without any application changes.

InnoDB ReplicaSetMySQLRead/Write Splitting
0 likes · 4 min read
MySQL 8.2 Finally Supports Read/Write Splitting
java1234
java1234
Jan 9, 2026 · Backend Development

Stop Manually Deploying JARs—Dynamic Hot Deployment Made Easy

This article shows how to let users upload a JAR that implements a predefined interface, then hot‑deploy the new implementation at runtime using either Spring annotation‑based registration or plain reflection, including bean registration, removal, and a test harness.

Bean RegistrationDynamic JAR LoadingHot Deployment
0 likes · 8 min read
Stop Manually Deploying JARs—Dynamic Hot Deployment Made Easy
java1234
java1234
Jan 6, 2026 · Backend Development

What’s the Difference Between @Autowired and @Resource in Spring Boot?

This article explains how @Autowired and @Resource differ in Spring Boot, covering their injection mechanisms, priority rules, applicable environments, and code examples, helping developers choose the appropriate annotation based on type‑based or name‑based injection needs.

@Autowired@ResourceJava
0 likes · 4 min read
What’s the Difference Between @Autowired and @Resource in Spring Boot?