Tagged articles
5000 articles
Page 14 of 50
Architect's Tech Stack
Architect's Tech Stack
Aug 24, 2025 · Backend Development

Why MyBatis-Flex Beats MyBatis-Plus: Features, Performance & More

MyBatis-Flex is a lightweight, high‑performance MyBatis enhancement offering zero third‑party dependencies, flexible QueryWrapper support, superior CRUD speed, advanced relational mappings, built‑in data masking, caching, multi‑datasource handling, and customizable SQL auditing, making it a compelling alternative to MyBatis‑Plus for modern Java backend development.

DataMaskingJavaMybatis-Flex
0 likes · 19 min read
Why MyBatis-Flex Beats MyBatis-Plus: Features, Performance & More
Architect's Guide
Architect's Guide
Aug 24, 2025 · Information Security

Master Session Management and SSO: From Cookies to CAS with Java Code

This article explains traditional session mechanisms, the challenges of session handling in clustered environments, explores session sharing strategies, introduces single sign‑on concepts, compares CAS and OAuth2, and provides complete Java code examples for implementing SSO with Redis.

CASJavaSession Management
0 likes · 14 min read
Master Session Management and SSO: From Cookies to CAS with Java Code
IT Services Circle
IT Services Circle
Aug 23, 2025 · Fundamentals

Master Core Tech: DNS, TCP, Java, MySQL & SpringBoot Interview Essentials

This article combines a look at big‑tech work intensity with a comprehensive interview guide covering website request flow, DNS resolution, HTTP status codes, TCP four‑way handshake, Java abstract classes vs interfaces, HashMap vs ConcurrentHashMap, HashSet internals, MySQL functions, and SpringBoot startup steps.

JavaSpringBoot
0 likes · 19 min read
Master Core Tech: DNS, TCP, Java, MySQL & SpringBoot Interview Essentials
Architect's Guide
Architect's Guide
Aug 23, 2025 · Backend Development

Eliminate Repetitive Java Code: Design Patterns, Annotations & Mapping Tricks

This article explains why duplicate code harms maintainability and demonstrates three practical techniques—factory/template method patterns, annotation‑driven reflection, and bean‑mapping utilities—to refactor Java backend services and dramatically reduce redundant implementations.

Code RefactoringDesign PatternsJava
0 likes · 23 min read
Eliminate Repetitive Java Code: Design Patterns, Annotations & Mapping Tricks
Java One
Java One
Aug 23, 2025 · Backend Development

Master Spring Boot Starters, Parent, and DevTools for Faster Backend Development

This guide explains how Spring Boot starters simplify dependency management, how the Spring Boot starter parent centralizes version control, and how to use the built‑in Maven plugin and DevTools for automatic restarts, including step‑by‑step Maven and IntelliJ configurations with code examples.

DevToolsJavaMaven
0 likes · 7 min read
Master Spring Boot Starters, Parent, and DevTools for Faster Backend Development
Cognitive Technology Team
Cognitive Technology Team
Aug 22, 2025 · Backend Development

Unlock MyBatis-Plus: From Zero-Code CRUD to Advanced Plugins

This article introduces MyBatis-Plus as a zero‑intrusion enhancement to MyBatis, explains its core values of convenience, safety, and compatibility, details CRUD methods, condition builders, plugin mechanisms, and best‑practice guidelines for building efficient, secure backend services.

CRUDJavaLambda Query
0 likes · 15 min read
Unlock MyBatis-Plus: From Zero-Code CRUD to Advanced Plugins
Java Architect Essentials
Java Architect Essentials
Aug 22, 2025 · Backend Development

Why MyBatis-Flex Outperforms MyBatis-Plus: Features, Performance & Quick Start

This article introduces MyBatis-Flex, a lightweight yet powerful MyBatis enhancement framework that boosts development efficiency with type‑safe QueryWrapper, extensive features like multi‑tenant and data encryption, supports dozens of databases, and delivers 5‑10× performance gains over MyBatis‑Plus, complete with a step‑by‑step quick‑start guide.

JavaMybatis-Flexorm
0 likes · 11 min read
Why MyBatis-Flex Outperforms MyBatis-Plus: Features, Performance & Quick Start
macrozheng
macrozheng
Aug 22, 2025 · Fundamentals

How Jeandle’s LLVM‑Powered JIT Could Supercharge Java Performance

Jeandle, the new open‑source LLVM‑based JIT compiler released by Ant Group, aims to integrate LLVM’s high‑performance optimizations into the JVM, offering faster execution, future roadmap details, and insights into JIT and LLVM fundamentals for Java developers.

CompilerJITJVM
0 likes · 6 min read
How Jeandle’s LLVM‑Powered JIT Could Supercharge Java Performance
Architect's Guide
Architect's Guide
Aug 22, 2025 · Backend Development

Can JDBC Batch Insertion Speed Up MySQL? 100M Row Performance Test

This article evaluates the efficiency of inserting massive data into MySQL using Java, comparing three strategies—MyBatis without transactions, plain JDBC with and without transactions, and JDBC batch processing—showing that batch processing combined with transactions yields the fastest insertion speed for hundreds of millions of rows.

Batch processingJDBCJava
0 likes · 13 min read
Can JDBC Batch Insertion Speed Up MySQL? 100M Row Performance Test
Java Captain
Java Captain
Aug 22, 2025 · Backend Development

Designing Clean API Responses in Java: From JSON Structure to Global Wrappers

This article explains how to design a standardized JSON response format for Java back‑end APIs, introduces a Result wrapper class, and shows how to automate response wrapping using a custom @ResponseResult annotation, interceptors, and Spring's ResponseBodyAdvice for cleaner, more maintainable code.

BackendJSON responseJava
0 likes · 7 min read
Designing Clean API Responses in Java: From JSON Structure to Global Wrappers
Java Backend Technology
Java Backend Technology
Aug 22, 2025 · Backend Development

How Jeandle’s LLVM‑Powered JIT Could Revolutionize Java Performance

Jeandle, the new open‑source LLVM‑based JIT compiler released by Ant Group, aims to boost Java performance by integrating LLVM’s optimization capabilities into the JVM, explaining JIT and LLVM fundamentals, its architecture, and an ambitious roadmap toward full bytecode support and advanced optimizations.

CompilerJITJVM
0 likes · 6 min read
How Jeandle’s LLVM‑Powered JIT Could Revolutionize Java Performance
Cognitive Technology Team
Cognitive Technology Team
Aug 22, 2025 · Backend Development

Unlocking Ordered Messaging: How RocketMQ and DDMQ Ensure Sequence

This article deeply explores the sequential consumption mechanisms of RocketMQ and its derivative DDMQ, comparing their source‑code implementations, detailing producer ordering, broker locking, consumer locking, and the architectural differences that allow DDMQ to achieve ordered processing with only proxy‑side locks.

DDMQJavaOrdered Consumption
0 likes · 30 min read
Unlocking Ordered Messaging: How RocketMQ and DDMQ Ensure Sequence
Architect
Architect
Aug 21, 2025 · Artificial Intelligence

Implement OCR in Java with Tess4j and SpringBoot in Just a Few Lines

This tutorial walks you through adding optical character recognition to a Java SpringBoot project using the Tess4j library, covering prerequisites, dependency setup, engine initialization, RESTful API creation, and tips for improving accuracy with custom training data or third‑party services.

Artificial IntelligenceJavaOCR
0 likes · 8 min read
Implement OCR in Java with Tess4j and SpringBoot in Just a Few Lines
Architecture Digest
Architecture Digest
Aug 21, 2025 · Backend Development

Which Java Technologies Are Truly Obsolete? A Practical Guide

The article reviews decades of Java evolution, evaluates JSP, Struts, Hibernate, Servlet and other legacy tools against real‑world usefulness, interview relevance, and learning value, and advises developers on which technologies to drop and which fundamentals to master.

HibernateJSPJava
0 likes · 7 min read
Which Java Technologies Are Truly Obsolete? A Practical Guide
Architect's Tech Stack
Architect's Tech Stack
Aug 21, 2025 · Backend Development

Master Java Servlet Inheritance with IntelliJ IDEA Diagrams

This guide shows how to use IntelliJ IDEA's diagram feature to visualize, clean up, and explore Java Servlet inheritance hierarchies, including removing irrelevant classes, viewing method details, zooming, adding related classes, and jumping directly to source code.

Backend DevelopmentClass DiagramInheritance
0 likes · 6 min read
Master Java Servlet Inheritance with IntelliJ IDEA Diagrams
Top Architect
Top Architect
Aug 21, 2025 · Backend Development

Master 10 Essential Spring Extension Points for Robust Backend Development

This article walks through the ten most useful Spring extension points—including global exception handling, custom interceptors, bean access, @Import usage, startup runners, BeanDefinition modification, initialization callbacks, BeanPostProcessor hooks, destroy callbacks, and custom scopes—providing clear explanations and ready‑to‑use code examples for each.

BackendBeanFactoryBeanPostProcessor
0 likes · 17 min read
Master 10 Essential Spring Extension Points for Robust Backend Development
macrozheng
macrozheng
Aug 21, 2025 · Backend Development

Master PO, VO, BO, DTO, DAO & POJO: When and How to Use Each in Java

This article explains the purpose, responsibilities, and typical pitfalls of six common Java objects—PO, DAO, BO, DTO, VO, and POJO—illustrates their flow in different architectural models, and recommends tools and best‑practice patterns for efficient conversion and clean layer separation.

BackendJavaObject Design
0 likes · 12 min read
Master PO, VO, BO, DTO, DAO & POJO: When and How to Use Each in Java
Java Architect Essentials
Java Architect Essentials
Aug 20, 2025 · Backend Development

How to Prevent Java StackOverflow Crashes: Tuning JVM Stack Size and Monitoring Tips

This article explains why JVM stack overflow is a critical issue, illustrates common causes such as uncontrolled recursion and massive thread creation, provides practical stack‑size tuning guidelines, special‑scenario adjustments for SpringBoot and cloud‑native deployments, and outlines diagnostic tools and monitoring metrics to detect and avoid crashes.

JVMJavaStackOverflow
0 likes · 6 min read
How to Prevent Java StackOverflow Crashes: Tuning JVM Stack Size and Monitoring Tips
Java Captain
Java Captain
Aug 20, 2025 · Information Security

Build a Secure Spring Boot App in Minutes with Spring Security

This tutorial walks you through adding Spring Security to a Spring Boot project, from adding the starter dependency and creating a simple controller to observing the default login page, understanding the auto‑generated password mechanism, and customizing usernames and passwords for production use.

AuthenticationAuthorizationJava
0 likes · 9 min read
Build a Secure Spring Boot App in Minutes with Spring Security
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 20, 2025 · Backend Development

Unlock MyBatis-Plus: From Zero-Code CRUD to Advanced Plugins

This article introduces MyBatis-Plus, explains its core zero‑injection CRUD capabilities, demonstrates powerful condition builders, plugin extensions, and best practices for secure, efficient data access, including custom query objects, micro‑service integration, and advanced mapper customization, helping developers boost backend productivity.

CRUDJavaMyBatis-Plus
0 likes · 16 min read
Unlock MyBatis-Plus: From Zero-Code CRUD to Advanced Plugins
Tech Freedom Circle
Tech Freedom Circle
Aug 20, 2025 · Backend Development

P0 Eureka Service Discovery Collapse Cost a Top E‑commerce $120M During Double‑11

During the Double‑11 shopping festival, a leading e‑commerce platform suffered a P0 outage when its Eureka service‑discovery cluster overloaded, triggering a full‑chain failure that lasted 2 hours 42 minutes and caused losses exceeding 1.2 billion yuan; the article dissects the timeline, root causes, capacity mis‑planning, monitoring gaps, and remediation strategies.

Javacapacity planningeureka
0 likes · 34 min read
P0 Eureka Service Discovery Collapse Cost a Top E‑commerce $120M During Double‑11
Architect's Guide
Architect's Guide
Aug 20, 2025 · Backend Development

How to Tune JVM for 1M Daily Logins on an 8GB Server Node

This article walks through a systematic, interview‑style guide for sizing and configuring JVM heap, young generation, GC choice, and related parameters to reliably support a platform that processes one million login requests per day on an 8 GB memory node.

BackendGarbage CollectionJVM
0 likes · 24 min read
How to Tune JVM for 1M Daily Logins on an 8GB Server Node
Senior Tony
Senior Tony
Aug 20, 2025 · Backend Development

Why Volatile Solves Memory Visibility and Reordering in Java?

This article explains how the volatile keyword guarantees visibility of shared variables and prevents instruction reordering in Java, covering the Java Memory Model, memory barriers, practical code examples, and the Happens‑Before principle for reliable multithreaded programming.

Instruction ReorderingJMMJava
0 likes · 10 min read
Why Volatile Solves Memory Visibility and Reordering in Java?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 19, 2025 · Backend Development

Jackson‑jr in Spring Boot: Lightning‑Fast JSON Serialization & Benchmarks

This article introduces the lightweight Jackson‑jr library for Java, demonstrates how to create JSON objects and arrays, use the Composer API, customize serialization with annotations, and presents JMH performance comparisons showing Jackson‑jr’s superior speed over Jackson‑databind and Gson in Spring Boot 3.4.2 environments.

JSONJackson-jrJava
0 likes · 9 min read
Jackson‑jr in Spring Boot: Lightning‑Fast JSON Serialization & Benchmarks
Programmer DD
Programmer DD
Aug 19, 2025 · Backend Development

What’s New in Spring Boot 4? Explore the Latest Features and Enhancements

Spring Boot 4, built on Spring Framework 7, introduces elegant API versioning, streamlined Bean registration, null‑safety annotations, simplified HTTP proxy creation, upgraded SPEL, GraalVM native support, Jackson 3.x, newer Servlet/WebSocket versions, and numerous other enhancements, offering developers more powerful and convenient tools.

Bean RegistrationJavaSpring Boot
0 likes · 8 min read
What’s New in Spring Boot 4? Explore the Latest Features and Enhancements
dbaplus Community
dbaplus Community
Aug 18, 2025 · Cloud Native

Why Ubuntu 22.04 Upgrade Crashes Java Apps on Kubernetes: The cgroup v2 Trap

Upgrading a Kubernetes cluster from CentOS 7.9 to Ubuntu 22.04 caused Java pods to crash with OOMKilled errors; increasing memory limits only hid the issue, and the root cause was cgroup v2 making the JVM misinterpret its resource limits, resulting in excessive threads and heap sizes. The article advises upgrading to a JVM that supports cgroup v2 or reverting the node to cgroup v1.

JVMJavaOOMKilled
0 likes · 8 min read
Why Ubuntu 22.04 Upgrade Crashes Java Apps on Kubernetes: The cgroup v2 Trap
Architect
Architect
Aug 18, 2025 · Backend Development

Simplify Java Stream with JDFrame: A DataFrame‑Style API for Cleaner Code

This article introduces JDFrame/SDFrame, a JVM‑level DataFrame‑style library that provides a more semantic and concise API for Java 8 Stream processing, covering dependency setup, quick start, filtering, aggregation, distinct, grouping, sorting, joining, and advanced features such as percent conversion, partitioning, ranking, and missing‑data replenishment.

APIDataProcessingJDFrame
0 likes · 16 min read
Simplify Java Stream with JDFrame: A DataFrame‑Style API for Cleaner Code
Tech Freedom Circle
Tech Freedom Circle
Aug 18, 2025 · Interview Experience

How to Hand‑Write a Simple AbstractQueuedSynchronizer (AQS) for High‑Pay Java Interviews

This article walks through the fundamentals of Java's AbstractQueuedSynchronizer, covering lock‑queue relationships, CLH lock internals, dummy head nodes, state management, and step‑by‑step implementations of acquire, addWaiter, acquireQueued, shouldParkAfterFailedAcquire, and release methods, complete with runnable example code.

AQSAbstractQueuedSynchronizerConcurrency
0 likes · 29 min read
How to Hand‑Write a Simple AbstractQueuedSynchronizer (AQS) for High‑Pay Java Interviews
macrozheng
macrozheng
Aug 18, 2025 · Backend Development

Simplify Java Stream Processing with JDFrame: A Semantic DataFrame Alternative

This article introduces JDFrame/SDFrame, a JVM‑level DataFrame‑style library that offers a more semantic and concise API for Java 8 streams, provides quick‑start instructions, detailed code examples, and a comprehensive overview of its SQL‑like operations such as filtering, aggregation, distinct, grouping, joining, and pagination.

BackendJDFrameJava
0 likes · 13 min read
Simplify Java Stream Processing with JDFrame: A Semantic DataFrame Alternative
Java One
Java One
Aug 18, 2025 · Backend Development

Master Spring Boot 3: From Environment Setup to a Running Hello‑World REST API

This comprehensive guide walks Java beginners through installing IDEA and JDK, explains Spring Boot 3 fundamentals, demonstrates project creation with Spring Initializr, shows Maven standard layout, configures a simple Hello World REST controller, and covers essential topics such as POM files, GAV coordinates, Maven Wrapper, static resources, templates and unit testing.

IDEJavaMaven
0 likes · 17 min read
Master Spring Boot 3: From Environment Setup to a Running Hello‑World REST API
Lin is Dream
Lin is Dream
Aug 18, 2025 · Backend Development

Boost Java NIO Performance with a Multi‑Threaded Boss‑Worker Server Model

This article explains how to overcome the single‑threaded bottleneck of Java NIO by introducing a Boss‑Worker architecture, detailing the design of multiple Selectors, thread binding, client implementation, performance considerations, and provides complete open‑source code examples.

Boss-WorkerJavaNIO
0 likes · 11 min read
Boost Java NIO Performance with a Multi‑Threaded Boss‑Worker Server Model
Su San Talks Tech
Su San Talks Tech
Aug 18, 2025 · Information Security

Mastering Token Renewal: 5 Strategies to Boost Security and Performance

This article explores the fundamentals of token renewal, analyzes common pitfalls, and presents five practical schemes—including single‑token, blacklist, double‑token, automatic renewal, and distributed‑environment solutions—while offering a comparison matrix, selection guidance, and best‑practice recommendations for secure, high‑performance authentication systems.

AuthenticationBackendJava
0 likes · 10 min read
Mastering Token Renewal: 5 Strategies to Boost Security and Performance
Architect
Architect
Aug 17, 2025 · Databases

Mastering Database Sharding in Spring Boot: A Complete Guide with ShardingSphere

This comprehensive tutorial explains database sharding concepts, types, strategies, and implementation in Spring Boot using ShardingSphere, covering configuration, entity and repository code, service and controller layers, integration with pagination, Swagger, ActiveMQ, security, batch processing, FreeMarker, WebSockets, AOP, performance testing, FAQs, real‑world cases, and future trends.

JavaShardingSphereSpring Boot
0 likes · 32 min read
Mastering Database Sharding in Spring Boot: A Complete Guide with ShardingSphere
Cognitive Technology Team
Cognitive Technology Team
Aug 17, 2025 · Backend Development

synchronized vs Lock in Java: When to Choose Each for Thread Safety

This article examines the core differences between Java's synchronized keyword and the Lock interface, covering their principles, performance, flexibility, visibility guarantees, reentrancy, interruption handling, and practical selection guidelines with code examples, tables, and real‑world scenarios to help developers choose the appropriate locking mechanism.

JavaLockReentrantLock
0 likes · 9 min read
synchronized vs Lock in Java: When to Choose Each for Thread Safety
Selected Java Interview Questions
Selected Java Interview Questions
Aug 15, 2025 · Backend Development

Master Spring Boot Controllers: Design Patterns, Best Practices & Code Samples

This comprehensive guide explains how to design high‑quality Spring Boot controller layers, covering architecture planning, RESTful API conventions, parameter validation, unified response structures, exception handling, logging, security, testing, asynchronous processing, and performance optimization with practical code examples and clear best‑practice recommendations.

Best PracticesControllerException Handling
0 likes · 15 min read
Master Spring Boot Controllers: Design Patterns, Best Practices & Code Samples
Architect's Tech Stack
Architect's Tech Stack
Aug 15, 2025 · Backend Development

Why Upgrading to MyBatis‑Plus Triggers LocalDateTime Errors and How to Resolve Them

This article walks through a real‑world scenario where replacing MyBatis with MyBatis‑Plus caused a LocalDateTime conversion exception due to changes in MyBatis 3.5.1 and an outdated mysql‑connector‑java driver, demonstrates how to pinpoint the root cause via stack traces, and provides step‑by‑step fixes including driver upgrades and version considerations, while also sharing lessons learned from related validation bugs.

JavaLocalDateTimeMyBatis-Plus
0 likes · 16 min read
Why Upgrading to MyBatis‑Plus Triggers LocalDateTime Errors and How to Resolve Them
Java Backend Technology
Java Backend Technology
Aug 15, 2025 · Backend Development

Simplify Java Stream Processing with JDFrame – A JVM‑Level DataFrame Library

This article introduces JDFrame, a JVM‑level DataFrame‑style library that provides a more expressive, SQL‑like API for Java 8 streams, shows how to add the Maven dependency, demonstrates common operations such as filtering, grouping, sorting, joining, and explains the differences between SDFrame and JDFrame with practical code examples.

Data ProcessingJDFrameJava
0 likes · 19 min read
Simplify Java Stream Processing with JDFrame – A JVM‑Level DataFrame Library
Lin is Dream
Lin is Dream
Aug 15, 2025 · Backend Development

Why Java NIO Beats BIO: Mastering Non‑Blocking Network Programming

This article explains what network programming is, why it matters beyond HTTP, compares BIO and NIO models, dives into Java NIO's design with selectors, channels, and ByteBuffer methods, provides full server/client code examples, and shows how Netty simplifies high‑performance networking.

ByteBufferJavaNIO
0 likes · 23 min read
Why Java NIO Beats BIO: Mastering Non‑Blocking Network Programming
Java Web Project
Java Web Project
Aug 14, 2025 · Backend Development

Why a Unified Controller Response Format Is Essential: Best Practices and AOP Implementation

The article explains how inconsistent API return types, missing error handling, irrelevant or complex parameters, and lack of proper result objects lead to maintenance headaches, and demonstrates a disciplined approach using a generic ResultBean, standardized controller conventions, and Spring AOP for logging and exception handling.

AOPBackendBest Practices
0 likes · 11 min read
Why a Unified Controller Response Format Is Essential: Best Practices and AOP Implementation
Didi Tech
Didi Tech
Aug 14, 2025 · Backend Development

How RocketMQ and DDMQ Achieve Ordered Consumption: Deep Source Code Dive

This article deeply explores the ordered consumption mechanisms of RocketMQ and its derivative DDMQ, explaining the implementation differences, source‑code details of sequential sending, broker locking, client‑side processing, and compares the two systems' approaches to guarantee message order.

DDMQJavaMessage queue
0 likes · 30 min read
How RocketMQ and DDMQ Achieve Ordered Consumption: Deep Source Code Dive
Tech Freedom Circle
Tech Freedom Circle
Aug 14, 2025 · Backend Development

10 Proven Techniques to Optimize API Latency from 11 s to 170 ms – A Meituan Interview Case

The article presents a step‑by‑step analysis of how to shrink a 11‑second API response to 170 ms by applying batch database writes, Redis pipeline, asynchronous processing, thread‑pool design, local‑memory buffering, MQ integration, and other performance‑tuning patterns, backed by real‑world benchmarks and code samples.

API optimizationAsyncConcurrency
0 likes · 48 min read
10 Proven Techniques to Optimize API Latency from 11 s to 170 ms – A Meituan Interview Case
Selected Java Interview Questions
Selected Java Interview Questions
Aug 14, 2025 · Backend Development

Master Spring MVC Controllers: From @Controller Basics to Advanced Techniques

This guide walks through creating Spring MVC controllers using @Controller, implementing the Controller interface, extending AbstractController, mapping URLs and HTTP methods, handling request parameters, returning ModelAndView, performing redirects, processing forms, uploading files, autowiring services, and adhering to the single‑responsibility principle.

ControllerJavaModelAndView
0 likes · 14 min read
Master Spring MVC Controllers: From @Controller Basics to Advanced Techniques
JD Cloud Developers
JD Cloud Developers
Aug 13, 2025 · Backend Development

Why Do MySQL PhantomReferences Cause Long GC Pauses and How to Fix Them?

This article analyzes frequent timeout alerts caused by the getUiToken API, investigates JVM garbage‑collection pauses linked to excessive PhantomReference objects from MySQL connections, and presents configuration, code, and scheduling solutions that dramatically reduce GC latency and improve service stability.

ConnectionPoolJVMJava
0 likes · 12 min read
Why Do MySQL PhantomReferences Cause Long GC Pauses and How to Fix Them?
JD Tech Talk
JD Tech Talk
Aug 13, 2025 · Backend Development

Why MySQL getUiToken Times Out: PhantomReference GC Bottleneck & Fix

The article investigates frequent timeout alerts on the getUiToken API, tracing the issue to excessive PhantomReference objects causing long GC pauses, explains how MySQL’s AbandonedConnectionCleanupThread and default Druid pool settings generate these references, and presents configuration tweaks, JVM flags, and cleanup tasks that reduced GC pause times from 1.25 s to 0.1 s.

DruidJavaMySQL
0 likes · 11 min read
Why MySQL getUiToken Times Out: PhantomReference GC Bottleneck & Fix
21CTO
21CTO
Aug 13, 2025 · Artificial Intelligence

Spring AI 1.0.1 Released: Key Features, Enhancements, and Roadmap Highlights

Spring AI 1.0.1 has been officially released, introducing over 150 changes that improve stability, add new AI model provider capabilities, advanced features like vector store enhancements and MCP streaming, and outline upcoming roadmap priorities for developers and enterprises.

AI FrameworkJavaSpring AI
0 likes · 3 min read
Spring AI 1.0.1 Released: Key Features, Enhancements, and Roadmap Highlights
Huolala Tech
Huolala Tech
Aug 13, 2025 · Backend Development

Why Do Inherited ThreadLocals Cause Task Failures in XXL‑Job?

An in‑depth analysis reveals that stale parameters stored in InheritableThreadLocal objects during thread‑pool reuse cause XXL‑Job tasks to process incorrect data, and provides debugging steps and best‑practice recommendations to prevent context pollution.

Context propagationDebuggingInheritableThreadLocal
0 likes · 10 min read
Why Do Inherited ThreadLocals Cause Task Failures in XXL‑Job?
Java Backend Technology
Java Backend Technology
Aug 13, 2025 · Backend Development

Why Stream.toList() Throws UnsupportedOperationException vs collect(Collectors.toList())

This article explains the key differences between Java's Stream toList() method introduced in JDK 16, which returns an unmodifiable list, and the traditional collect(Collectors.toList()) which yields a mutable ArrayList, illustrating behavior with code examples, performance considerations, and practical usage tips.

CollectionsCollectorsImmutable List
0 likes · 8 min read
Why Stream.toList() Throws UnsupportedOperationException vs collect(Collectors.toList())
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 12, 2025 · Backend Development

Unlock the JVM Method Area: 6 Key Components Every Java Developer Should Know

This article explains the JVM Method Area, its purpose in storing class metadata, constants, static variables and JIT-compiled code, and details its six internal components—including the runtime constant pool, field data, method data, class data, constant data, and compiled code—providing essential knowledge for Java developers and interview preparation.

Backend DevelopmentJVMJava
0 likes · 3 min read
Unlock the JVM Method Area: 6 Key Components Every Java Developer Should Know
Code Ape Tech Column
Code Ape Tech Column
Aug 12, 2025 · Operations

How to Use Meteor for Real-Time Java App Diagnosis and Performance Tuning

Meteor, built on Alibaba's Arthas, is a non‑intrusive Java diagnostic console that lets developers monitor running applications, locate performance bottlenecks, memory leaks, and thread deadlocks without restarting services, offering a SpringBoot‑based architecture, quick start commands, and features such as class inspection, live code editing, method monitoring, thread management, and dashboards.

ArthasJavaSpringBoot
0 likes · 4 min read
How to Use Meteor for Real-Time Java App Diagnosis and Performance Tuning
dbaplus Community
dbaplus Community
Aug 11, 2025 · Backend Development

How to Choose and Implement a High‑Performance Local Cache in Java

This article explains why a first‑level local cache is essential for high‑performance services, outlines required cache features, compares four Java implementations (ConcurrentHashMap, Guava, Caffeine, Encache), and provides solutions for consistency, hit‑rate improvement, and technology selection, concluding that Caffeine offers the best performance.

CaffeineEhcacheGuava
0 likes · 11 min read
How to Choose and Implement a High‑Performance Local Cache in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 11, 2025 · Backend Development

Boost Excel Processing in Spring Boot 3 with FastExcel – High‑Performance Read/Write Guide

This article introduces the FastExcel library as a high‑performance alternative to Apache POI for handling massive Excel files in Spring Boot 3, presents benchmark results, and provides detailed code examples for writing, reading, and uploading large spreadsheets with multithreading and memory‑efficient settings.

Apache POI alternativeExcel performanceFastExcel
0 likes · 13 min read
Boost Excel Processing in Spring Boot 3 with FastExcel – High‑Performance Read/Write Guide
FunTester
FunTester
Aug 8, 2025 · Backend Development

How FixrLeak Uses Generative AI to Automatically Fix Java Resource Leaks

FixrLeak combines AST analysis with generative AI to detect and automatically repair Java resource leaks, dramatically reducing manual effort, improving code quality, and demonstrating the transformative potential of AI‑driven solutions in large‑scale software engineering.

ASTGenerative AIJava
0 likes · 9 min read
How FixrLeak Uses Generative AI to Automatically Fix Java Resource Leaks
macrozheng
macrozheng
Aug 8, 2025 · Backend Development

Master Java Backend: ThreadLocal, Memory Leaks, Spring Bean Lifecycle & AOP

This guide covers evaluating engineer hourly wages, interview self‑introduction tips, local vs distributed cache choices, ThreadLocal usage, memory‑leak detection with MAT, deadlock troubleshooting, Spring Bean lifecycle, AOP implementation, and Redis‑based distributed locks, plus resources for Spring Boot projects.

AOPCachingJava
0 likes · 20 min read
Master Java Backend: ThreadLocal, Memory Leaks, Spring Bean Lifecycle & AOP
Code Ape Tech Column
Code Ape Tech Column
Aug 7, 2025 · Backend Development

Replace Cluttered if…else with Java 8 Functional Interfaces

This article shows how to eliminate repetitive if…else statements in Java code by leveraging Java 8 functional interfaces such as Supplier, Consumer, Runnable, and custom interfaces for exception handling, branch processing, and null‑value handling, complete with code examples and diagrams.

BackendFunctional InterfaceJava
0 likes · 6 min read
Replace Cluttered if…else with Java 8 Functional Interfaces
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 7, 2025 · Backend Development

Mastering Date Formatting in Spring Boot 3: 5 Practical Solutions

This article explains why proper date formatting matters in Spring Boot applications, compares the default Jackson behavior, and presents five concrete approaches—including global configuration, @JsonFormat, custom ObjectMapper, @JsonComponent, and @JsonSerialize—detailing their implementations, advantages, and drawbacks.

Date FormattingJacksonJava
0 likes · 8 min read
Mastering Date Formatting in Spring Boot 3: 5 Practical Solutions
Java Captain
Java Captain
Aug 6, 2025 · Fundamentals

Unlock Java 17: Records, Sealed Classes, Pattern Matching and More

This article explores the major Java 17 language enhancements—including records, sealed classes, pattern matching, text blocks, var, and the new switch expression—showing how they reduce boilerplate, improve readability, and boost performance compared to legacy Java 8 code.

JDK 17JavaRecord
0 likes · 13 min read
Unlock Java 17: Records, Sealed Classes, Pattern Matching and More
Code Ape Tech Column
Code Ape Tech Column
Aug 6, 2025 · Backend Development

Implement Role‑Based Data Permissions in MyBatis‑Plus Using Annotations & Interceptors

This article explains how to enforce data‑access restrictions in MyBatis‑Plus by creating a custom @UserDataPermission annotation, building an InnerInterceptor that rewrites SQL queries, handling role‑based scopes, and integrating the interceptor into the MyBatis‑Plus plugin for both basic and advanced use cases.

Backend DevelopmentData PermissionInterceptor
0 likes · 17 min read
Implement Role‑Based Data Permissions in MyBatis‑Plus Using Annotations & Interceptors
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 6, 2025 · Backend Development

Dynamic Business Rule Validation in Spring Boot 3 Using AOP

This article demonstrates how to decouple business logic from validation in Spring Boot 3 by creating a custom @BusinessValidation annotation, defining rule interfaces, implementing concrete validators, and using an AOP aspect to execute them with configurable fast‑fail and exception handling, complete with code examples and testing.

AOPBackendCustom Annotation
0 likes · 9 min read
Dynamic Business Rule Validation in Spring Boot 3 Using AOP
Code Ape Tech Column
Code Ape Tech Column
Aug 5, 2025 · Backend Development

Exploring PowerJob: A Lightweight Distributed Task Scheduler for Java

This article introduces PowerJob, a young yet powerful distributed task scheduling framework, covering its selection reasons, core concepts, high‑availability setup, workflow types, scheduling modes, deployment steps, and detailed code examples for single, broadcast, map, and MapReduce jobs.

Distributed SchedulingJavaMapReduce
0 likes · 15 min read
Exploring PowerJob: A Lightweight Distributed Task Scheduler for Java
JakartaEE China Community
JakartaEE China Community
Aug 5, 2025 · Operations

How to Monitor Java Virtual Threads Effectively

This article explains the internal mechanics of Java virtual threads, the role of Continuation, pinned threads, and carrier threads, and provides concrete monitoring techniques using JVM flags, JFR events, and framework-specific considerations for Helidon and Quarkus.

ForkJoinPoolHelidonJFR
0 likes · 11 min read
How to Monitor Java Virtual Threads Effectively
ITPUB
ITPUB
Aug 2, 2025 · Backend Development

Which Language Survives a 1GB Memory Limit? Go, Rust, Node, Python, Java Tested

By imposing a strict 1 GB memory cap on identical workloads across Go, Rust, Node.js, Python (Flask/Gunicorn), and Java Spring Boot, this study reveals how each language’s runtime handles memory pressure, detailing survival times, performance quirks, and ultimate failure modes.

GoJavaMemory
0 likes · 8 min read
Which Language Survives a 1GB Memory Limit? Go, Rust, Node, Python, Java Tested
macrozheng
macrozheng
Aug 1, 2025 · Operations

Mastering Arthas: Fast, Non‑Intrusive Debugging of Java Production Issues

This guide demonstrates how Arthas enables rapid, non‑intrusive diagnosis of Java production problems by addressing common online challenges such as slow interfaces, thread blocking, memory leaks, hot‑fixes, and data inconsistencies, offering concrete commands, code examples, and best‑practice tips for reliable operations.

ArthasJavaperformance
0 likes · 10 min read
Mastering Arthas: Fast, Non‑Intrusive Debugging of Java Production Issues
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 1, 2025 · Backend Development

Master Spring Boot 3: 151 Real‑World Cases on Retry, Concurrency, and HttpClient

This article introduces a continuously updated collection of 151 Spring Boot 3 practical examples, covering built‑in retry mechanisms, concurrency limits, and automatic HTTP client registration, complete with configuration snippets, code samples, and visual illustrations to help developers implement resilient backend services.

BackendHttpClientJava
0 likes · 9 min read
Master Spring Boot 3: 151 Real‑World Cases on Retry, Concurrency, and HttpClient
Sanyou's Java Diary
Sanyou's Java Diary
Jul 31, 2025 · Databases

How MyBatis Interceptors Can Safeguard Your Java Service from Memory Overruns

This article explains how oversized database query results can cause JVM heap spikes, frequent Full GC, or OOM crashes in Java services, and demonstrates a non‑intrusive MyBatis interceptor solution that monitors, grades, and blocks risky queries while exposing Prometheus metrics for proactive alerting and capacity planning.

InterceptorJavaMyBatis
0 likes · 18 min read
How MyBatis Interceptors Can Safeguard Your Java Service from Memory Overruns
macrozheng
macrozheng
Jul 30, 2025 · Backend Development

Unlock Spring Boot: Hidden Default Settings That Can Crash Your App

This article reveals the hidden default configurations of Spring Boot—such as Tomcat connection limits, HikariCP pool sizes, Jackson timezone handling, logging, caching, file upload limits, async thread pools, static resource caching, and transaction timeouts—and provides practical YAML adjustments to prevent performance bottlenecks and production failures.

BackendJavaOptimization
0 likes · 12 min read
Unlock Spring Boot: Hidden Default Settings That Can Crash Your App
macrozheng
macrozheng
Jul 30, 2025 · Backend Development

Why Replacing MyBatis with MyBatis‑Plus Can Break LocalDateTime Handling (and How to Fix It)

A developer upgraded an old Spring Boot project by swapping MyBatis for MyBatis‑Plus, ran into a Conversion not supported for java.time.LocalDateTime error, traced the root cause to MyBatis 3.5.1 delegating type conversion to an outdated mysql‑connector‑java, and resolved it by upgrading the connector and adjusting validation logic, illustrating the ripple effects of component upgrades.

JavaMyBatis-PlusMySQL
0 likes · 9 min read
Why Replacing MyBatis with MyBatis‑Plus Can Break LocalDateTime Handling (and How to Fix It)
Lin is Dream
Lin is Dream
Jul 30, 2025 · Backend Development

Master Java NIO: Simplify Large File Read/Write with ByteBuffer in 5 Steps

This article explains the fundamentals of Java NIO, showing how to use Channels and ByteBuffer to efficiently read, write, and manipulate large files, including memory‑mapped files and RandomAccessFile alternatives, with clear code examples and step‑by‑step guidance.

ByteBufferFile I/OFileChannel
0 likes · 18 min read
Master Java NIO: Simplify Large File Read/Write with ByteBuffer in 5 Steps
ITPUB
ITPUB
Jul 29, 2025 · Big Data

How to Deduplicate 4 Billion QQ IDs Using a Bitmap Within 1 GB Memory

Learn how to efficiently remove duplicates from 4 billion QQ numbers using a memory‑friendly Bitmap approach that fits within a 1 GB limit, including calculations, step‑by‑step implementation, Java code, and a discussion of its advantages and drawbacks.

Big DataData StructuresDeduplication
0 likes · 9 min read
How to Deduplicate 4 Billion QQ IDs Using a Bitmap Within 1 GB Memory
JD Tech Talk
JD Tech Talk
Jul 29, 2025 · Artificial Intelligence

Unlock JD’s Open‑Source JoyAgent: Build, Deploy, and Customize AI Agents

This article introduces JD's open‑source JoyAgent‑JDGenie, a lightweight multi‑agent framework, explains its architecture and performance, and provides step‑by‑step instructions for local Docker deployment, configuration, and usage for creating AI‑driven applications.

AI AgentDockerJava
0 likes · 8 min read
Unlock JD’s Open‑Source JoyAgent: Build, Deploy, and Customize AI Agents
macrozheng
macrozheng
Jul 28, 2025 · Backend Development

Mastering FlowLong: A Lightweight Open‑Source Workflow Engine for Chinese Enterprises

FlowLong is a domestically developed, high‑performance workflow engine that uses JSON‑based process models and a visual designer to simplify complex approval scenarios, integrates seamlessly with Spring Boot and Mybatis‑Plus, provides extensive BPMN features, and includes detailed installation, architecture, and database schema documentation.

BPMJSONJava
0 likes · 15 min read
Mastering FlowLong: A Lightweight Open‑Source Workflow Engine for Chinese Enterprises