Skip to content
Tagged articles

Spring @Async

4 articles · Page 1 of 1
Architect's Guide
Architect's Guide
Oct 25, 2026 · Backend Development

8 Java Asynchronous Implementation Patterns for High Performance

This article explores eight ways to implement asynchronous programming in Java, including Thread, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, Hutool ThreadUtil, and Guava ListenableFuture, with code examples and trade-offs for each approach.

Asynchronous ProgrammingCompletableFutureFuture
0 likes · 14 min read
8 Java Asynchronous Implementation Patterns for High Performance
JD Tech Talk
JD Tech Talk
Jul 9, 2025 · Backend Development

Boost Java Backend Performance: Combine MyBatis-Plus LambdaQueryWrapper with Spring @Async

Learn how to leverage MyBatis-Plus’s type-safe LambdaQueryWrapper together with Spring Boot’s @Async annotation to build efficient, asynchronous database operations, covering basic usage, advanced thread-pool configuration, exception handling, transaction management, and real-world scenarios for backend developers.

Asynchronous ProgrammingLambdaQueryWrapperMyBatis Plus
0 likes · 9 min read
Boost Java Backend Performance: Combine MyBatis-Plus LambdaQueryWrapper with Spring @Async
Selected Java Interview Questions
Selected Java Interview Questions
Nov 22, 2023 · Backend Development

Thread Pool Pitfalls and Best Practices in Java Backend Development

This article analyzes a real production incident caused by improper thread‑pool usage, explains common misconceptions about core parameters, demonstrates faulty code examples, and provides concrete recommendations for configuring thread pools, handling timeouts, and avoiding deadlocks in Java backend services.

CompletableFutureJava ConcurrencySpring @Async
0 likes · 14 min read
Thread Pool Pitfalls and Best Practices in Java Backend Development
Meituan Technology Team
Meituan Technology Team
Apr 20, 2023 · Backend Development

Analyzing TraceId Loss in Spring @Async and Distributed Tracing Solutions

The article investigates a missing TraceId in a Spring @Async call, analyzes the underlying design of MTrace and Google Dapper, examines ThreadLocal propagation mechanisms, identifies SimpleAsyncTaskExecutor as the root cause, and presents a custom thread‑pool solution while comparing alternative distributed tracing systems.

Distributed TracingJavaMTrace
0 likes · 28 min read
Analyzing TraceId Loss in Spring @Async and Distributed Tracing Solutions