Tagged articles
31 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Jan 2, 2026 · Frontend Development

Master Async Data Handling in JavaScript with Array.fromAsync

This guide explains how the new JavaScript Array.fromAsync() method converts async iterables, streams, or paginated API responses into clean arrays, offering clear syntax, practical use‑cases, and step‑by‑step code examples for front‑end developers.

APIArray.fromAsyncAsync
0 likes · 5 min read
Master Async Data Handling in JavaScript with Array.fromAsync
Java Captain
Java Captain
Apr 22, 2025 · Backend Development

Implementing Asynchronous Calls in SpringBoot with @Async

This article explains why asynchronous programming improves concurrency in SpringBoot applications, describes how to enable @Async support, configure a custom ThreadPoolTaskExecutor, annotate methods for async execution, and outlines the underlying proxy mechanism that powers @Async.

AsyncAsyncJava
0 likes · 5 min read
Implementing Asynchronous Calls in SpringBoot with @Async
Code Ape Tech Column
Code Ape Tech Column
Mar 19, 2025 · Backend Development

ExecutorService vs CompletionService: In‑Depth Comparison and Practical Usage in Java

This article explains the differences between ExecutorService and CompletionService, demonstrates how to replace a simple Future‑based approach with CompletionService for faster result retrieval, analyzes the underlying source code, and outlines typical use‑cases such as load‑balancing and early‑return patterns in concurrent Java applications.

AsyncCompletionServiceExecutorService
0 likes · 12 min read
ExecutorService vs CompletionService: In‑Depth Comparison and Practical Usage in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 28, 2024 · Backend Development

Master Asynchronous Programming in Spring Boot 3 with @Async and CompletableFuture

This article demonstrates how to enable and use Spring Boot 3's @Async annotation together with Java's CompletableFuture to create custom thread pools, run multiple asynchronous REST calls concurrently, aggregate their results, and handle exceptions, providing a complete backend solution for high‑performance APIs.

AsyncBackend DevelopmentCompletableFuture
0 likes · 8 min read
Master Asynchronous Programming in Spring Boot 3 with @Async and CompletableFuture
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 13, 2024 · Backend Development

How Spring Boot Handles Async Tasks and Thread Pools: Deep Dive & Customization

This article explores Spring Boot's asynchronous task and request mechanisms, detailing how @EnableAsync, @Async, @EnableScheduling, and @Async annotations configure thread pools, examines the underlying source code, and demonstrates custom configurations for executors and schedulers to control concurrency.

AsyncConfigurationSpring Boot
0 likes · 14 min read
How Spring Boot Handles Async Tasks and Thread Pools: Deep Dive & Customization
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 11, 2024 · Backend Development

Mastering Async and Scheduled Tasks in Spring Boot 3.2.5

This guide explains how to enable and use Spring Boot's @Async and @Scheduled annotations, configure various TaskExecutor and TaskScheduler implementations, leverage new Spring 6.1 pause/resume and virtual‑thread features, and apply graceful shutdown for both asynchronous and scheduled jobs.

AsyncScheduled TasksSpring 6.1
0 likes · 10 min read
Mastering Async and Scheduled Tasks in Spring Boot 3.2.5
JavaEdge
JavaEdge
Sep 5, 2024 · Backend Development

Mastering Spring Boot Thread Pools: From Default Config to Custom Solutions

This article explains how Spring Boot automatically configures a ThreadPoolTaskExecutor for @Async and @Scheduled, shows the default parameters introduced in version 2.1, demonstrates how to inspect and customize them, compares the default executor with SimpleAsyncTaskExecutor, and provides code examples for using @Async, injecting the executor, and defining a custom thread pool to avoid resource‑exhaustion issues.

AsyncAsyncSpring Boot
0 likes · 18 min read
Mastering Spring Boot Thread Pools: From Default Config to Custom Solutions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 21, 2024 · Backend Development

Mastering Caffeine Cache in Spring Boot 3.2: Performance, Eviction & Async Usage

This article introduces the high‑performance Caffeine caching library for Spring Boot 3.2, explains its core features, demonstrates detailed performance benchmarks, and provides practical code examples covering synchronous and asynchronous operations, eviction policies, removal listeners, refresh mechanisms, and statistics collection.

AsyncCacheCaffeine
0 likes · 12 min read
Mastering Caffeine Cache in Spring Boot 3.2: Performance, Eviction & Async Usage
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 20, 2024 · Backend Development

Master Advanced Spring Boot: Date Params, Conditional Controllers & Async Timeouts

Learn how to elegantly process Java 8 date parameters, register custom converters, conditionally enable controllers, apply unified API prefixes, perform service‑layer validation, and control asynchronous request timeouts in Spring Boot 3.2.5 using annotations, configuration files, and programmatic WebMvcConfigurer techniques.

AsyncControllerSpring Boot
0 likes · 7 min read
Master Advanced Spring Boot: Date Params, Conditional Controllers & Async Timeouts
Code Ape Tech Column
Code Ape Tech Column
Aug 5, 2024 · Backend Development

Design and Implementation of a Generic Asynchronous Processing SDK for Java Backend

This article describes a Java‑based asynchronous processing SDK that leverages Spring AOP, transactional event listeners, Kafka, XXL‑Job, and MySQL to provide non‑intrusive, reliable, and eventually consistent background execution of business methods while preserving transaction integrity and offering configurable retry and compensation strategies.

AsyncJavaKafka
0 likes · 8 min read
Design and Implementation of a Generic Asynchronous Processing SDK for Java Backend
Su San Talks Tech
Su San Talks Tech
Jun 22, 2024 · Backend Development

How to Speed Up Excel-to-Database Imports with Async and Thread‑Pool Tuning in Java

This article explains the common slow approach of reading Excel files with POI and inserting rows via JDBC, then presents three practical optimizations—caching data, using asynchronous multithreaded reads, and per‑file async processing—along with thread‑pool configuration tips and EasyExcel examples to dramatically reduce import time from minutes to seconds.

AsyncExcelJava
0 likes · 17 min read
How to Speed Up Excel-to-Database Imports with Async and Thread‑Pool Tuning in Java
Su San Talks Tech
Su San Talks Tech
May 7, 2024 · Backend Development

9 Common Reasons Why @Async Doesn’t Work in Spring and How to Fix Them

This article explains nine typical scenarios that cause the Spring @Async annotation to fail—ranging from missing @EnableAsync to improper method visibility, return types, static or final modifiers, missing @Service, manual object creation, and incorrect component scanning—providing clear explanations and code examples for each case.

AsyncAsyncJava
0 likes · 10 min read
9 Common Reasons Why @Async Doesn’t Work in Spring and How to Fix Them
Su San Talks Tech
Su San Talks Tech
Feb 13, 2024 · Backend Development

How to Ensure Transaction Consistency When Async Threads Fail in Spring

This article explains how to guarantee transactional integrity when importing a 100,000‑row Excel file with asynchronous threads in Spring, covering double‑async optimization, Future and CompletableFuture handling, @Transactional pitfalls, manual transaction control, and a complete solution for cross‑thread transaction management.

AsyncCompletableFutureExcel Import
0 likes · 18 min read
How to Ensure Transaction Consistency When Async Threads Fail in Spring
Su San Talks Tech
Su San Talks Tech
Feb 11, 2024 · Backend Development

How to Retrieve Async Return Values with Java FutureTask?

This article explains how to obtain return values from asynchronous Java methods using FutureTask, covering its AQS foundation, execution flow, get() behavior, and provides concrete source code examples for practical implementation.

AQSAsyncFuture
0 likes · 13 min read
How to Retrieve Async Return Values with Java FutureTask?
Su San Talks Tech
Su San Talks Tech
Jan 22, 2024 · Backend Development

How to Supercharge Excel-to-Database Imports with Async and Thread‑Pool Tuning in Java

This article walks through the common slow Excel‑to‑DB import pattern, shows why it becomes a bottleneck, and presents three progressive optimizations—including caching, asynchronous multi‑threaded reading, and double‑async processing—along with detailed Spring @Async thread‑pool configuration and EasyExcel alternatives, all illustrated with complete Java code samples.

AsyncExcelJava
0 likes · 17 min read
How to Supercharge Excel-to-Database Imports with Async and Thread‑Pool Tuning in Java
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.

AsyncBackendJava
0 likes · 9 min read
Boost SpringBoot API Speed with Asynchronous Methods
Selected Java Interview Questions
Selected Java Interview Questions
Mar 15, 2022 · Backend Development

Using Asynchronous Requests and Asynchronous Calls in Spring Boot

This article explains the concepts, implementation methods, and best practices for asynchronous requests and asynchronous method calls in Spring Boot, covering servlet‑based async, Callable, WebAsyncTask, DeferredResult, @EnableAsync/@Async usage, thread‑pool configuration, common pitfalls, and the differences between async requests and async calls.

AsyncSpringBootWeb
0 likes · 12 min read
Using Asynchronous Requests and Asynchronous Calls in Spring Boot
Top Architect
Top Architect
Nov 1, 2021 · Backend Development

Design and Implementation of a Points-Based Lottery System Using Spring Boot

This article explains how to design and implement a points‑based lottery (luck draw) system in Java with Spring Boot, covering database schema for prizes, probability limits, prize pools, the random draw algorithm, prize restrictions, and asynchronous prize distribution using a factory pattern.

AsyncJavaLottery
0 likes · 10 min read
Design and Implementation of a Points-Based Lottery System Using Spring Boot
Top Architect
Top Architect
Oct 13, 2021 · Backend Development

Using ThreadPoolTaskExecutor for Asynchronous Operations in Spring Boot

This article explains how to configure and use Spring Boot's ThreadPoolTaskExecutor for asynchronous service methods, shows the required @Configuration and @EnableAsync annotations, demonstrates custom thread‑pool monitoring by extending ThreadPoolTaskExecutor, and provides complete code snippets and log examples.

AsyncJavaSpring Boot
0 likes · 12 min read
Using ThreadPoolTaskExecutor for Asynchronous Operations in Spring Boot
Programmer DD
Programmer DD
Sep 24, 2021 · Backend Development

What Happens When a Spring Boot ThreadPool Overflows? Learn Rejection Strategies

This article demonstrates how a Spring Boot thread pool behaves when its core size, max size, and queue capacity are exceeded by multiple asynchronous tasks, explains the resulting TaskRejectedException, and shows how to configure built‑in or custom rejection policies to handle such scenarios.

AsyncJavaRejectionPolicy
0 likes · 9 min read
What Happens When a Spring Boot ThreadPool Overflows? Learn Rejection Strategies
Programmer DD
Programmer DD
Sep 17, 2021 · Backend Development

Avoid Out‑of‑Memory Errors: Properly Configure Spring Boot Async Thread Pool

This article explains why using @Async in Spring Boot can cause memory overflow when many requests trigger parallel tasks, examines the default thread‑pool settings that lead to unbounded queues, and provides step‑by‑step configuration of a safe thread pool to prevent out‑of‑memory failures.

AsyncJavaMemory Management
0 likes · 11 min read
Avoid Out‑of‑Memory Errors: Properly Configure Spring Boot Async Thread Pool
Programmer DD
Programmer DD
Sep 14, 2021 · Backend Development

Boost Spring Boot Performance: Mastering Synchronous vs Asynchronous Calls

This article explains the difference between synchronous and asynchronous method calls in Spring Boot, shows how to convert blocking tasks into @Async methods, demonstrates unit‑test setups with CompletableFuture for proper coordination, and provides complete code examples to reduce overall execution time.

AsyncJavaSpring Boot
0 likes · 10 min read
Boost Spring Boot Performance: Mastering Synchronous vs Asynchronous Calls