Tagged articles

SpringBoot

1114 articles · Page 7 of 12
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.

AOPBackend DevelopmentCache Consistency
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.

DispatcherServletHttpServletRequestJava
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.

Java concurrencySpringBootbackend optimization
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.

JavaMessage 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.

Backend DevelopmentJavaSpringBoot
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.

ShardingSpringBootStored Procedure
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.

JetCacheNettyPrometheus
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-replayRedis
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 PatternJava
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.

GCJDKMaven
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.

CacheRedisSign-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.

JavaSpringBootWebSocket
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.

Backend DevelopmentJavaOpenSource
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.

JavaSpringSpringBoot
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.

AsyncJavaSpringBoot
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.

ConcurrencyPerformanceSpringBoot
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.

JavaLiteFlowSpringBoot
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.

AOPCGLIBDynamic Management
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.

ExceptionHandlingJavaSpringBoot
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 ConflictGsonJava
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 ConflictFastJSONGson
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.

ArthasJavaProfiling
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.

Backend DevelopmentGlobal ConverterJava
0 likes · 12 min read
How to Configure Date Formatting in SpringBoot Backend Applications
Su San Talks Tech
Su San Talks Tech
Jul 31, 2023 · Backend Development

How Many Requests Can a Default SpringBoot App Handle? Tomcat vs Undertow Explained

This article walks through an interview question about the maximum concurrent requests a SpringBoot project can handle, builds a minimal demo, measures Tomcat and Undertow thread‑pool limits, explains the underlying thread‑pool mechanics, and offers practical tips for answering such questions in interviews.

ConcurrencySpringBootThreadPool
0 likes · 18 min read
How Many Requests Can a Default SpringBoot App Handle? Tomcat vs Undertow Explained
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 DevelopmentJavaSpringBoot
0 likes · 9 min read
Accelerate Java API Development with magic-api: A Hands‑On Guide
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.

Backend DevelopmentNginxSpringBoot
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.

APIJavaRedis
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.

AOPJMeterLock
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.

ConcurrencyFlash SaleLocking
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.

PluginSPIServiceLoader
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.

CORSChromeCross-Origin
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.

Backend DevelopmentCacheFirst-Level Cache
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.

FrontendOrder 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.

DockerSpringBootfile preview
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.

API designBackend DevelopmentSpringBoot
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.

JavaPluginSPI
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.

JavaPerformanceSpringBoot
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.

JavaSpringBootproject 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 SlimmingJava
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.

AESNettyRedis
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.

AOPJavaSpringBoot
0 likes · 15 min read
Mastering Java Exception Handling: From Basics to Advanced Practices
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.

BackoffCircuitBreakerJava
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.

CachingCaffeineSpringBoot
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.

CachingCaffeineNginx
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.

AuthorizationPermissionSa-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
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.

HystrixJavaSpringBoot
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.

CI/CDDockerJenkins
0 likes · 7 min read
One‑Click Jenkins + Docker + SpringBoot Automated Deployment Guide
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.

ConcurrencyJavaMessageQueue
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.

BeanScanningJavaOptimization
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.

IoTJavaMessageQueue
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.

Backend DevelopmentDDDJava
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.

AOPGuavaJava
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.

APIFeignHttpClient
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.

AutoConfigurationBeanScanningCache
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.

FrontendSpringBootTypeScript
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.

AutoConfigurationBeanScanningCache
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.

Backend DevelopmentDynamic ManagementJava
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