Tagged articles
1047 articles
Page 7 of 11
Top Architect
Top Architect
May 23, 2023 · Backend Development

Understanding @NotNull, @NotBlank, @NotEmpty and the Difference Between @Valid and @Validated in Spring Boot

This article explains how to import validation dependencies in Spring Boot, compares the semantics of @NotNull, @NotBlank, and @NotEmpty annotations, demonstrates their usage with code examples, and clarifies the behavioral differences between @Valid and @Validated when validating controller inputs.

@Valid@ValidatedNotBlank
0 likes · 7 min read
Understanding @NotNull, @NotBlank, @NotEmpty and the Difference Between @Valid and @Validated in Spring Boot
政采云技术
政采云技术
May 18, 2023 · Backend Development

Understanding Spring Retry: A Comprehensive Guide to Retry, Backoff, and Circuit Breaker Mechanisms

This article explains the concept of retry in distributed systems, introduces Spring Retry and its annotations, demonstrates Maven dependencies, configuration, various retry policies, backoff strategies, circuit breaker support, and walks through the core implementation details with practical code examples.

BackoffCircuitBreakerRetry
0 likes · 20 min read
Understanding Spring Retry: A Comprehensive Guide to Retry, Backoff, and Circuit Breaker Mechanisms
IT Services Circle
IT Services Circle
May 16, 2023 · Backend Development

Multi‑Stage Optimization of Category Tree Queries in a SpringBoot Application

This article details a step‑by‑step performance optimization of a category‑tree query in a SpringBoot‑Thymeleaf e‑commerce system, covering initial Redis caching, periodic job updates, local Caffeine cache, Gzip compression, data slimming, and byte‑level compression to dramatically improve response times and reduce Redis key size.

CaffeineGzipSpringBoot
0 likes · 9 min read
Multi‑Stage Optimization of Category Tree Queries in a SpringBoot Application
Su San Talks Tech
Su San Talks Tech
May 14, 2023 · Backend Development

How We Boosted a Classification Tree API 10× Faster with 5 Smart Optimizations

In this article we walk through five successive optimizations—adding Redis caching, scheduling asynchronous jobs, introducing local Caffeine cache, enabling Nginx GZip compression, and slimming Redis data—to dramatically improve the performance of a SpringBoot‑Thymeleaf classification‑tree query, reducing response size from 1 MB to 100 KB and raising QPS from 100 to over 500.

CaffeineNginxSpringBoot
0 likes · 10 min read
How We Boosted a Classification Tree API 10× Faster with 5 Smart Optimizations
Java Architect Essentials
Java Architect Essentials
May 13, 2023 · Information Security

Sa-Token Java Authentication and Authorization Framework: Overview, Core Concepts, and SpringBoot Integration

This article introduces the lightweight Sa-Token Java framework, explains its login and permission authentication mechanisms, demonstrates essential API usage with code examples, and provides step‑by‑step integration guides for SpringBoot and WebFlux, covering configuration, session handling, role checks, wildcard permissions, and global exception handling.

AuthenticationAuthorizationSa-Token
0 likes · 23 min read
Sa-Token Java Authentication and Authorization Framework: Overview, Core Concepts, and SpringBoot Integration
Java Architect Essentials
Java Architect Essentials
May 11, 2023 · Backend Development

Implementing Dynamic Scheduled Tasks in Spring Boot

This article demonstrates how to create Spring Boot scheduled tasks whose execution intervals can be changed at runtime using configurable cron expressions or a PeriodicTrigger, providing full source code, configuration files, and a REST API for updating the schedule.

DynamicSchedulingPeriodicTriggerSpringBoot
0 likes · 10 min read
Implementing Dynamic Scheduled Tasks in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
May 11, 2023 · Backend Development

Handling CORS in SpringBoot: Concepts and Implementation Methods

This article explains the concept of Cross-Origin Resource Sharing (CORS), its role in browser security, and provides three practical ways to handle CORS in SpringBoot applications—including using the @CrossOrigin annotation, a dedicated configuration class, and a custom filter—complete with code examples.

CORSSpringBootcrossorigin
0 likes · 7 min read
Handling CORS in SpringBoot: Concepts and Implementation Methods
Top Architect
Top Architect
May 10, 2023 · Backend Development

Request Collapsing Techniques: Hystrix Collapser, Custom BatchCollapser, and ConcurrentHashMultiset

This article explores how merging similar or duplicate requests upstream can reduce downstream load and improve throughput, introducing three request‑combining techniques—Netflix’s Hystrix Collapser, a custom BatchCollapser implementation, and Guava’s ConcurrentHashMultiset—detailing their configurations, code examples, and suitable use‑cases.

HystrixSpringBootjava
0 likes · 14 min read
Request Collapsing Techniques: Hystrix Collapser, Custom BatchCollapser, and ConcurrentHashMultiset
Java Architect Essentials
Java Architect Essentials
May 9, 2023 · Operations

One‑Click Jenkins + Docker + SpringBoot Automated Deployment Guide

This tutorial walks through setting up a CentOS 7 environment, installing Docker CE, deploying Jenkins in a Docker container, configuring Maven and required plugins, creating a Jenkins pipeline that builds a SpringBoot project, packages it into a Docker image via a Dockerfile, and runs the container automatically, providing full end‑to‑end CI/CD automation.

DockerJenkinsLinux
0 likes · 7 min read
One‑Click Jenkins + Docker + SpringBoot Automated Deployment Guide
Top Architect
Top Architect
May 3, 2023 · Backend Development

Integrating Dubbo with SpringBoot Using gRPC: Project Structure, Maven Configuration, and Code Samples

This article provides a step‑by‑step guide on how to integrate Dubbo with SpringBoot to enable the gRPC protocol, covering project structure, Maven BOM dependencies, protobuf generation, service implementation, configuration details, and the differences between Dubbo‑enabled gRPC and native gRPC.

DubboMicroservicesSpringBoot
0 likes · 18 min read
Integrating Dubbo with SpringBoot Using gRPC: Project Structure, Maven Configuration, and Code Samples
Top Architect
Top Architect
Apr 28, 2023 · Backend Development

Netty TCP Demo: Long‑Lived Socket Connection Architecture and Implementation

This article presents a complete Netty‑based TCP demo for IoT projects, detailing the project background, architecture, module layout, business flow, and in‑depth Java code examples—including a local queue, multithreaded processing, client creation, Redis locking, and SpringBoot integration—along with testing instructions and source links.

MessageQueueNettySocket
0 likes · 19 min read
Netty TCP Demo: Long‑Lived Socket Connection Architecture and Implementation
Top Architect
Top Architect
Apr 27, 2023 · Backend Development

Optimizing SpringBoot Startup Performance by Reducing Bean Scanning and Monitoring Bean Initialization

This article explains how to diagnose and dramatically reduce SpringBoot application startup time—from several minutes to seconds—by analyzing the SpringApplicationRunListener and BeanPostProcessor phases, limiting component scanning, customizing bean registration, and handling cache auto‑configuration issues, with detailed code examples and performance measurements.

BeanScanningSpringBootjava
0 likes · 20 min read
Optimizing SpringBoot Startup Performance by Reducing Bean Scanning and Monitoring Bean Initialization
Top Architect
Top Architect
Apr 21, 2023 · Backend Development

Netty TCP Long‑Connection Demo for IoT Messaging with Redis and Spring Boot

This article presents a complete Netty‑based TCP client/server demo for IoT long‑connection messaging, explains the project architecture, module layout, business flow, and provides detailed Java code for a local message queue, multithreaded processing, client creation, handler logic, and testing endpoints.

IoTMessageQueueNetty
0 likes · 19 min read
Netty TCP Long‑Connection Demo for IoT Messaging with Redis and Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Apr 20, 2023 · Backend Development

Layered Architecture in SpringBoot: Nine-Layer Structure and Detailed Implementation

This article explains the concept of layered architecture for Java SpringBoot projects, introduces a nine‑layer structure, discusses each layer’s responsibilities, shows concrete code examples for utilities, infrastructure, domain, service, integration, facade, client, controller and boot modules, and summarizes the five design dimensions of single responsibility, noise reduction, adaptation, business logic, and data purity.

DDDMicroservicesSpringBoot
0 likes · 19 min read
Layered Architecture in SpringBoot: Nine-Layer Structure and Detailed Implementation
Top Architect
Top Architect
Apr 17, 2023 · Backend Development

Handling Redis Cache Pitfalls: Penetration, Avalanche, Breakdown, and Consistency with Bloom Filters and Distributed Locks

This article explains the four common Redis caching challenges—cache penetration, avalanche, breakdown, and data inconsistency—demonstrates their impact under high concurrency, and provides practical Java Spring Boot solutions including caching null objects, Bloom filters, distributed locks, random expiration, and delayed double‑delete strategies with full code examples.

BloomFilterCacheCacheInvalidation
0 likes · 28 min read
Handling Redis Cache Pitfalls: Penetration, Avalanche, Breakdown, and Consistency with Bloom Filters and Distributed Locks
Su San Talks Tech
Su San Talks Tech
Apr 12, 2023 · Backend Development

Build a Switchable SpringBoot Rate Limiter with Guava and Redis

This tutorial walks through creating a reusable SpringBoot starter that combines Guava's local token‑bucket limiter and Redis's distributed limiter, allowing developers to toggle between them via a simple configuration property and integrate the solution seamlessly with AOP and conditional beans.

GuavaSpringBootStarter
0 likes · 9 min read
Build a Switchable SpringBoot Rate Limiter with Guava and Redis
Top Architect
Top Architect
Mar 30, 2023 · Backend Development

Calling External APIs in Spring Boot: HttpClient, RestTemplate, and Feign

This article explains how to invoke external services from a Spring Boot application using three approaches—raw HttpClient, RestTemplate, and Feign—providing code examples, configuration steps, and tips for handling headers and tokens to ensure successful API communication.

APIHttpClientSpringBoot
0 likes · 12 min read
Calling External APIs in Spring Boot: HttpClient, RestTemplate, and Feign
Top Architect
Top Architect
Mar 28, 2023 · Backend Development

Optimizing SpringBoot Startup Time: Diagnosing Bean Scanning and Initialization Bottlenecks

This article explains how to identify and reduce the excessive startup latency of a SpringBoot service by profiling the run method, customizing SpringApplicationRunListener and BeanPostProcessor, trimming component‑scan paths, and leveraging JavaConfig and starter mechanisms to avoid unnecessary bean loading and auto‑configuration overhead.

BeanScanningCacheJavaConfig
0 likes · 18 min read
Optimizing SpringBoot Startup Time: Diagnosing Bean Scanning and Initialization Bottlenecks
DaTaobao Tech
DaTaobao Tech
Mar 27, 2023 · Frontend Development

Building a Vue + SpringBoot Management System: Setup, Architecture, and Deployment

This step‑by‑step guide shows backend developers how to create a small management system with Vue 3, TypeScript, Vite, and SpringBoot, covering the technology stack, development‑tool installation, project scaffolding, core components, routing, Pinia state, Axios API wrappers, TypeScript interfaces, environment configuration, and deployment.

SpringBootTypeScriptVite
0 likes · 22 min read
Building a Vue + SpringBoot Management System: Setup, Architecture, and Deployment
Architect
Architect
Mar 25, 2023 · Backend Development

Optimizing SpringBoot Startup Time: Diagnosing Bean Scanning and Initialization Bottlenecks

This article analyzes why a SpringBoot service takes minutes to start, identifies the bean‑scanning and bean‑initialization phases as the main performance culprits, and presents practical solutions such as narrowing scan packages, using JavaConfig for explicit bean registration, customizing SpringApplicationRunListener and BeanPostProcessor for timing, and leveraging SpringBoot starter mechanisms to streamline cache configuration.

BeanScanningCacheJavaConfig
0 likes · 18 min read
Optimizing SpringBoot Startup Time: Diagnosing Bean Scanning and Initialization Bottlenecks
Top Architect
Top Architect
Mar 24, 2023 · Backend Development

Dynamic Management of SpringBoot @Scheduled Tasks with SuperScheduled Starter

This article presents SuperScheduled, a SpringBoot starter that enhances native @Scheduled tasks by enabling dynamic runtime management, custom cron, fixedDelay and fixedRate adjustments, and a plug‑in AOP‑like enhancement mechanism without modifying existing scheduled methods.

Dynamic ManagementScheduled TasksSpringBoot
0 likes · 15 min read
Dynamic Management of SpringBoot @Scheduled Tasks with SuperScheduled Starter
Java Architect Essentials
Java Architect Essentials
Mar 23, 2023 · Operations

Easy-Jenkins: One-Click Deployment Tool for Vue and Jar Projects

The article introduces Easy-Jenkins, a lightweight one‑click deployment tool for Vue front‑ends and Java jar back‑ends, explains its architecture, provides step‑by‑step installation, configuration, and usage instructions—including project structure, adding connections, deploying jars, managing branches, and launching the application—along with sample commands and screenshots.

JenkinsSpringBootautomation
0 likes · 7 min read
Easy-Jenkins: One-Click Deployment Tool for Vue and Jar Projects
Architect
Architect
Mar 17, 2023 · Backend Development

Million‑Scale Data Export with JPA and MyBatis in Spring Boot

This article explains how to export tens of millions of rows from MySQL using Spring Boot by streaming data with JPA or MyBatis, avoiding OutOfMemoryError, switching to CSV format, and provides complete code examples, performance comparison, and tips for generating test data.

CSVDataExportMyBatis
0 likes · 12 min read
Million‑Scale Data Export with JPA and MyBatis in Spring Boot
Programmer DD
Programmer DD
Mar 15, 2023 · Information Security

How to Prevent XSS and SQL Injection in SpringBoot: Filters and Code Examples

This article explains XSS attack types, SQL injection risks, and provides practical SpringBoot filter implementations with MyBatis prepared statements and custom deserializers to sanitize request parameters, JSON bodies, and prevent malicious script and database attacks.

MyBatisRequest SanitizationSQL injection
0 likes · 13 min read
How to Prevent XSS and SQL Injection in SpringBoot: Filters and Code Examples
Su San Talks Tech
Su San Talks Tech
Mar 12, 2023 · Backend Development

Unlocking Spring’s Hidden Extension Points: From FactoryBean to @Import and Beyond

This article provides a comprehensive guide to Spring’s extension mechanisms, covering FactoryBean, @Import, bean lifecycle callbacks, BeanPostProcessor, BeanFactoryPostProcessor, the SPI system, Spring Boot startup hooks, event publishing, and custom XML namespaces, complete with runnable code examples and diagrams.

BeanPostProcessorEventFactoryBean
0 likes · 37 min read
Unlocking Spring’s Hidden Extension Points: From FactoryBean to @Import and Beyond
Top Architect
Top Architect
Mar 11, 2023 · Backend Development

Using cpolar for Intranet Penetration to Debug SpringBoot APIs

This tutorial explains how to set up a Java SpringBoot service, install and configure the cpolar intranet‑penetration tool, create HTTP tunnels for local ports, test the public endpoints with Postman, reserve a fixed sub‑domain, and use cpolar's listener for request debugging.

API debuggingBackendSpringBoot
0 likes · 7 min read
Using cpolar for Intranet Penetration to Debug SpringBoot APIs
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 8, 2023 · Backend Development

SpringBoot Application Startup Analysis and Optimization in NetEase Cloud Music

The article details how NetEase Cloud Music’s SpringBoot scaffolding suffered minute‑long startup times, how the team pinpointed bottlenecks such as Scala property parsing, RPC builder/service initialization and thousands of beans using log‑based timing and Arthas profiling, and how moving parsing to a Maven plugin, making RPC connections asynchronous, and applying custom lazy‑initialization cut startup time by roughly 40%.

SpringBootjavalazy-initialization
0 likes · 15 min read
SpringBoot Application Startup Analysis and Optimization in NetEase Cloud Music
Selected Java Interview Questions
Selected Java Interview Questions
Mar 6, 2023 · Backend Development

Common Spring Boot Bean Injection Issues and Their Solutions

This article explains typical Spring Boot bean injection failures—such as missing component scanning, multi‑module scanning gaps, incorrect @Qualifier/@Resource names, and injection in filters or listeners—and provides concrete configuration and code examples to resolve each problem.

BeanInjectionComponentScanSpringBoot
0 likes · 10 min read
Common Spring Boot Bean Injection Issues and Their Solutions
Top Architect
Top Architect
Mar 6, 2023 · Backend Development

Using Caffeine Cache in Spring Boot: Features, Configuration, and Code Examples

This article introduces Caffeine Cache as a modern local caching solution, explains its W‑TinyLFU algorithm advantages over Guava, demonstrates various loading and eviction strategies, and provides detailed Spring Boot integration examples with Maven dependencies, configuration, annotations, and custom bean setups.

CacheCaffeineSpringBoot
0 likes · 24 min read
Using Caffeine Cache in Spring Boot: Features, Configuration, and Code Examples
Top Architect
Top Architect
Mar 3, 2023 · Backend Development

Comprehensive MyBatis‑Plus Guide: Overview, Quick Start, CRUD Extensions, Optimistic Lock, Logical Delete, Pagination, and Code Generator

This article provides a detailed introduction to MyBatis‑Plus, covering its core features, step‑by‑step quick‑start instructions, CRUD operations, advanced configurations such as optimistic locking, logical deletion, pagination, performance analysis, and the built‑in code generator, all illustrated with complete Java code examples.

CRUDCodeGenerationORM
0 likes · 19 min read
Comprehensive MyBatis‑Plus Guide: Overview, Quick Start, CRUD Extensions, Optimistic Lock, Logical Delete, Pagination, and Code Generator
Programmer DD
Programmer DD
Feb 27, 2023 · Backend Development

SpringBoot 3.0.3 & Spring Cloud 2021.0.6: Key Fixes, Docs, and Upgrades

This release note details SpringBoot 3.0.3 bug fixes, documentation updates, and dependency upgrades, and introduces Spring Cloud 2021.0.6 with its new features, module improvements, and a concise Maven dependencyManagement snippet, providing developers with a comprehensive overview of the latest stable versions.

Release NotesSpring CloudSpringBoot
0 likes · 7 min read
SpringBoot 3.0.3 & Spring Cloud 2021.0.6: Key Fixes, Docs, and Upgrades
Code Ape Tech Column
Code Ape Tech Column
Feb 20, 2023 · Backend Development

Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Injection Bottlenecks

This article explains how to diagnose and dramatically reduce the long startup time of a SpringBoot service by profiling the SpringApplicationRunListener and BeanPostProcessor phases, trimming excessive component scanning, manually configuring beans with JavaConfig, and understanding the impact of SpringBoot's auto‑configuration mechanisms.

BeanScanningJavaConfigPerformanceOptimization
0 likes · 18 min read
Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Injection Bottlenecks
政采云技术
政采云技术
Feb 16, 2023 · Backend Development

Graceful Shutdown Support in Spring Boot 2.3+ for Embedded Web Servers

Since Spring Boot 2.3.0.RELEASE, graceful shutdown is supported for all embedded web servers (Jetty, Reactor Netty, Tomcat, Undertow) and both reactive and servlet‑based applications, using SmartLifecycle beans, configurable timeouts, and a JVM shutdown hook to allow in‑flight requests to finish while refusing new ones.

BackendEmbeddedWebServerGracefulShutdown
0 likes · 10 min read
Graceful Shutdown Support in Spring Boot 2.3+ for Embedded Web Servers
macrozheng
macrozheng
Feb 13, 2023 · Backend Development

How to Gracefully Shut Down a SpringBoot Application Without Data Loss

This article explains what graceful shutdown means for a SpringBoot service, why force‑killing the process is risky, and presents multiple safe shutdown techniques—including Actuator endpoints, ApplicationContext.close(), PID‑based killing, and SpringApplication.exit()—along with listener examples for resource cleanup.

ActuatorApplication LifecycleGraceful Shutdown
0 likes · 9 min read
How to Gracefully Shut Down a SpringBoot Application Without Data Loss
Java High-Performance Architecture
Java High-Performance Architecture
Feb 9, 2023 · Backend Development

Building a High-Performance SpringBoot + layui API Automation Platform from Scratch

This article details the design and implementation of a SpringBoot‑based API automation platform with a layui front‑end, covering architecture choices, permission management, hierarchical data design, test case handling, test set execution, result reporting, and future enhancements such as scheduling, email notifications, and multithreading.

API automationLayuiSpringBoot
0 likes · 14 min read
Building a High-Performance SpringBoot + layui API Automation Platform from Scratch
Top Architect
Top Architect
Feb 9, 2023 · Backend Development

High-Concurrency Seckill Implementation in SpringBoot: Locking, Transaction, and Queue Strategies

This article demonstrates how to simulate high‑concurrency flash‑sale scenarios using SpringBoot, MySQL, and JMeter, and compares seven approaches—including lock‑based, AOP, pessimistic and optimistic locking, and queue‑based solutions such as BlockingQueue and Disruptor—to prevent overselling and improve performance.

DistributedQueueSeckill
0 likes · 19 min read
High-Concurrency Seckill Implementation in SpringBoot: Locking, Transaction, and Queue Strategies
The Dominant Programmer
The Dominant Programmer
Feb 9, 2023 · Cloud Native

Step-by-Step Docker‑Compose Guide to Deploy a SpringBoot‑Vue‑Redis‑MySQL Stack

This article walks through installing Docker and Docker‑Compose, creating a project directory, writing a docker‑compose.yml that defines Redis, MySQL, Nginx, Java, and a file‑preview service, configuring each container, and using docker‑compose commands to build, start, monitor, and manage the full SpringBoot‑Vue application stack.

Docker ComposeNginxSpringBoot
0 likes · 12 min read
Step-by-Step Docker‑Compose Guide to Deploy a SpringBoot‑Vue‑Redis‑MySQL Stack
IT Architects Alliance
IT Architects Alliance
Feb 3, 2023 · Backend Development

Preventing Overselling in High‑Concurrency Flash Sales: 7 Locking & Queue Strategies with SpringBoot

This article analyzes the overselling problem in high‑concurrency flash‑sale scenarios, demonstrates seven concrete solutions—including improved locks, AOP locks, pessimistic and optimistic database locks, and queue‑based approaches using BlockingQueue and Disruptor—provides full SpringBoot code, JMeter test results, and practical recommendations for reliable stock reduction.

BackendDisruptorJMeter
0 likes · 19 min read
Preventing Overselling in High‑Concurrency Flash Sales: 7 Locking & Queue Strategies with SpringBoot
Java High-Performance Architecture
Java High-Performance Architecture
Feb 1, 2023 · Backend Development

7 Proven Ways to Prevent Overselling in High‑Concurrency Flash Sales with Java

This article explores why simple @Transactional locking can still cause product overselling under high concurrency, then presents seven detailed Java/SpringBoot solutions—including improved locking, AOP, pessimistic and optimistic database locks, and queue‑based approaches—complete with code, performance tests and best‑practice recommendations.

LockSpringBootconcurrency
0 likes · 21 min read
7 Proven Ways to Prevent Overselling in High‑Concurrency Flash Sales with Java
Architect
Architect
Jan 29, 2023 · Backend Development

DynamicTp: A Dynamic ThreadPoolExecutor Extension for Real‑time Monitoring and Configuration

DynamicTp is a Java library that extends ThreadPoolExecutor to enable dynamic, configuration‑center‑driven adjustment of thread‑pool parameters, real‑time monitoring, alert notifications, and metric collection, providing a lightweight, zero‑intrusion solution for microservice architectures.

Dynamic ConfigurationSpringBootThreadPool
0 likes · 9 min read
DynamicTp: A Dynamic ThreadPoolExecutor Extension for Real‑time Monitoring and Configuration
Selected Java Interview Questions
Selected Java Interview Questions
Jan 26, 2023 · Backend Development

Integrating Activiti 7 with Spring Boot: Dependencies, Setup, and Advanced Workflow Operations

This article provides a step‑by‑step guide for integrating Activiti 7 workflow engine into a Spring Boot application, covering Maven dependencies, environment setup, process deployment, task handling, business keys, suspension/activation, candidate users, variables, gateways, and various advanced operations with complete code examples.

ActivitiBPMNProcessEngine
0 likes · 32 min read
Integrating Activiti 7 with Spring Boot: Dependencies, Setup, and Advanced Workflow Operations
Top Architect
Top Architect
Jan 12, 2023 · Databases

MySQL Master‑Slave Replication, Binlog/Redo Log Basics, and Sharding‑JDBC Read‑Write Splitting & Sharding Implementation

This article provides a comprehensive tutorial on configuring MySQL master‑slave replication with Docker, explains the roles of binlog and redo log, describes two‑phase commit, and demonstrates how to use Sharding‑JDBC (ShardingSphere) for read‑write splitting and horizontal sharding in a Spring Boot application, complete with configuration files and code examples.

ReplicationShardingSphereSpringBoot
0 likes · 24 min read
MySQL Master‑Slave Replication, Binlog/Redo Log Basics, and Sharding‑JDBC Read‑Write Splitting & Sharding Implementation
Top Architect
Top Architect
Jan 5, 2023 · Backend Development

Resolving Overselling in High‑Concurrency Flash Sale: Seven Locking and Queue Strategies in SpringBoot

This article analyzes why simple @Transactional and lock annotations still cause overselling in flash‑sale scenarios, then presents seven backend solutions—including improved controller locking, AOP locking, pessimistic and optimistic database locks, and queue‑based approaches with BlockingQueue and Disruptor—along with code samples and JMeter test results.

DistributedSystemsJMeterQueue
0 likes · 20 min read
Resolving Overselling in High‑Concurrency Flash Sale: Seven Locking and Queue Strategies in SpringBoot
Top Architect
Top Architect
Jan 1, 2023 · Backend Development

Real-Time Device Monitoring with SpringBoot WebSocket and Vue

This article demonstrates how to build a real‑time fire‑equipment inspection system using SpringBoot WebSocket on the backend and a Vue‑based frontend, covering project setup, WebSocket configuration, server‑client communication, and testing with code examples.

SpringBootVuereal-time monitoring
0 likes · 21 min read
Real-Time Device Monitoring with SpringBoot WebSocket and Vue
Top Architect
Top Architect
Dec 22, 2022 · Backend Development

Using Activiti7 with SpringBoot: Dependency Setup, Deployment, Process Execution, and Advanced Operations

This article provides a step‑by‑step guide on integrating Activiti7 into a SpringBoot project, covering Maven dependencies, IDE configuration, deployment of BPMN files, starting and managing process instances, handling tasks, business keys, process variables, candidate users, and gateway configurations, all illustrated with complete Java code examples.

ActivitiBPMNProcessEngine
0 likes · 29 min read
Using Activiti7 with SpringBoot: Dependency Setup, Deployment, Process Execution, and Advanced Operations
Top Architect
Top Architect
Dec 15, 2022 · Databases

Implementing Database Read‑Write Separation with Spring Boot and Dynamic DataSource Routing

This article explains how to achieve database read‑write separation in high‑concurrency scenarios using Spring Boot, Druid connection pool, dynamic DataSource routing, a ThreadLocal context holder, custom annotations, and AOP, providing complete configuration code and usage examples for both read and write operations.

DataSourceRoutingReadWriteSplittingSpringBoot
0 likes · 12 min read
Implementing Database Read‑Write Separation with Spring Boot and Dynamic DataSource Routing
Selected Java Interview Questions
Selected Java Interview Questions
Dec 14, 2022 · Backend Development

Comprehensive Guide to Building a SpringBoot Backend with HttpClient, Token Management, Redis Caching, and Rate Limiting

This article provides a step‑by‑step tutorial on creating a SpringBoot demo that integrates Apache HttpClient for GET/POST requests, handles token acquisition and caching with Redis, optimizes configuration via application.yml, and implements distributed locking and Guava‑based rate limiting for high‑concurrency scenarios.

HttpClientSpringBootjava
0 likes · 22 min read
Comprehensive Guide to Building a SpringBoot Backend with HttpClient, Token Management, Redis Caching, and Rate Limiting
Top Architect
Top Architect
Nov 28, 2022 · Frontend Development

Student Management System – Frontend and Backend Overview with Vue and SpringBoot

This article introduces a front‑back separated student management system built with Vue on the front end and SpringBoot + Mybatis on the back end, covering project introduction, deployment steps, UI showcases, technology stacks, system functions for admin, teacher, and student roles, as well as database design and acquisition methods.

RESTfulSpringBootStudent Management
0 likes · 6 min read
Student Management System – Frontend and Backend Overview with Vue and SpringBoot
Top Architect
Top Architect
Nov 18, 2022 · Backend Development

SpringBoot Backend Scaffold with JWT Authentication and Shiro Authorization

This article introduces a SpringBoot-based backend scaffold that integrates JWT for authentication, Apache Shiro for authorization, Mybatis‑Plus for data access, and includes custom annotations, bcrypt password encryption, AOP transaction management, and step‑by‑step deployment instructions, targeting developers seeking a ready‑to‑use microservice starter.

JWTShiroSpringBoot
0 likes · 8 min read
SpringBoot Backend Scaffold with JWT Authentication and Shiro Authorization
Java High-Performance Architecture
Java High-Performance Architecture
Nov 17, 2022 · Backend Development

Dynamic Thread Pools in Java: Real‑Time Monitoring and Auto‑Tuning with DynamicTp

This article introduces DynamicTp, a Java library that extends ThreadPoolExecutor with runtime parameter adjustment, real‑time monitoring, alerting, and integration with configuration centers, offering a lightweight, zero‑intrusion solution for managing thread pools in microservice environments.

DynamicTpMicroservicesSpringBoot
0 likes · 11 min read
Dynamic Thread Pools in Java: Real‑Time Monitoring and Auto‑Tuning with DynamicTp
Java High-Performance Architecture
Java High-Performance Architecture
Nov 14, 2022 · Frontend Development

Create Stunning Interactive Dashboards with SpringBoot & Vue – Open‑Source BI Platform

An open‑source BI platform built on SpringBoot and Vue offers a visually striking, drag‑and‑drop dashboard editor, supporting multiple data sources like MySQL, Elasticsearch, and Kudu, with 17 ready‑made components, enabling rapid screen design through simple steps of data source configuration, SQL dataset creation, and layout assembly.

BIDashboardDataVisualization
0 likes · 5 min read
Create Stunning Interactive Dashboards with SpringBoot & Vue – Open‑Source BI Platform
Tuanzi Tech Team
Tuanzi Tech Team
Nov 8, 2022 · Backend Development

Why Does SimpleDateFormat Fail in Multithreaded Java? Solutions and Best Practices

An operation team discovered that QR code redirects returned 404 due to expired access tokens, traced to SimpleDateFormat’s thread‑unsafe parsing causing incorrect expiration dates; the article analyzes the root cause, demonstrates failing multithreaded tests, and presents four thread‑safe alternatives including local instances, synchronization, ThreadLocal, and Java 8’s DateTimeFormatter.

DateTimeFormatterSimpleDateFormatSpringBoot
0 likes · 10 min read
Why Does SimpleDateFormat Fail in Multithreaded Java? Solutions and Best Practices
Java Architect Essentials
Java Architect Essentials
Nov 7, 2022 · Backend Development

Implementing Document Signing and Stamping with SpringBoot and PageOffice

This article demonstrates how to build a SpringBoot‑based document signing and stamping system using PageOffice, covering digital signature concepts, project structure, key controller and service code, file utilities, QR code generation, deployment steps, and a complete workflow demo with screenshots.

DigitalSignatureDocumentWorkflowPageOffice
0 likes · 12 min read
Implementing Document Signing and Stamping with SpringBoot and PageOffice
Top Architect
Top Architect
Nov 3, 2022 · Backend Development

Improving Million-Row Insert Performance with Spring Boot ThreadPoolTaskExecutor

This article demonstrates how to boost the efficiency of inserting millions of records by configuring a ThreadPoolTaskExecutor in Spring Boot 2.1.1, using MyBatis‑Plus and PostgreSQL, providing code examples, performance test results, and best‑practice recommendations for multithreaded batch insertion.

BatchInsertMyBatisPlusSpringBoot
0 likes · 7 min read
Improving Million-Row Insert Performance with Spring Boot ThreadPoolTaskExecutor
Top Architect
Top Architect
Nov 2, 2022 · Backend Development

Implementing Dynamic Scheduled Tasks in Spring Boot

This article demonstrates how to create and modify Spring Boot scheduled tasks at runtime by using configurable cron expressions or interval timers, providing full code examples for Maven dependencies, the application entry point, dynamic task configuration, and REST endpoints for updating the schedule.

DynamicSchedulingSpringBootcron
0 likes · 10 min read
Implementing Dynamic Scheduled Tasks in Spring Boot
Architect's Guide
Architect's Guide
Nov 1, 2022 · Operations

Implementing Load Balancing with Nginx and SpringBoot

This article explains how to achieve load balancing using Nginx, covering the concepts of hardware and software load balancers, various Nginx balancing algorithms with configuration examples, and a step‑by‑step guide to integrate Nginx with a SpringBoot application, test it, and handle common pitfalls.

ConfigurationNginxOperations
0 likes · 8 min read
Implementing Load Balancing with Nginx and SpringBoot
Java High-Performance Architecture
Java High-Performance Architecture
Oct 29, 2022 · Backend Development

Build a Java SpringBoot Digital Signature & Seal System with PageOffice

This article walks through creating a Java SpringBoot demo that implements digital signing and electronic sealing of Office documents, explains the underlying cryptographic concepts, shows the full source code (controller, service, utility classes), and provides step‑by‑step deployment and UI demonstration of the workflow.

Document WorkflowPageOfficeSpringBoot
0 likes · 11 min read
Build a Java SpringBoot Digital Signature & Seal System with PageOffice
政采云技术
政采云技术
Oct 25, 2022 · Backend Development

SpringBoot Application Startup Optimization Techniques

This article explains how to analyze and accelerate SpringBoot startup by profiling with tools like Async Profiler, refactoring heavy business code, leveraging BeanPostProcessor for bean initialization metrics, using Spring's context indexer, and applying lazy initialization to reduce launch time in large Java backend services.

BeanPostProcessorSpringBootlazy-initialization
0 likes · 11 min read
SpringBoot Application Startup Optimization Techniques
Java Tech Enthusiast
Java Tech Enthusiast
Oct 21, 2022 · Backend Development

Implementing Third-Party OAuth2 Login with Gitee in Spring Boot

The article walks through registering a Gitee OAuth2 application, building a Spring Boot project with a login page, implementing a controller that exchanges the authorization code for an access token, retrieves user information, and displays the authenticated user's name and avatar on a success page.

GiteeOAuth2SpringBoot
0 likes · 9 min read
Implementing Third-Party OAuth2 Login with Gitee in Spring Boot
Top Architect
Top Architect
Oct 17, 2022 · Backend Development

Integrating Alipay’s New Transfer Interface with Java Spring Boot

This article explains how to upgrade to Alipay’s new transfer API (alipay.fund.trans.uni.transfer), update the SDK to version 4.10.97, and provides step‑by‑step Java Spring Boot configuration, including certificate placement, Maven dependency, bean injection, configuration classes, and utility methods for payment and transfer operations.

AlipayPayment IntegrationSpringBoot
0 likes · 12 min read
Integrating Alipay’s New Transfer Interface with Java Spring Boot
Top Architect
Top Architect
Oct 10, 2022 · Backend Development

Integrating Dubbo with Nacos in Spring Boot: A Step‑by‑Step Example

This article provides a practical step‑by‑step guide to integrating Dubbo with Nacos in a Spring Boot project, covering environment setup, Maven configuration, module creation for public API, provider and consumer services, and testing the RPC call, while highlighting version compatibility and common pitfalls.

MicroservicesNacosRPC
0 likes · 18 min read
Integrating Dubbo with Nacos in Spring Boot: A Step‑by‑Step Example
Java Backend Technology
Java Backend Technology
Oct 10, 2022 · Backend Development

8 Hidden Spring Transaction Pitfalls That Can Break Your Java Apps

This article reveals ten common Spring transaction pitfalls—including private methods, final modifiers, self‑invocation, missing @Service, wrong propagation, non‑transactional databases, swallowed or wrong exceptions, multi‑threaded calls, and nested transaction rollbacks—that can silently disable transaction management in Java backend projects.

PitfallsSpringBootaop
0 likes · 9 min read
8 Hidden Spring Transaction Pitfalls That Can Break Your Java Apps
Selected Java Interview Questions
Selected Java Interview Questions
Oct 7, 2022 · Backend Development

Configuring Date Formatting in SpringBoot Applications

This article explains how to customize the date format returned by SpringBoot REST controllers using configuration files, Jackson annotations, JavaBean annotations, and global converters, covering both JSON serialization and form data binding with practical code examples.

JacksonSpringBootannotations
0 likes · 11 min read
Configuring Date Formatting in SpringBoot Applications
Selected Java Interview Questions
Selected Java Interview Questions
Sep 28, 2022 · Backend Development

Design and Implementation of a SpringBoot‑Based API Gateway with High Performance, High Availability, and Security

This article presents a comprehensive guide to building a SpringBoot API gateway that covers core capabilities such as authentication, routing, standardized responses, and custom error handling, while achieving high performance with NIO2, high availability with Alibaba Sentinel, and robust security features like IP black‑listing.

MicroservicesNIO2SpringBoot
0 likes · 14 min read
Design and Implementation of a SpringBoot‑Based API Gateway with High Performance, High Availability, and Security
Ant R&D Efficiency
Ant R&D Efficiency
Sep 20, 2022 · Backend Development

Guidelines for Writing Unit Tests with Mockito and Test Case Design in SpringBoot

The article outlines how to design robust SpringBoot unit tests by first mastering business flows and external dependencies, preparing isolated test data, using Mockito’s @Mock/@MockBean and @Spy/@SpyBean correctly—including proper stubbing techniques—and applying best‑practice rules and the ACTS 2.0 framework for data‑driven, coverage‑verified testing.

MockingMockitoSoftware Testing
0 likes · 8 min read
Guidelines for Writing Unit Tests with Mockito and Test Case Design in SpringBoot