Tagged articles
1047 articles
Page 6 of 11
IT Xianyu
IT Xianyu
Dec 10, 2023 · Backend Development

Caffeine Cache: Introduction, Core Concepts, and Spring Boot Integration

This article provides a comprehensive overview of the Caffeine local cache library, covering its fundamentals, configuration options, loading strategies, eviction policies, statistics, and detailed steps for integrating Caffeine with Spring Boot using annotations and custom cache managers.

CacheCaffeineSpringBoot
0 likes · 17 min read
Caffeine Cache: Introduction, Core Concepts, and Spring Boot Integration
JD Tech
JD Tech
Dec 5, 2023 · Backend Development

Comprehensive Guide to Upgrading from JDK8/11 to JDK17: Performance Benefits, New Language Features, and Migration Steps

This article explains why upgrading to JDK 17 is essential, outlines the long‑term support, performance gains from modern garbage collectors like ZGC, new language features such as switch expressions and records, and provides detailed migration steps, Maven and Spring Boot configuration, and troubleshooting tips for a smooth transition.

JDKSpringBootmaven
0 likes · 18 min read
Comprehensive Guide to Upgrading from JDK8/11 to JDK17: Performance Benefits, New Language Features, and Migration Steps
Top Architect
Top Architect
Nov 28, 2023 · Backend Development

Implementing Sign‑In and Statistics with Redis BitMap in Spring Boot

This article explains how to use Redis BitMap to build an efficient sign‑in feature and monthly statistics in a Spring Boot microservice, covering basic BitMap commands, key design, code implementation, testing procedures, and a cache‑penetration mitigation strategy.

BitmapSign-inSpringBoot
0 likes · 12 min read
Implementing Sign‑In and Statistics with Redis BitMap in Spring Boot
Architect's Journey
Architect's Journey
Nov 23, 2023 · Backend Development

Building a DDD‑Based Four‑Layer Microservice Architecture with the D3boot Framework

The article walks through a DDD‑inspired four‑layer microservice architecture, explains how an application SDK enables RPC communication across services, details each architectural layer, and showcases the open‑source D3boot framework that bundles reusable base components, BOM management, and SaaS‑ready features for rapid backend development.

DDDMicroservicesSDK
0 likes · 10 min read
Building a DDD‑Based Four‑Layer Microservice Architecture with the D3boot Framework
Top Architect
Top Architect
Nov 22, 2023 · Information Security

Designing Microservice Permission Control with Shiro and Redis Session Sharing

This article explains how to design microservice permission control using Apache Shiro, sharing session data via Redis, outlines failed approaches, presents a workable solution with custom cache and session managers, and provides complete code examples for realms, configuration, and login flow.

AuthorizationShiroSpringBoot
0 likes · 24 min read
Designing Microservice Permission Control with Shiro and Redis Session Sharing
Top Architect
Top Architect
Nov 22, 2023 · Backend Development

Solving Product Overselling in High‑Concurrency Scenarios: Seven Implementation Methods

This article analyzes the overselling problem that occurs during high‑concurrency flash‑sale (seckill) operations and presents seven concrete solutions—including improved lock placement, AOP‑based locking, three types of database locks, optimistic locking, a blocking‑queue approach, and a Disruptor queue—complete with SpringBoot 2.5.7 code samples, performance test results, and practical recommendations.

DistributedSystemsSeckillSpringBoot
0 likes · 20 min read
Solving Product Overselling in High‑Concurrency Scenarios: Seven Implementation Methods
Top Architect
Top Architect
Nov 20, 2023 · Backend Development

Real‑Time Monitoring System Using WebSocket with SpringBoot and Vue

This article demonstrates how to build a real‑time equipment‑monitoring solution by using WebSocket for server‑to‑client push, with a SpringBoot backend that handles WebSocket connections and a Vue.js front‑end that visualizes device status and updates instantly when an abnormal event is reported.

SpringBootVue.jsWebSocket
0 likes · 11 min read
Real‑Time Monitoring System Using WebSocket with SpringBoot and Vue
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 20, 2023 · Cloud Native

Implementing a Custom Nacos‑like Service Discovery and Configuration Management with Spring Boot

This article explains how to build a Spring Boot‑based service registry that replicates Nacos' core features—service discovery, health‑checking, and dynamic configuration management—by creating server‑side registration APIs, scheduled heartbeat checks, client registration logic, and database‑backed configuration storage.

CloudNativeConfigurationManagementMicroservices
0 likes · 10 min read
Implementing a Custom Nacos‑like Service Discovery and Configuration Management with Spring Boot
JD Cloud Developers
JD Cloud Developers
Nov 15, 2023 · Backend Development

Why Upgrade to JDK 17? Full Migration Guide from JDK 11 with Benchmarks

This article examines the benefits of moving from JDK 11 to the long‑term support JDK 17, detailing performance gains—especially sub‑millisecond ZGC pause times—new language features, compatibility considerations, benchmark results, and step‑by‑step migration instructions for Spring‑based applications.

SpringBootjavajdk17
0 likes · 15 min read
Why Upgrade to JDK 17? Full Migration Guide from JDK 11 with Benchmarks
Su San Talks Tech
Su San Talks Tech
Nov 9, 2023 · Backend Development

Mastering Elegant SMS Sending in Java: Client vs Server Modes

This guide explains how Java applications can send SMS messages efficiently by comparing client‑side SDK integration with a dedicated server‑side SMS platform, covering provider choices, code examples, multi‑channel aggregation with SMS4J, and design considerations for high‑availability messaging.

SMSSMS integrationSpringBoot
0 likes · 8 min read
Mastering Elegant SMS Sending in Java: Client vs Server Modes
Java High-Performance Architecture
Java High-Performance Architecture
Nov 8, 2023 · Backend Development

Build a Java SpringBoot Electronic Signature & Seal System: Full Source Code & Deployment Guide

This article walks through the design and implementation of a Java SpringBoot‑based electronic signature and seal system, covering the underlying concepts of digital signatures, the complete project structure, key controller and service code, utility classes, deployment steps, and a step‑by‑step functional demo with screenshots.

DocumentWorkflowElectronicSignaturePageOffice
0 likes · 15 min read
Build a Java SpringBoot Electronic Signature & Seal System: Full Source Code & Deployment Guide
Architect's Guide
Architect's Guide
Nov 8, 2023 · Backend Development

Introduction to TLog: Enterprise‑Level Microservice Log Tracing and Integration Guide

This article introduces TLog, a zero‑intrusion Java logging library that adds globally unique trace IDs, SpanId and upstream/downstream tags to microservice logs, outlines its key features, multiple integration modes, configuration examples for Log4j and async logging, and shows how to use it with Spring Boot, Spring Native and task frameworks like XXL‑JOB.

Distributed TracingSpringBootTLog
0 likes · 8 min read
Introduction to TLog: Enterprise‑Level Microservice Log Tracing and Integration Guide
Su San Talks Tech
Su San Talks Tech
Nov 8, 2023 · Databases

Speed Up Your SpringBoot App with Druid Connection Pool and SQL Optimization

The article walks through diagnosing a 10‑second backend loading delay, explains connection‑pool concepts, introduces Alibaba's Druid pool with its monitoring UI, shows how to identify and optimize slow SQL queries using DISTINCT and indexes, and provides step‑by‑step SpringBoot integration instructions.

DruidPerformance MonitoringSQL Optimization
0 likes · 16 min read
Speed Up Your SpringBoot App with Druid Connection Pool and SQL Optimization
Su San Talks Tech
Su San Talks Tech
Nov 5, 2023 · Backend Development

Master Parameter & Business Rule Validation in SpringBoot Using Custom Bean Validation

Learn how to implement both simple parameter checks and complex business rule validations in SpringBoot by leveraging Bean Validation, creating custom annotations like @UniqueUser and @NotConflictUser, and integrating them seamlessly into controllers to ensure data integrity and reduce boilerplate logic.

Bean ValidationBusiness Rule ValidationCustom Annotations
0 likes · 9 min read
Master Parameter & Business Rule Validation in SpringBoot Using Custom Bean Validation
Sanyou's Java Diary
Sanyou's Java Diary
Nov 2, 2023 · Backend Development

How Many Requests Can a Default SpringBoot App Handle? Uncover Tomcat & Undertow Limits

This article explores how many concurrent requests a SpringBoot application can process with default settings, demonstrating a hands‑on demo, analyzing Tomcat’s thread‑pool defaults, comparing Undertow behavior, and revealing how configuration parameters like core threads, max threads, queue size, and connection limits affect throughput.

SpringBootThreadPoolTomcat
0 likes · 18 min read
How Many Requests Can a Default SpringBoot App Handle? Uncover Tomcat & Undertow Limits
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 2, 2023 · Backend Development

Rethinking Global Exception Handling in SpringBoot Applications

This article examines the pitfalls of using SpringBoot's @ControllerAdvice and @ExceptionHandler for global exception handling, illustrates common issues across controller, service, and data layers, and proposes more precise logging and debugging strategies to improve error traceability and maintainability.

BackendSpringBootdebugging
0 likes · 7 min read
Rethinking Global Exception Handling in SpringBoot Applications
Java Architect Essentials
Java Architect Essentials
Oct 31, 2023 · Information Security

Understanding Traditional Session Mechanisms, Cluster Session Challenges, and SSO Solutions with CAS and OAuth2

The article explains why multiple independent systems hurt user experience, reviews traditional session and cookie based authentication, discusses session sharing problems in clustered environments, and presents centralized Redis storage and CAS‑based single sign‑on solutions with code examples and a comparison to OAuth2.

CASOAuth2Single Sign-On
0 likes · 16 min read
Understanding Traditional Session Mechanisms, Cluster Session Challenges, and SSO Solutions with CAS and OAuth2
JD Cloud Developers
JD Cloud Developers
Oct 31, 2023 · Backend Development

How SpringBoot Auto‑Configuration Works and Build Your Own Logging Starter

This article explains SpringBoot’s auto‑configuration mechanism, walks through the DispatcherServlet example, and demonstrates how to build a custom logging starter—including annotation, properties class, AOP aspect, auto‑configuration class, Maven packaging, and usage—showcasing the efficiency and reusability benefits for backend developers.

Custom StarterSpringBootauto-configuration
0 likes · 9 min read
How SpringBoot Auto‑Configuration Works and Build Your Own Logging Starter
macrozheng
macrozheng
Oct 30, 2023 · Operations

How to Reclaim Hundreds of GB on Windows by Cleaning JetBrains IDE Files

This guide shows how to free up hundreds of gigabytes on a Windows PC by locating and deleting large JetBrains IDE directories, customizing IDE configuration and cache paths, and also introduces the popular open‑source SpringBoot‑based e‑commerce project “mall” for further learning.

Disk CleanupIDE configurationJetBrains
0 likes · 5 min read
How to Reclaim Hundreds of GB on Windows by Cleaning JetBrains IDE Files
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 25, 2023 · Backend Development

Mastering Spring WebClient: Non‑Blocking HTTP Calls in Spring Boot

This guide introduces Spring WebClient, a reactive, non‑blocking HTTP client for Spring Boot, compares it with RestTemplate, explains configuration options, demonstrates usage patterns, error handling, memory limits, Reactor Netty customization, request bodies, form data, and filter registration, providing practical code examples throughout.

HTTPSpringBootjava
0 likes · 11 min read
Mastering Spring WebClient: Non‑Blocking HTTP Calls in Spring Boot
Architecture Digest
Architecture Digest
Oct 23, 2023 · Backend Development

Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Initialization Bottlenecks

This article investigates why a SpringBoot service takes 6‑7 minutes to start, identifies the bean‑scanning and bean‑initialization phases as the main performance culprits, and presents concrete JavaConfig and starter‑based solutions to reduce startup time to around 40 seconds while handling cache auto‑configuration pitfalls.

BeanScanningCacheJavaConfig
0 likes · 19 min read
Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Initialization Bottlenecks
Java High-Performance Architecture
Java High-Performance Architecture
Oct 22, 2023 · Backend Development

How DynamicTp Turns Java ThreadPoolExecutor into a Real‑Time, Configurable Powerhouse

This article introduces DynamicTp, a Java framework that extends ThreadPoolExecutor with dynamic configuration, real‑time monitoring, and alerting, enabling developers to adjust thread‑pool parameters on the fly, integrate with popular configuration centers, and achieve high‑availability and scalability in microservice environments.

Configuration CenterDynamic Thread PoolDynamicTp
0 likes · 12 min read
How DynamicTp Turns Java ThreadPoolExecutor into a Real‑Time, Configurable Powerhouse
Architect's Guide
Architect's Guide
Oct 21, 2023 · Databases

Implementing Monthly Horizontal Partitioning in MySQL Using Stored Procedures and Dynamic Table Creation

This article details a practical approach to handling massive billing data by dynamically creating monthly tables in MySQL via stored procedures, integrating them with a SpringBoot‑MyBatis backend, and providing APIs for insertion, serial‑number lookup, and time‑range queries, complete with code examples and operational tips.

Dynamic TableSpringBootStored Procedure
0 likes · 31 min read
Implementing Monthly Horizontal Partitioning in MySQL Using Stored Procedures and Dynamic Table Creation
Architecture Digest
Architecture Digest
Oct 20, 2023 · Backend Development

Simplified Seckill Project: Architecture, Core Implementations, and Code Overview

This article introduces a simplified Seckill (flash‑sale) system built with SpringBoot, detailing its overall architecture, key backend techniques such as distributed sessions, Redis caching, RabbitMQ asynchronous ordering, security measures, oversell prevention, rate limiting, and provides essential code snippets and deployment screenshots.

BackendRabbitMQSeckill
0 likes · 8 min read
Simplified Seckill Project: Architecture, Core Implementations, and Code Overview
macrozheng
macrozheng
Oct 20, 2023 · Backend Development

Master Distributed Task Scheduling with PowerJob: Setup, Code, and Deployment

Learn how to install and configure PowerJob, a next‑generation distributed scheduling and computation framework, by setting up MySQL and MongoDB, deploying the server and worker via Docker, adding Maven dependencies, defining processors, and managing tasks through its web UI for reliable microservice job orchestration.

DockerSpringBootpowerjob
0 likes · 10 min read
Master Distributed Task Scheduling with PowerJob: Setup, Code, and Deployment
Java High-Performance Architecture
Java High-Performance Architecture
Oct 20, 2023 · Backend Development

Building a High‑Performance Java Seckill System with SpringBoot, Redis, and RabbitMQ

This article details the design and implementation of a Java-based Seckill (flash‑sale) platform built with SpringBoot, MySQL, Redis, RabbitMQ, and front‑end technologies, covering password hashing, distributed sessions, caching strategies, asynchronous order processing, oversell prevention, rate limiting, and provides code snippets and deployment screenshots.

RabbitMQSeckillSpringBoot
0 likes · 8 min read
Building a High‑Performance Java Seckill System with SpringBoot, Redis, and RabbitMQ
Java High-Performance Architecture
Java High-Performance Architecture
Oct 18, 2023 · Backend Development

Mastering Caffeine: High‑Performance Local Cache for Java Applications

This article provides a comprehensive guide to Caffeine, a high‑performance Java local cache library, covering its fundamentals, loading strategies, eviction policies, refresh mechanisms, statistics, and step‑by‑step integration with Spring Boot using annotations such as @Cacheable and configuration examples.

CacheCaffeineSpringBoot
0 likes · 18 min read
Mastering Caffeine: High‑Performance Local Cache for Java Applications
Architect
Architect
Oct 17, 2023 · Backend Development

Ensuring DB‑Redis Consistency with a Delayed Double‑Delete Strategy in Spring Boot

The article explains how concurrent database updates can cause Redis cache inconsistency, introduces the delayed double‑delete solution, details each step of the algorithm, provides full Spring Boot AOP implementation code, demonstrates verification with test cases, and shares the complete project repository.

Cache ConsistencyDelayed DeleteSpringBoot
0 likes · 11 min read
Ensuring DB‑Redis Consistency with a Delayed Double‑Delete Strategy in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 15, 2023 · Backend Development

How SpringBoot Injects HttpServletRequest via ThreadLocal: A Deep Dive

This article explores how SpringBoot 2.6.12 injects HttpServletRequest into controllers using JDK dynamic proxies and ThreadLocal, detailing the underlying ObjectFactoryDelegatingInvocationHandler, RequestObjectFactory, RequestContextHolder, and DispatcherServlet processing flow with code examples and explains why injecting HttpServletRequest and HttpServletResponse in a controller is safe.

DispatcherServletHttpServletRequestSpringBoot
0 likes · 7 min read
How SpringBoot Injects HttpServletRequest via ThreadLocal: A Deep Dive
macrozheng
macrozheng
Oct 11, 2023 · Backend Development

Mastering End-to-End Shopping Cart to Order Flow in a SpringBoot E‑Commerce System

This article walks through the complete shopping‑cart‑to‑order workflow of the open‑source Mall project—built with SpringBoot, Vue and uni‑app—detailing database schema, cart promotion logic, confirm‑order generation, order creation, cancellation, and payment‑success callbacks, while highlighting key design considerations and code references.

Shopping CartSpringBootbackend design
0 likes · 8 min read
Mastering End-to-End Shopping Cart to Order Flow in a SpringBoot E‑Commerce System
Top Architect
Top Architect
Oct 8, 2023 · Backend Development

Merging Backend Requests in SpringBoot to Reduce Database Connections

This article explains how to merge multiple backend requests in a SpringBoot application using a blocking queue, ScheduledThreadPoolExecutor, and CompletableFuture to batch database queries, reduce connection overhead, handle high concurrency, and includes full Java code examples and performance testing.

Batch ProcessingJava concurrencySpringBoot
0 likes · 15 min read
Merging Backend Requests in SpringBoot to Reduce Database Connections
macrozheng
macrozheng
Sep 28, 2023 · Backend Development

Master RabbitMQ Integration in SpringBoot: From Theory to Real-World Code

This tutorial walks through RabbitMQ fundamentals, installation on macOS, core AMQP concepts, common exchange types, and step‑by‑step SpringBoot integration with code samples, while highlighting practical issues like connection leaks and the need for a connection pool.

IntegrationMessage QueueRabbitMQ
0 likes · 18 min read
Master RabbitMQ Integration in SpringBoot: From Theory to Real-World Code
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 28, 2023 · Backend Development

Comprehensive 12306 Railway Ticket System Project for Learning Distributed Backend Development

This article introduces the 12306 railway ticket system project, detailing its purpose for student learning, two deployment versions, extensive backend architecture, technology stack, code repository structure, design challenges, and resources to help learners master high‑concurrency distributed systems.

Distributed SystemsMicroservicesSpringBoot
0 likes · 15 min read
Comprehensive 12306 Railway Ticket System Project for Learning Distributed Backend Development
Selected Java Interview Questions
Selected Java Interview Questions
Sep 26, 2023 · Databases

Practical Guide to Monthly Horizontal Partitioning in MySQL Using Stored Procedures and SpringBoot

This article presents a hands‑on walkthrough of implementing in‑database horizontal partitioning by month for a high‑volume billing table, covering the business background, design decisions, stored‑procedure table creation, dynamic table selection in MyBatis, and query strategies such as serial‑number lookup and date‑range retrieval.

SpringBootStored ProcedureTable Partitioning
0 likes · 31 min read
Practical Guide to Monthly Horizontal Partitioning in MySQL Using Stored Procedures and SpringBoot
The Dominant Programmer
The Dominant Programmer
Sep 21, 2023 · Backend Development

Essential SpringBoot Tricks: Flyway, JetCache, Netty, and More (Part 2)

This article compiles a set of practical SpringBoot techniques, including Flyway-based SQL version control, JetCache declarative caching, Netty WebSocket service customization, jasypt configuration encryption, ShardingSphere data masking, Jackson response desensitization, read‑write splitting, idempotent request handling, MockMvc testing, and Prometheus‑Grafana monitoring.

FlywayJetCacheNetty
0 likes · 3 min read
Essential SpringBoot Tricks: Flyway, JetCache, Netty, and More (Part 2)
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 15, 2023 · Databases

Why Your JedisPool Keeps Recreating Connections and How to Fix It in Spring Boot

This article investigates why a Spring Boot application using JedisPool experiences high connection‑acquisition latency, analyzes the Evictor logic and mis‑configured pool parameters, and presents a custom configuration solution that stabilizes the pool and eliminates repeated connection creation and destruction.

ConnectionPoolingEvictorJedisPool
0 likes · 15 min read
Why Your JedisPool Keeps Recreating Connections and How to Fix It in Spring Boot
macrozheng
macrozheng
Sep 14, 2023 · Information Security

How to Secure API Endpoints: Prevent Tampering and Replay Attacks with SpringBoot

This article explains why public APIs need protection, outlines anti‑tampering and anti‑replay strategies using timestamps and nonces, and provides complete SpringBoot code—including request signing, filter implementation, and Redis utilities—to safeguard API calls from manipulation and replay attacks.

API SecurityAnti-replayBackend
0 likes · 15 min read
How to Secure API Endpoints: Prevent Tampering and Replay Attacks with SpringBoot
macrozheng
macrozheng
Sep 11, 2023 · Backend Development

Mastering Code Refactoring: From Repetition to Design Patterns in Java

This article walks through a step‑by‑step refactoring of repetitive Java code, illustrating how to extract common methods, use reflection, apply generics with lambda expressions, leverage inheritance and the template method pattern, and finally combine factory, template, and strategy patterns into a clean, reusable solution.

Design PatternsFactory PatternSpringBoot
0 likes · 13 min read
Mastering Code Refactoring: From Repetition to Design Patterns in Java
JD Tech
JD Tech
Sep 1, 2023 · Backend Development

JDK Upgrade Journey: From JDK 8 to JDK 17 with Performance Gains and GC Tuning

This article documents a comprehensive upgrade from JDK 8 to JDK 17, detailing new language and JVM features, evaluation criteria for selecting services, step‑by‑step migration of Maven settings, dependencies, SpringBoot and middleware, performance testing results, and ZGC‑focused garbage‑collector tuning.

JDKSpringBootgc
0 likes · 21 min read
JDK Upgrade Journey: From JDK 8 to JDK 17 with Performance Gains and GC Tuning
Top Architect
Top Architect
Aug 31, 2023 · Backend Development

Implementing Sign‑in and Statistics with Redis BitMap in Spring Boot

This article explains how to use Redis BitMap to build an efficient sign‑in feature and continuous‑sign‑in statistics in a Spring Boot microservice, covering basic BitMap commands, integration steps, core source code, and a cache‑penetration solution using BitMap hashing.

BitmapCacheSign-in
0 likes · 12 min read
Implementing Sign‑in and Statistics with Redis BitMap in Spring Boot
Top Architect
Top Architect
Aug 28, 2023 · Backend Development

WebSocket Load‑Balancing Concept Library for Microservice Architectures

This article introduces a Spring‑Boot library that uses a single annotation to enable WebSocket (and other long‑connection) load balancing across multiple microservice instances, explains its abstract connection model, shows how to configure and use it with code examples, and describes the underlying connection management, selector, and message routing mechanisms.

SpringBootWebSocketjava
0 likes · 14 min read
WebSocket Load‑Balancing Concept Library for Microservice Architectures
Architecture Digest
Architecture Digest
Aug 28, 2023 · Backend Development

A Curated List of 35 Open‑Source SpringBoot / SpringCloud Projects for Rapid Backend Development

This article introduces 35 high‑quality open‑source SpringBoot and SpringCloud projects, ranging from development scaffolds and admin systems to e‑commerce, HR, payment, seckill, blog, and ERP solutions, each with brief feature descriptions, technology stacks, and repository links for developers seeking ready‑made frameworks.

MicroservicesOpenSourceSpringBoot
0 likes · 18 min read
A Curated List of 35 Open‑Source SpringBoot / SpringCloud Projects for Rapid Backend Development
Architect's Tech Stack
Architect's Tech Stack
Aug 26, 2023 · Backend Development

Getting Started with Spring 6 HTTP Interface: A Complete Demo

This article introduces Spring Framework 6's new HTTP Interface feature, walks through creating a simple Spring Boot service, defining a Java interface for HTTP calls, testing it with WebClient and HttpServiceProxyFactory, and explains related annotations and dependencies.

HTTP InterfaceSpringBootjava
0 likes · 7 min read
Getting Started with Spring 6 HTTP Interface: A Complete Demo
Java Interview Crash Guide
Java Interview Crash Guide
Aug 25, 2023 · Backend Development

Boost SpringBoot API Speed with Asynchronous Methods

This article explains why asynchronous methods improve response speed in SpringBoot, demonstrates how to enable @Async, implement service and controller code, configure custom thread pools, handle exceptions, and retrieve results, showing measurable performance gains through non‑blocking execution.

AsyncBackendSpringBoot
0 likes · 9 min read
Boost SpringBoot API Speed with Asynchronous Methods
macrozheng
macrozheng
Aug 25, 2023 · Backend Development

How Many Requests Can a Default SpringBoot App Handle? Uncover Tomcat & Undertow Thread Pool Secrets

This article explores the interview question of how many concurrent requests a SpringBoot project can process by building a minimal demo, measuring Tomcat and Undertow thread pool limits, analyzing default configurations, and showing how container settings and annotations like @Async affect the actual request capacity.

SpringBootThreadPoolTomcat
0 likes · 19 min read
How Many Requests Can a Default SpringBoot App Handle? Uncover Tomcat & Undertow Thread Pool Secrets
Java Interview Crash Guide
Java Interview Crash Guide
Aug 14, 2023 · Big Data

Unlocking Change Data Capture with Debezium in Spring Boot – No Extra Middleware Needed

This article explains how small web projects can avoid heavyweight message middleware by using CDC technology, specifically Debezium, to monitor MySQL binlog changes, outlines why Debezium outperforms alternatives like Canal, and provides step‑by‑step Spring Boot integration with configuration, code samples, and practical use‑case scenarios.

CDCChange Data CaptureDebezium
0 likes · 22 min read
Unlocking Change Data Capture with Debezium in Spring Boot – No Extra Middleware Needed
IT Services Circle
IT Services Circle
Aug 12, 2023 · Backend Development

Introducing LiteFlow: A Lightweight Java Flow Engine for Complex Business Logic

This article introduces LiteFlow, a lightweight yet powerful Java flow engine that enables developers to define complex business logic through concise rule files, demonstrates its key features, IDE plugin support, various orchestration expressions, and provides step‑by‑step integration examples with SpringBoot, code snippets, and a real‑world order‑price calculation use case.

LiteFlowSpringBootbusiness logic
0 likes · 10 min read
Introducing LiteFlow: A Lightweight Java Flow Engine for Complex Business Logic
Architect
Architect
Aug 9, 2023 · Backend Development

Dynamic Management of SpringBoot @Scheduled Tasks with SuperScheduled

This article explains how to enhance SpringBoot's native @Scheduled tasks with the spring-boot-starter-super-scheduled library, allowing dynamic creation, modification, and cancellation of scheduled jobs at runtime without altering existing annotations, and details the underlying implementation using BeanPostProcessor, CGLIB proxies, and a custom task manager.

Dynamic ManagementScheduled TasksSpringBoot
0 likes · 14 min read
Dynamic Management of SpringBoot @Scheduled Tasks with SuperScheduled
Top Architect
Top Architect
Aug 9, 2023 · Backend Development

Unified Exception Handling in Spring Boot: Design, Implementation, and Best Practices

This article explains how to design and implement a unified exception handling framework in Spring Boot applications, covering background, the use of @ControllerAdvice and @ExceptionHandler, custom assertion utilities, error response structures, handling of various exception types, and practical validation examples with code snippets.

SpringBootUnifiedErrorexceptionhandling
0 likes · 22 min read
Unified Exception Handling in Spring Boot: Design, Implementation, and Best Practices
Su San Talks Tech
Su San Talks Tech
Aug 6, 2023 · Backend Development

Why Adding Fastjson to a SpringBoot Agent Breaks Class Loading

A Java developer added fastjson to a SkyWalking agent for JSON conversion, causing class‑loading conflicts in a SpringBoot 2 application; the article analyzes the root cause, demonstrates debugging steps, explains the parent‑delegation mechanism, and presents solutions using Maven shade relocation or switching to Gson, with practical lessons for avoiding similar issues.

Dependency ConflictGsonSpringBoot
0 likes · 14 min read
Why Adding Fastjson to a SpringBoot Agent Breaks Class Loading
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Aug 2, 2023 · Backend Development

Why Fastjson Breaks SpringBoot Agents and How to Resolve the ClassLoader Conflict

This article analyzes how adding Fastjson to a SpringBoot agent causes classloader conflicts that prevent GenericHttpMessageConverter from loading, explains the underlying parent‑delegation mechanism, and presents solutions such as using Maven Shade to rename packages or switching to a lightweight JSON library like Gson.

Dependency ConflictGsonSpringBoot
0 likes · 16 min read
Why Fastjson Breaks SpringBoot Agents and How to Resolve the ClassLoader Conflict
Java Interview Crash Guide
Java Interview Crash Guide
Aug 1, 2023 · Backend Development

How to Quickly Identify Slow Java Code Blocks with Arthas

This guide explains how to use the open‑source Java diagnostic tool Arthas to attach to a running Spring Boot application, view real‑time metrics, and trace method execution in order to pinpoint and optimize performance‑critical code sections without modifying the source.

ArthasProfilingSpringBoot
0 likes · 8 min read
How to Quickly Identify Slow Java Code Blocks with Arthas
Selected Java Interview Questions
Selected Java Interview Questions
Jul 31, 2023 · Backend Development

How to Configure Date Formatting in SpringBoot Backend Applications

This guide explains how to customize the serialization and deserialization of Date objects in SpringBoot by adjusting application.yml/properties, using @JsonFormat, @DateTimeFormat, and @Temporal annotations, and by creating global converters for both form submissions and JSON payloads, ensuring consistent timezone handling.

Date FormattingGlobal ConverterJackson
0 likes · 12 min read
How to Configure Date Formatting in SpringBoot Backend Applications
macrozheng
macrozheng
Jul 29, 2023 · Backend Development

Accelerate Java API Development with magic-api: A Hands‑On Guide

Discover how magic‑api, a Java‑based rapid API framework, streamlines backend development by eliminating boilerplate code, enabling visual API design, dynamic configuration, and seamless database integration, all demonstrated through a step‑by‑step tutorial using a SpringBoot e‑commerce project.

API developmentSpringBootjava
0 likes · 9 min read
Accelerate Java API Development with magic-api: A Hands‑On Guide
Architect's Guide
Architect's Guide
Jul 28, 2023 · Information Security

OAuth 2.0 Overview, Authorization Modes, and Implementation for GitHub, QQ, and WeChat Login

This article provides a comprehensive introduction to OAuth 2.0, its core concepts, advantages and disadvantages, details four authorization flows, and presents step‑by‑step Java Spring Boot implementations for GitHub, QQ, and WeChat third‑party login, including database design considerations and code examples.

AuthenticationGitHubOAuth2
0 likes · 21 min read
OAuth 2.0 Overview, Authorization Modes, and Implementation for GitHub, QQ, and WeChat Login
Architecture Digest
Architecture Digest
Jul 27, 2023 · Backend Development

Implementing Load Balancing with Nginx and SpringBoot

This article explains how Nginx can be used to achieve various load‑balancing strategies—including round‑robin, least‑connections, IP hash, generic hash, least‑time, and random—provides detailed configuration examples, shows how to integrate Nginx with SpringBoot services, and outlines testing and deployment steps.

ConfigurationNginxProxy
0 likes · 8 min read
Implementing Load Balancing with Nginx and SpringBoot
Java Interview Crash Guide
Java Interview Crash Guide
Jul 26, 2023 · Backend Development

Ensuring API Idempotency: 4 Proven Strategies with SpringBoot & Redis

This article explains why API idempotency is crucial in real‑world systems, outlines which operations need it, discusses the trade‑offs of adding idempotency, and presents four practical implementation patterns—including unique primary keys, optimistic locking, anti‑duplicate tokens, and downstream sequence numbers—complete with SpringBoot code examples.

APIIdempotencySpringBoot
0 likes · 23 min read
Ensuring API Idempotency: 4 Proven Strategies with SpringBoot & Redis
Code Ape Tech Column
Code Ape Tech Column
Jul 25, 2023 · Backend Development

High‑Concurrency Seckill Implementation in SpringBoot: Locking Strategies and Performance Testing

This article demonstrates how to simulate a high‑concurrency flash‑sale scenario using SpringBoot, MySQL and JMeter, analyzes why naive lock‑and‑transaction code causes overselling, and presents six refined solutions—including controller‑level locking, AOP locking, pessimistic and optimistic database locks, and queue‑based approaches—along with performance test results.

JMeterLockQueue
0 likes · 20 min read
High‑Concurrency Seckill Implementation in SpringBoot: Locking Strategies and Performance Testing
Top Architect
Top Architect
Jul 20, 2023 · Backend Development

Solving Product Overselling in High‑Concurrency Flash Sale Scenarios: Seven Implementation Approaches

This article analyzes the common overselling problem in high‑traffic flash‑sale systems and presents seven concrete solutions—including improved locking, AOP locking, pessimistic and optimistic locks, as well as blocking‑queue and Disruptor‑based designs—complete with SpringBoot code samples and performance testing results.

QueueSpringBootconcurrency
0 likes · 20 min read
Solving Product Overselling in High‑Concurrency Flash Sale Scenarios: Seven Implementation Approaches
Sohu Tech Products
Sohu Tech Products
Jul 19, 2023 · Backend Development

Plugin Architecture in Java: SPI, ServiceLoader, and Spring Boot Implementations

This article explains the benefits and common practices of plugin‑based development in Java, covering module decoupling, extensibility, third‑party integration, and detailed implementations using Java SPI, custom configuration loading, and Spring Boot's spring.factories mechanism with practical code examples.

SPIServiceLoaderSpringBoot
0 likes · 18 min read
Plugin Architecture in Java: SPI, ServiceLoader, and Spring Boot Implementations
Su San Talks Tech
Su San Talks Tech
Jul 16, 2023 · Backend Development

Mastering CORS: Real‑World Backend Configurations and Chrome Private‑Network Fixes

This article shares a hands‑on journey of solving cross‑origin issues in a multi‑domain education product, covering CORS fundamentals, simple and preflight requests, Nginx and SpringBoot configurations, response‑code choices, and Chrome’s insecure private‑network restrictions, with practical solutions and lessons learned.

BackendCORSChrome
0 likes · 18 min read
Mastering CORS: Real‑World Backend Configurations and Chrome Private‑Network Fixes
macrozheng
macrozheng
Jul 4, 2023 · Backend Development

Ensuring Cache‑DB Consistency with Canal, RabbitMQ, and Redis in SpringBoot

This guide walks through building a SpringBoot architecture that updates MySQL first, deletes Redis cache asynchronously via Canal and RabbitMQ, resolves common Canal meta‑data mismatches, and configures manual RabbitMQ acknowledgments to guarantee reliable cache invalidation.

Cache ConsistencyCanalMessage Queue
0 likes · 12 min read
Ensuring Cache‑DB Consistency with Canal, RabbitMQ, and Redis in SpringBoot
Programmer DD
Programmer DD
Jul 4, 2023 · Backend Development

Unlock MyBatis Performance: Mastering First and Second Level Caches

This article explains how MyBatis first‑level (session) and second‑level (cross‑session) caches work, the conditions required for them to function, common pitfalls when integrating with SpringBoot, and step‑by‑step instructions to enable and safely use second‑level caching in real projects.

CacheFirst-Level CacheMyBatis
0 likes · 11 min read
Unlock MyBatis Performance: Mastering First and Second Level Caches
macrozheng
macrozheng
Jun 30, 2023 · Backend Development

Mastering Order Management in a SpringBoot‑Vue E‑Commerce Project

This article walks through the design and implementation of the order module in the Mall project, covering both backend administration and frontend shopping flow, database schema, API design, and available video tutorials for a comprehensive e‑commerce solution.

BackendOrder ManagementSpringBoot
0 likes · 8 min read
Mastering Order Management in a SpringBoot‑Vue E‑Commerce Project
macrozheng
macrozheng
Jun 28, 2023 · Backend Development

How to Build a Powerful File Preview Service with kkFileView and SpringBoot

This guide walks you through setting up kkFileView—a SpringBoot‑based file preview tool—on Windows or Linux (Docker), configuring it to work with MinIO, and using it to preview a wide range of document, image, video, and archive formats via simple base64‑encoded URLs.

DockerMinioSpringBoot
0 likes · 7 min read
How to Build a Powerful File Preview Service with kkFileView and SpringBoot
macrozheng
macrozheng
Jun 20, 2023 · Backend Development

Mastering E‑Commerce Product Module Design with the Mall Project

This article walks through the Mall project's product module—covering its architecture, feature design, database schema, and API implementation—while providing links to source code, video tutorials, and a mind‑map that together serve as a comprehensive guide for building robust e‑commerce systems.

SpringBootapi-designbackend-development
0 likes · 10 min read
Mastering E‑Commerce Product Module Design with the Mall Project
Top Architect
Top Architect
Jun 18, 2023 · Backend Development

Java Plugin Development: SPI, ServiceLoader, and Spring Boot Integration

This article explains the concept of plugin‑based development, outlines its benefits such as decoupling and extensibility, and provides step‑by‑step Java implementations using ServiceLoader, custom configuration files, and Spring Boot's spring.factories mechanism, complete with runnable code examples.

SPIServiceLoaderSpringBoot
0 likes · 21 min read
Java Plugin Development: SPI, ServiceLoader, and Spring Boot Integration
Java Architect Essentials
Java Architect Essentials
Jun 13, 2023 · Cloud Native

Zero‑Downtime Deployment with K8s and SpringBoot: Health Checks, Rolling Updates, Graceful Shutdown, Autoscaling, Prometheus Integration, and Config Separation

This article demonstrates how to achieve zero‑downtime releases for SpringBoot applications on Kubernetes by configuring readiness/liveness probes, rolling update strategies, graceful shutdown hooks, horizontal pod autoscaling, Prometheus monitoring, and externalized configuration via ConfigMaps.

ConfigMapHealthcheckKubernetes
0 likes · 13 min read
Zero‑Downtime Deployment with K8s and SpringBoot: Health Checks, Rolling Updates, Graceful Shutdown, Autoscaling, Prometheus Integration, and Config Separation
Java Backend Technology
Java Backend Technology
Jun 9, 2023 · Backend Development

Why Switch to Undertow? Boost SpringBoot Performance Over Tomcat

This article explains how to replace SpringBoot's default embedded Tomcat with the high‑performance Undertow container, compares their architectures, presents benchmark results on QPS and memory usage, and shows why Undertow is the better choice for high‑concurrency Java web applications.

SpringBootTomcatWeb server
0 likes · 6 min read
Why Switch to Undertow? Boost SpringBoot Performance Over Tomcat
macrozheng
macrozheng
Jun 7, 2023 · Backend Development

How to Kickstart a New Java Mall Project: From Tech Stack to Framework Setup

This guide walks newcomers through taking over a brand‑new Java mall project, covering the full development workflow, selecting a modern backend tech stack, building the framework step‑by‑step, and accessing a comprehensive video tutorial series for hands‑on learning.

SpringBootjavaproject setup
0 likes · 9 min read
How to Kickstart a New Java Mall Project: From Tech Stack to Framework Setup
FunTester
FunTester
Jun 6, 2023 · Backend Development

Dynamic Adjustment of Java ThreadPoolExecutor Core Pool Size Based on Queue Length

The article explains how to extend Java's ThreadPoolExecutor by dynamically increasing or decreasing corePoolSize according to the task queue length, using setCorePoolSize, a daemon monitoring thread, and scheduled tasks to improve asynchronous processing performance in Spring Boot applications.

CorePoolSizeDynamic ScalingSpringBoot
0 likes · 7 min read
Dynamic Adjustment of Java ThreadPoolExecutor Core Pool Size Based on Queue Length
Code Ape Tech Column
Code Ape Tech Column
Jun 5, 2023 · Backend Development

How to Slim Down SpringBoot Jar Packages for Faster Deployment

This article explains how to reduce the size of SpringBoot executable JAR files by separating application classes from dependency libraries, configuring the Maven build to use a ZIP layout, and deploying the slimmed package with a custom loader path, thereby speeding up uploads and updates.

DeploymentJar SlimmingSpringBoot
0 likes · 6 min read
How to Slim Down SpringBoot Jar Packages for Faster Deployment
The Dominant Programmer
The Dominant Programmer
May 31, 2023 · Backend Development

SpringBoot Essentials: AES Encryption, Netty TCP Client, Redis Integration, and More

This article compiles a series of practical SpringBoot implementations—including AES encryption with Vue, a Netty‑based TCP client that parses hex data into MySQL, multiple Redis integration patterns, strategy‑factory designs, custom annotations for rate limiting, global exception handling, and scheduled tasks—each linked to detailed examples.

AESNettySpringBoot
0 likes · 5 min read
SpringBoot Essentials: AES Encryption, Netty TCP Client, Redis Integration, and More
macrozheng
macrozheng
May 30, 2023 · Backend Development

Mastering Java Exception Handling: From Basics to Advanced Practices

This article explores Java's exception hierarchy, demonstrates proper use of try‑catch‑finally and return statements, shows how to define custom system, business, and third‑party exceptions, implements global handling with @RestControllerAdvice, and discusses monitoring and alerting strategies for robust backend development.

Custom ExceptionsException HandlingSpringBoot
0 likes · 15 min read
Mastering Java Exception Handling: From Basics to Advanced Practices