Java Companion
Author

Java Companion

A highly professional Java public account

88
Articles
0
Likes
8
Views
0
Comments
Recent Articles

Latest from Java Companion

88 recent articles
Java Companion
Java Companion
Jan 20, 2026 · Backend Development

13 Java Web Frameworks Ranked: From Industry Leaders to Obsolete Choices

The article evaluates 13 Java web frameworks across performance, ecosystem maturity, learning curve, development efficiency, enterprise adoption, and innovation, classifying them into tiers—from the dominant Spring Boot to legacy Struts 2—based on objective metrics such as GitHub stars, benchmark results, and market usage.

Java WebMicronautQuarkus
0 likes · 9 min read
13 Java Web Frameworks Ranked: From Industry Leaders to Obsolete Choices
Java Companion
Java Companion
Jan 18, 2026 · Databases

Why Choose MySQL When PostgreSQL Offers So Many Advantages?

The article compares PostgreSQL and MySQL, highlighting PostgreSQL's richer data types, true sequence support, powerful extensions, built‑in monitoring, advanced replication, open‑source licensing, and MVCC implementation, while acknowledging MySQL's strengths in quick deployment and read‑heavy workloads.

Database comparisonExtensionsMVCC
0 likes · 10 min read
Why Choose MySQL When PostgreSQL Offers So Many Advantages?
Java Companion
Java Companion
Jan 17, 2026 · Backend Development

6 Ways to Overcome the Limits of @Transactional in Spring

The article examines five scenarios where Spring's @Transactional annotation falls short—stock shortage, MQ messaging, batch processing, logging, and isolation/timeout settings—and demonstrates six practical techniques, including programmatic transactions, parameter tuning, transaction synchronizers, event listeners, manual transaction control, and propagation strategies, all backed by runnable demo code.

JavaSpringSpringBoot
0 likes · 19 min read
6 Ways to Overcome the Limits of @Transactional in Spring
Java Companion
Java Companion
Jan 15, 2026 · Backend Development

Implement Multi‑Dimensional Bandwidth Throttling in Spring Boot 3

This article presents a complete Spring Boot 3 solution for multi‑dimensional network bandwidth throttling using a manually implemented token‑bucket algorithm, custom HandlerInterceptor, HttpServletResponseWrapper, and RateLimitedOutputStream, with detailed code samples, configuration options, and performance tuning guidance.

JavaSpring BootToken Bucket
0 likes · 13 min read
Implement Multi‑Dimensional Bandwidth Throttling in Spring Boot 3
Java Companion
Java Companion
Jan 13, 2026 · Cloud Native

Why MinIO Community Dropped Its Web UI and How RustFS Can Fill the Gap

The article explains how MinIO's community edition removed its web console via a large PR, outlines the official push toward a commercial product, and provides a step‑by‑step guide to deploying the Rust‑based RustFS as an open‑source alternative with Docker Compose and Nginx HTTPS configuration, concluding with a feature comparison.

Apache 2.0Docker ComposeMinIO
0 likes · 7 min read
Why MinIO Community Dropped Its Web UI and How RustFS Can Fill the Gap
Java Companion
Java Companion
Jan 9, 2026 · Backend Development

Why Many Large Companies Discourage Using @Transactional in Spring

The article explains common pitfalls that cause Spring @Transactional to fail or not roll back, such as incorrect method visibility, final or static modifiers, internal method calls, beans not managed by Spring, multithreading, unsupported database engines, misconfigured propagation, swallowed exceptions, and improper rollback settings, and offers practical solutions for each case.

AOPJavaMySQL
0 likes · 18 min read
Why Many Large Companies Discourage Using @Transactional in Spring
Java Companion
Java Companion
Jan 8, 2026 · Backend Development

Designing a Generic Payment Core System: Key Components and Best Practices

This article breaks down the architecture of a generic payment core system, covering the transaction and payment cores, service governance, data consistency, asynchronous processing, performance testing, and stability measures to help engineers build robust payment platforms.

System Architectureasynchronous processingbackend
0 likes · 7 min read
Designing a Generic Payment Core System: Key Components and Best Practices
Java Companion
Java Companion
Jan 4, 2026 · Backend Development

Achieve 10× Faster APIs with Spring Boot 3’s Three‑Level Cache Pyramid

The article demonstrates how to combine Spring Boot 3, Caffeine local cache, and Redis into a three‑level cache pyramid, reducing API response time from 28 ms to 2 ms, cutting CPU usage by 35 %, and providing detailed configuration, code examples, performance benchmarks, and mitigation strategies for common high‑concurrency pitfalls.

CacheCaffeineJava
0 likes · 10 min read
Achieve 10× Faster APIs with Spring Boot 3’s Three‑Level Cache Pyramid
Java Companion
Java Companion
Jan 3, 2026 · Cloud Native

Ditch the Bulky XXL‑Job? Try This Elegant Nacos‑Based Scheduling Solution

The article analyzes the friction between XXL‑Job and Nacos in cloud‑native environments, proposes the JobFlow design that removes redundant registration and configuration, adds full‑traceability, true sharding with distributed locks, smart retries and cloud‑native configuration, and demonstrates how these changes improve consistency, observability and operational cost.

JobFlowMicroservicesNacos
0 likes · 19 min read
Ditch the Bulky XXL‑Job? Try This Elegant Nacos‑Based Scheduling Solution