Tagged articles
310 articles
Page 2 of 4
JD Tech Talk
JD Tech Talk
Oct 18, 2024 · Backend Development

Understanding Caffeine: A High‑Performance Java Caching Library

This article introduces the Caffeine Java caching library, detailing its features, core classes and parameters, various loading strategies—including manual, automatic, and asynchronous loading—eviction policies, removal listeners, and cache statistics, accompanied by practical code examples for integration in backend applications.

AsyncCacheCaffeine
0 likes · 12 min read
Understanding Caffeine: A High‑Performance Java Caching Library
Test Development Learning Exchange
Test Development Learning Exchange
Oct 14, 2024 · Fundamentals

Understanding async and await in Python with Practical Examples

This article introduces Python's async and await keywords, explains how they enable coroutine programming, and provides multiple practical examples including simple coroutine definitions, awaiting tasks, concurrent execution with asyncio.gather, HTTP requests using aiohttp, and resource management with custom coroutine-based managers.

AsyncPythonasyncio
0 likes · 6 min read
Understanding async and await in Python with Practical Examples
Architect
Architect
Oct 9, 2024 · Backend Development

Unlocking Higher Throughput: Mastering Async Requests in Spring Boot

This article explains how Spring Boot can handle HTTP requests asynchronously using Callable, WebAsyncTask, and DeferredResult, detailing the underlying servlet workflow, thread‑pool configuration, and when asynchronous processing truly improves throughput versus CPU‑bound workloads.

AsyncCallableDeferredResult
0 likes · 12 min read
Unlocking Higher Throughput: Mastering Async Requests in Spring Boot
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
Top Architect
Top Architect
Sep 3, 2024 · Backend Development

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

This article introduces a reusable asynchronous processing SDK for Java backend systems, explaining its purpose, advantages, underlying principles, component choices, design patterns, database schema, configuration options, usage instructions, and best‑practice notes, while providing complete code snippets and deployment details.

AsyncBackendKafka
0 likes · 13 min read
Design and Implementation of a General Asynchronous Processing SDK for Java Backend
BirdNest Tech Talk
BirdNest Tech Talk
Aug 28, 2024 · Backend Development

How to Provide Both Async and Sync APIs in a Rust Library Without Duplicating Code

This article walks through the challenges of offering both asynchronous and synchronous interfaces for a Rust API client, evaluates naive copy‑paste solutions, explores runtime‑based wrappers and the maybe_async procedural macro, and finally presents a clean, feature‑flagged design that avoids code duplication and compile‑time overhead.

AsyncRustcargo
0 likes · 23 min read
How to Provide Both Async and Sync APIs in a Rust Library Without Duplicating Code
21CTO
21CTO
Aug 17, 2024 · Fundamentals

What’s Coming in Rust 2024? A Deep Dive into the New Language Goals

Rust’s core team has unveiled a roadmap of 26 objectives for the second half of 2024, targeting the completion of Rust 2024, narrowing the async‑sync experience gap, and paving the way for stable Linux kernel development, alongside numerous ergonomic and tooling enhancements.

2024 RoadmapAsyncProgramming Language
0 likes · 5 min read
What’s Coming in Rust 2024? A Deep Dive into the New Language Goals
Java Backend Technology
Java Backend Technology
Aug 2, 2024 · Backend Development

Why SpringBoot @EnableScheduling Is Slow and How to Fix It

This article explains why SpringBoot's default @EnableScheduling runs tasks sequentially with noticeable delays, analyzes the underlying single‑threaded scheduler, and provides multiple solutions—including thread‑pool configuration, asynchronous execution, custom executors, and distributed locks—to achieve reliable and scalable scheduled jobs.

AsyncDistributedLockJava
0 likes · 17 min read
Why SpringBoot @EnableScheduling Is Slow and How to Fix It
21CTO
21CTO
Jul 30, 2024 · Frontend Development

What’s New in ECMAScript 2024? Key Features and Their Impact on JavaScript Development

The article reviews ECMAScript 2024, highlighting new small‑scale features such as improved WebAssembly interop, enhanced Promise utilities, group‑by methods, better Unicode handling, async locking with Atomics.waitAsync, and resizable ArrayBuffers, while also discussing upcoming proposals for 2025.

AsyncECMAScript 2024JavaScript
0 likes · 17 min read
What’s New in ECMAScript 2024? Key Features and Their Impact on JavaScript Development
Architecture Digest
Architecture Digest
Jul 16, 2024 · Backend Development

Understanding SpringBoot @EnableScheduling Issues and Solutions with Thread Pools and Distributed Locks

This article explains how SpringBoot's default @EnableScheduling and @Scheduled annotations can cause execution delays and single‑threaded bottlenecks, demonstrates the root causes in the auto‑configured ThreadPoolTaskScheduler, and provides four practical solutions—including custom thread‑pool configuration, async execution, and Redisson‑based distributed locking—to achieve reliable, concurrent scheduled tasks in both monolithic and distributed environments.

AsyncSchedulingdistributed-lock
0 likes · 15 min read
Understanding SpringBoot @EnableScheduling Issues and Solutions with Thread Pools and Distributed Locks
Test Development Learning Exchange
Test Development Learning Exchange
Jul 8, 2024 · Backend Development

Understanding JSONPath Decorator in Python

This article explains how to create and use a Python JSONPath decorator to simplify extracting data from JSON, covering installation, basic and advanced use cases such as list handling, filtering, aggregation, asynchronous processing, API parsing, validation, dynamic path generation, and nested data extraction, with full code examples.

AsyncDecoratorJsonPath
0 likes · 6 min read
Understanding JSONPath Decorator in Python
macrozheng
macrozheng
Jul 2, 2024 · Backend Development

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

Learn how to efficiently import large Excel files into a database using POI, JDBC, MyBatis, and Spring Boot, with step-by-step code examples, performance bottlenecks, and optimization techniques such as caching, asynchronous processing, multi-threaded batch inserts, and thread‑pool configuration for maximum throughput.

AsyncExcelJava
0 likes · 16 min read
How to Speed Up Excel-to-Database Imports with Async and Thread Pool Tuning
php Courses
php Courses
Jun 21, 2024 · Backend Development

Overview of PHP 8 Features and Expected PHP 9 Enhancements

This article examines PHP 8’s major features such as JIT compilation, union types, attributes, match expressions, constructor property promotion, and null‑safe operator, then outlines anticipated PHP 9 improvements including enhanced JIT, native async/await, richer type system, standardized error handling, and stronger security.

AsyncBackend DevelopmentJIT
0 likes · 11 min read
Overview of PHP 8 Features and Expected PHP 9 Enhancements
dbaplus Community
dbaplus Community
May 27, 2024 · Backend Development

How to Optimize Java Logging for Maximum Performance

This article explains why Java logging can become a performance bottleneck, identifies common misuse patterns, and provides practical steps—such as dynamic log levels, avoiding string concatenation, selective location info, and cautious async logging—to dramatically improve throughput and latency.

AsyncBackendJava
0 likes · 6 min read
How to Optimize Java Logging for Maximum Performance
Open Source Tech Hub
Open Source Tech Hub
May 16, 2024 · Backend Development

Boost PHP API Calls with Async and Parallel Execution Using Spatie/Async

When processing large volumes of data that require remote API calls, serial execution can cause severe latency, but by applying asynchronous calls and parallel processing with the Spatie/Async PHP library, you can cut total runtime by more than half while handling errors gracefully.

Asyncparallel processingspatie-async
0 likes · 6 min read
Boost PHP API Calls with Async and Parallel Execution Using Spatie/Async
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
21CTO
21CTO
May 4, 2024 · Backend Development

REST vs GraphQL vs Async APIs: Which Is Right for Your Projects?

This guide compares REST, GraphQL, and asynchronous APIs, outlining their core principles, advantages, disadvantages, and ideal use cases, and provides a side‑by‑side comparison to help developers choose the most suitable API style for their applications.

APIAsyncComparison
0 likes · 12 min read
REST vs GraphQL vs Async APIs: Which Is Right for Your Projects?
Cognitive Technology Team
Cognitive Technology Team
Apr 25, 2024 · Backend Development

Alibaba Java Interview: Does annotating the same Spring Boot service method with @Transactional and @Async cause transaction failure?

In Spring Boot, using @Transactional and @Async on the same service method does not invalidate the transaction, but the asynchronous execution runs in a separate thread with its own transaction, isolated from the original thread's transaction due to AOP interceptor ordering.

AsyncJavaSpring Boot
0 likes · 1 min read
Alibaba Java Interview: Does annotating the same Spring Boot service method with @Transactional and @Async cause transaction failure?
Programmer DD
Programmer DD
Mar 11, 2024 · Backend Development

Why Cloudflare Open‑sourced Pingora: A Rust‑Powered Proxy Framework

Cloudflare has open‑sourced Pingora, a Rust‑based asynchronous multi‑threaded framework for building high‑performance HTTP/1, HTTP/2, gRPC and websocket proxies, highlighting its key features, massive traffic handling, zero‑downtime reloads, observability integrations, and the motivations behind replacing Nginx with Rust.

AsyncCloudflareHTTP proxy
0 likes · 6 min read
Why Cloudflare Open‑sourced Pingora: A Rust‑Powered Proxy Framework
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 4, 2024 · Backend Development

How to Orchestrate Parallel and Dependent Tasks with AsyncTool

This article introduces AsyncTool, a Java concurrency framework that enables flexible parallel, serial, dependent, and callback‑driven task orchestration, explains its core components (worker, callback, wrapper), and provides multiple code‑first examples illustrating complex workflow compositions.

AsyncParallel Executioncallback
0 likes · 9 min read
How to Orchestrate Parallel and Dependent Tasks with AsyncTool
Open Source Tech Hub
Open Source Tech Hub
Jan 31, 2024 · Artificial Intelligence

How to Build Async OpenAI PHP Clients with Workerman & Webman

This guide shows how to install the OpenAI PHP async client and implement streaming and non‑streaming chat, image generation, audio speech, and embedding features using Workerman and Webman, including Azure OpenAI support, with complete code examples.

APIAsyncOpenAI
0 likes · 6 min read
How to Build Async OpenAI PHP Clients with Workerman & Webman
Java Tech Enthusiast
Java Tech Enthusiast
Jan 22, 2024 · Backend Development

Transitioning from Java to Rust: Performance, Concurrency, and Ecosystem Insights

Switching from Java to Rust can shrink binaries from dozens of megabytes to a few kilobytes, cut memory use and latency dramatically, and provide safer, built‑in concurrency and async support, while Java remains attractive for its low learning curve and massive library ecosystem, prompting developers to wrap Rust crates for Java‑like productivity as they adopt Rust long‑term.

AsyncBackend DevelopmentJava
0 likes · 10 min read
Transitioning from Java to Rust: Performance, Concurrency, and Ecosystem Insights
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 29, 2023 · Fundamentals

Mastering C++20 Coroutines: From Concepts to Practical Implementations

This article provides a comprehensive introduction to C++20 coroutines, covering fundamental concepts, stackful versus stackless implementations, detailed code demos—including a simple coroutine, a generator for Fibonacci numbers, and a task framework—while explaining the underlying compiler transformations and practical usage.

AsyncC++20Coroutines
0 likes · 31 min read
Mastering C++20 Coroutines: From Concepts to Practical Implementations
JavaEdge
JavaEdge
Dec 7, 2023 · Backend Development

Why Java’s Blocking Model Is a Bottleneck and How Virtual Threads Solve It

Java’s traditional synchronous blocking model wastes thread resources during I/O, leading to scalability limits, while asynchronous, reactive, and especially Java 21’s virtual threads offer non‑blocking execution paths that improve performance and simplify development without complex reactive pipelines.

AsyncJavaVirtual Threads
0 likes · 11 min read
Why Java’s Blocking Model Is a Bottleneck and How Virtual Threads Solve It
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 27, 2023 · Backend Development

Boost Java Logging Performance: Practical Tips and Configurations

This article explores Java logging performance by analyzing the logging pipeline, presenting measurements of log size impact, and offering concrete optimization techniques such as reducing log payload, compressing logger and exception output, using asynchronous logging, and configuring rolling files to minimize both visible business overhead and hidden system costs.

AsyncJavalog4j2
0 likes · 20 min read
Boost Java Logging Performance: Practical Tips and Configurations
Top Architect
Top Architect
Nov 20, 2023 · Backend Development

Using @Async in Spring Boot: Configuration, Best Practices, and Common Pitfalls

This article explains how to enable and configure Spring Boot's @Async annotation, provides code examples for thread‑pool setup and asynchronous service methods, and discusses important caveats such as calling async methods from the same class, transaction incompatibility, blocking issues, and exception handling.

AsyncBackendJava
0 likes · 12 min read
Using @Async in Spring Boot: Configuration, Best Practices, and Common Pitfalls
IT Architects Alliance
IT Architects Alliance
Nov 17, 2023 · Backend Development

Design and Implementation of a Generic Asynchronous Processing SDK

This article introduces a generic asynchronous processing SDK for Java Spring applications, covering its purpose, advantages, underlying principles, component choices such as Kafka, XXL‑Job, MySQL, design patterns, database schema, configuration via Apollo, usage instructions, safety considerations, and provides code examples and a GitHub repository link.

AsyncKafkaSDK
0 likes · 9 min read
Design and Implementation of a Generic Asynchronous Processing SDK
Architecture Digest
Architecture Digest
Nov 10, 2023 · Backend Development

Understanding Spring Boot @Async: Usage, Pitfalls, and Best Practices

This article explains how to enable and configure Spring Boot's @Async annotation, demonstrates proper thread‑pool setup, highlights common mistakes such as calling async methods within the same class or mixing with @Transactional, and provides guidance on handling blocking tasks and exceptions for robust asynchronous execution.

AsyncAsynchronousException Handling
0 likes · 10 min read
Understanding Spring Boot @Async: Usage, Pitfalls, and Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 9, 2023 · Frontend Development

Elegant Handling of async/await Exceptions in JavaScript

This article examines why try‑catch is often overused for async/await errors, outlines common scenarios that cause request failures, and presents two cleaner alternatives—using Promise .catch with conditional logic and the lightweight await‑to‑js utility—to simplify error handling and reduce code redundancy.

AsyncError HandlingJavaScript
0 likes · 7 min read
Elegant Handling of async/await Exceptions in JavaScript
TAL Education Technology
TAL Education Technology
Nov 2, 2023 · Backend Development

Java CompletableFuture: Creation, Asynchronous Callbacks, Composition, and Thread‑Pool Configuration

This article explains Java's CompletableFuture utility introduced in Java 8, covering its creation methods, asynchronous callback functions, exception handling, task composition, combination operators, underlying implementation details, and best practices for configuring thread pools to achieve efficient concurrent execution.

AsyncCompletableFutureJava
0 likes · 32 min read
Java CompletableFuture: Creation, Asynchronous Callbacks, Composition, and Thread‑Pool Configuration
php Courses
php Courses
Nov 1, 2023 · Backend Development

Improving WeChat Mini Program User Experience with PHP: Asynchronous Requests, Data Caching, and Image Optimization

To boost the performance and user experience of WeChat Mini Programs, this guide demonstrates PHP techniques including asynchronous API calls, Redis-based data caching, and image optimization with the GD library, providing practical code examples for faster page loads and smoother interactions.

AsyncImageOptimizationPHP
0 likes · 4 min read
Improving WeChat Mini Program User Experience with PHP: Asynchronous Requests, Data Caching, and Image Optimization
Bilibili Tech
Bilibili Tech
Oct 25, 2023 · Backend Development

Performance Optimization Practices in Bilibili's Risk Control Engine

To overcome storage, compute, and I/O bottlenecks in Bilibili’s risk‑control engine, the team combined pre‑fetching with Redis caching, batch retrieval, asynchronous writes via Railgun, aggressive log compression, and a multi‑level cache plus Bloom filter, cutting latency to sub‑100 ms, reducing Redis QPS by over 90 % and storage by ~38 %, while supporting million‑level query throughput.

AsyncBackendBatch Processing
0 likes · 22 min read
Performance Optimization Practices in Bilibili's Risk Control Engine
Architect
Architect
Sep 25, 2023 · Backend Development

Using @Async in Spring: Default Thread Pools, Custom Thread Pools, and Best Practices

Spring's @Async annotation enables asynchronous method execution, but its default SimpleAsyncTaskExecutor creates a new thread per task, leading to resource issues; the article explains built‑in executors, their drawbacks, and how to implement custom thread pools via AsyncConfigurer, AsyncConfigurerSupport, or a custom TaskExecutor for better control.

AsyncJavaThreadPool
0 likes · 8 min read
Using @Async in Spring: Default Thread Pools, Custom Thread Pools, and Best Practices
JD Cloud Developers
JD Cloud Developers
Sep 18, 2023 · Backend Development

Mastering Rust gRPC Streaming with Tonic: Build Server & Client

This guide walks through creating a Rust project that uses the Tonic library to implement gRPC streaming, covering project setup, protobuf definitions, server and client code, testing with grpcurl, and enabling the reflection API for service introspection.

AsyncBackendRust
0 likes · 15 min read
Mastering Rust gRPC Streaming with Tonic: Build Server & Client
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 25, 2023 · Frontend Development

Implementing createPromise and createRetryPromise Utility Functions in JavaScript

This article explains the design and step‑by‑step implementation of two JavaScript utility functions—createPromise for exposing a Promise’s resolve/reject handlers and createRetryPromise for adding configurable retry logic—complete with TypeScript typings, detailed code walkthroughs, and a practical network‑request example.

AsyncJavaScriptPromise
0 likes · 11 min read
Implementing createPromise and createRetryPromise Utility Functions in JavaScript
政采云技术
政采云技术
Jun 21, 2023 · Frontend Development

Analysis of Common Frontend Issues

This article examines typical frontend development pitfalls—including numeric type quirks, precision loss, function length, object ordering, asynchronous timer inaccuracies, race conditions, CSS positioning, stacking contexts, performance bottlenecks, and compatibility concerns—providing explanations, code examples, and practical mitigation strategies for developers.

AsyncCSSJavaScript
0 likes · 18 min read
Analysis of Common Frontend Issues
Sohu Tech Products
Sohu Tech Products
Apr 26, 2023 · Fundamentals

Understanding JavaScript Generators: Basics, Syntax, and Advanced Usage

JavaScript Generators, introduced in ES6, allow functions to pause and resume execution, yielding multiple values; this article explains their syntax, basic usage, advanced features like yield* and data exchange, and demonstrates practical scenarios such as asynchronous flow control, memory-efficient data processing, and state machine implementation.

AsyncJavaScriptYield
0 likes · 11 min read
Understanding JavaScript Generators: Basics, Syntax, and Advanced Usage
Selected Java Interview Questions
Selected Java Interview Questions
Apr 26, 2023 · Backend Development

Implementing a Flexible Excel Export Utility with Apache POI in Java

This article explains how to build a reusable Java utility for exporting large Excel reports using Apache POI, covering header configuration, data transformation, cell formatting, multithreaded data retrieval, asynchronous handling of long‑running exports, and provides full source snippets and SQL schema examples.

Apache POIAsyncBackend Development
0 likes · 13 min read
Implementing a Flexible Excel Export Utility with Apache POI in Java
Huolala Tech
Huolala Tech
Apr 25, 2023 · Frontend Development

How to Solve Async Race Conditions and Caching in React with Custom Hooks

This article explains why React's synchronous component model struggles with async data fetching, demonstrates how to cancel stale requests, introduces a refetch‑only hook, and shows how to implement caching and deduplication to make queries pure functions, while recommending React Query and SWR for production use.

AsyncCustom HookReact
0 likes · 9 min read
How to Solve Async Race Conditions and Caching in React with Custom Hooks
JD Cloud Developers
JD Cloud Developers
Apr 11, 2023 · Fundamentals

Mastering Dart’s Event Loop: From Microtasks to Isolates

This article explains Dart’s single‑threaded event‑loop model, the distinction between microtask and event queues, how to schedule tasks, use Futures, async/await, isolates, and practical patterns like LoadBalancer and CancelableOperation to manage asynchronous operations in Flutter apps.

AsyncDARTFlutter
0 likes · 17 min read
Mastering Dart’s Event Loop: From Microtasks to Isolates
Python Programming Learning Circle
Python Programming Learning Circle
Mar 25, 2023 · Fundamentals

New Features and Improvements in Python 3.11

Python 3.11, the latest stable release, brings substantial performance gains of up to 60 %, richer error tracebacks, faster code execution via adaptive specialization, new async task‑group syntax, expanded type‑variable support, built‑in TOML parsing, zero‑cost exceptions, exception groups, and quicker interpreter startup, all detailed with examples and benchmarks.

AsyncExceptionsTOML
0 likes · 9 min read
New Features and Improvements in Python 3.11
Code Ape Tech Column
Code Ape Tech Column
Mar 22, 2023 · Backend Development

Why the @Async Annotation Triggers BeanCurrentlyInCreationException in Spring Circular Dependencies

This article explains how Spring's @Async annotation interacts with circular dependencies, why it leads to BeanCurrentlyInCreationException, and provides detailed insights into AsyncAnnotationBeanPostProcessor, AOP proxy creation, the three‑level cache mechanism, and practical solutions to avoid the issue.

AsyncBeanPostProcessorcircular-dependency
0 likes · 12 min read
Why the @Async Annotation Triggers BeanCurrentlyInCreationException in Spring Circular Dependencies
DevOps Cloud Academy
DevOps Cloud Academy
Mar 21, 2023 · Operations

Using Ansible Async Mode to Run Long‑Running Tasks in Playbooks

This article explains how Ansible’s async and poll parameters enable background execution of long‑running tasks, allowing playbooks to continue without blocking, and provides practical examples, configuration tips, and status‑checking techniques for reliable DevOps automation.

AnsibleAsyncAutomation
0 likes · 10 min read
Using Ansible Async Mode to Run Long‑Running Tasks in Playbooks
Selected Java Interview Questions
Selected Java Interview Questions
Mar 20, 2023 · Backend Development

Using Asynchronous Threads in Spring Boot: @Async, AsyncManager, and ThreadPoolExecutor

This article explains how to implement asynchronous processing in Java Spring Boot using the @Async annotation, the built‑in AsyncManager, and a custom ThreadPoolExecutor, providing code examples, configuration steps, and best‑practice tips for managing background tasks without blocking the main thread.

AsyncAsynchronousBackend Development
0 likes · 9 min read
Using Asynchronous Threads in Spring Boot: @Async, AsyncManager, and ThreadPoolExecutor
macrozheng
macrozheng
Mar 17, 2023 · Backend Development

Java Backend Nightmares: Async Misuse, Bad Practices, and Lock Bugs

The author inherited a poorly engineered Java backend project riddled with massive methods, missing abstractions, unsafe async handling with Thread.sleep, ineffective @Async annotations, and a broken distributed lock implementation, highlighting how such technical debt creates a maintenance nightmare.

AsyncJavaspring
0 likes · 6 min read
Java Backend Nightmares: Async Misuse, Bad Practices, and Lock Bugs
Java Architect Essentials
Java Architect Essentials
Mar 14, 2023 · Backend Development

Using @Async in Spring: Built‑in Thread Pools, Their Limitations, and Custom Thread‑Pool Configuration

The article explains how Spring's @Async annotation works, compares synchronous and asynchronous calls, reviews the built‑in executors such as SimpleAsyncTaskExecutor, discusses their drawbacks, and provides detailed guidance on creating custom thread pools via AsyncConfigurer, AsyncConfigurerSupport, or a TaskExecutor bean, including code examples.

AsyncCustomExecutorThreadPool
0 likes · 9 min read
Using @Async in Spring: Built‑in Thread Pools, Their Limitations, and Custom Thread‑Pool Configuration
Selected Java Interview Questions
Selected Java Interview Questions
Mar 3, 2023 · Backend Development

Comprehensive Guide to Java CompletableFuture: Asynchronous Tasks, Callbacks, and Multi‑Future Composition

This article explains Java's CompletableFuture API introduced in JDK 8, covering how to create asynchronous tasks with supplyAsync and runAsync, use various callback methods such as thenApply, thenAccept, thenRun, whenComplete, handle, and combine multiple futures with thenCombine, allOf, anyOf, providing code examples and execution results.

AsyncCompletableFutureFutureComposition
0 likes · 16 min read
Comprehensive Guide to Java CompletableFuture: Asynchronous Tasks, Callbacks, and Multi‑Future Composition
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 6, 2023 · Backend Development

Master Spring Boot Task Execution: Configure Executors, Schedulers, and Async

Learn how Spring Boot automatically configures ThreadPoolTaskExecutor and ThreadPoolTaskScheduler, customize them via spring.task.execution and spring.task.scheduling properties, and use @EnableAsync, @Scheduled, and @Async annotations—including advanced options like cron expressions, time units, executor qualifiers, and exception handling—to efficiently manage asynchronous and scheduled tasks.

AsyncJavaScheduling
0 likes · 8 min read
Master Spring Boot Task Execution: Configure Executors, Schedulers, and Async
21CTO
21CTO
Dec 19, 2022 · Fundamentals

What Should Rust Prioritize in 2023? Governance, Compiler Rewrite, and More

The article outlines Rust's 2023 priorities, emphasizing governance and leadership challenges, a potential compiler rewrite, strengthening Cargo, advancing async and unsafe programming, and fostering innovation while avoiding stagnation, all aimed at sustaining the language's reliability and performance.

AsyncProgramming Languagecargo
0 likes · 7 min read
What Should Rust Prioritize in 2023? Governance, Compiler Rewrite, and More
ByteFE
ByteFE
Dec 12, 2022 · Frontend Development

Understanding JavaScript Asynchronous Mechanisms and the Event Loop

This article explains why JavaScript, despite being single‑threaded, needs asynchronous mechanisms such as the event loop, details macro‑ and micro‑tasks, compares browser and Node.js implementations, and demonstrates common pitfalls and best practices using callbacks, Promise, generator, and async/await patterns.

AsyncJavaScriptNode.js
0 likes · 16 min read
Understanding JavaScript Asynchronous Mechanisms and the Event Loop
ByteFE
ByteFE
Nov 21, 2022 · Frontend Development

Understanding and Mastering JavaScript Promises: Basics, Advanced Usage, and Best Practices

This article provides a comprehensive overview of JavaScript Promises, covering their definition, states, basic usage, error handling, chaining, common APIs, best practices, advanced scenarios such as preloading and cancellation, as well as manual implementation techniques, to help front‑end developers deepen their asynchronous programming skills.

AsyncError HandlingJavaScript
0 likes · 25 min read
Understanding and Mastering JavaScript Promises: Basics, Advanced Usage, and Best Practices
ByteFE
ByteFE
Nov 8, 2022 · Frontend Development

Understanding the JavaScript Event Loop in Browsers and Node.js

This article explains the fundamentals of JavaScript's event loop, covering browser asynchronous execution, macro‑ and micro‑tasks, timer inaccuracies, view rendering, and the differences in Node.js implementation, while providing code examples to illustrate execution order and practical implications for developers.

AsyncBrowserJavaScript
0 likes · 18 min read
Understanding the JavaScript Event Loop in Browsers and Node.js
21CTO
21CTO
Oct 26, 2022 · Fundamentals

Why Python 3.11’s Speed Boost Matters: New Features and Performance Gains

Python 3.11, the latest stable release, delivers 10‑60% speed improvements over 3.10 thanks to an enhanced CPython compiler, introduces async task groups, refined traceback, granular exception handling, and native TOML support, while requiring no code changes to benefit from its performance gains.

Asyncfeaturesprogramming-language
0 likes · 3 min read
Why Python 3.11’s Speed Boost Matters: New Features and Performance Gains
MaGe Linux Operations
MaGe Linux Operations
Oct 26, 2022 · Fundamentals

What’s New in Python 3.11? Faster Execution, Better Tracebacks, and More

Python 3.11, the latest major release, delivers up to 60 % speed gains over 3.10, richer error tracebacks, faster code execution via adaptive bytecode, new async task groups, expanded typing support, built‑in TOML parsing, quicker startup, zero‑cost exceptions, exception groups, and several other modern enhancements.

AsyncTracebackspython-3.11
0 likes · 9 min read
What’s New in Python 3.11? Faster Execution, Better Tracebacks, and More
Python Programming Learning Circle
Python Programming Learning Circle
Oct 26, 2022 · Fundamentals

New Features and Improvements in Python 3.11

Python 3.11, the latest official release, brings substantial performance gains, richer error tracebacks, enhanced async task syntax, expanded type‑hint support, built‑in TOML parsing, zero‑cost exceptions, exception groups, faster startup, and numerous other refinements that together make the language both quicker and more developer‑friendly.

AsyncExceptionsTOML
0 likes · 9 min read
New Features and Improvements in Python 3.11
Sohu Tech Products
Sohu Tech Products
Oct 19, 2022 · Fundamentals

Understanding the JavaScript Event Loop in Browsers and Node.js

This article explains the fundamentals of JavaScript's event loop, covering single‑threaded execution, the role of macro‑tasks and micro‑tasks, differences between browser and Node.js implementations, and includes code examples that illustrate task scheduling and execution order.

AsyncBrowserJavaScript
0 likes · 17 min read
Understanding the JavaScript Event Loop in Browsers and Node.js
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Oct 11, 2022 · Frontend Development

Mastering Recoil: Advanced State Management Techniques for React

This article provides a comprehensive guide to Recoil, Facebook's React state‑management library, covering its graph‑based architecture, atoms and selectors, family APIs for bulk state, async data handling with Suspense and Loadable, snapshot usage for SSR and time‑travel, external synchronization, and practical tips for reducing mental load.

AsyncReactRecoil
0 likes · 14 min read
Mastering Recoil: Advanced State Management Techniques for React
Tencent Cloud Developer
Tencent Cloud Developer
Sep 28, 2022 · Fundamentals

Understanding C++20 Coroutines: Promise, Await, and Practical Examples

C++20 coroutines turn functions containing co_await, co_yield, or co_return into suspendable tasks, requiring a promise_type that defines get_return_object, initial_suspend, final_suspend, yield_value, return handling, and exception management, while handles manage resumption, and custom awaiters enable asynchronous I/O such as non‑blocking TCP connections.

AsyncC++20Promise
0 likes · 13 min read
Understanding C++20 Coroutines: Promise, Await, and Practical Examples
Cognitive Technology Team
Cognitive Technology Team
Sep 18, 2022 · Backend Development

Avoiding Thread Hunger Locks When Submitting Dependent Tasks to a Bounded Thread Pool

The article explains how converting a serial RPC call layer to an asynchronous parallel model can cause thread pool exhaustion and hunger lock when tasks depend on each other, demonstrates the issue with Java code, and provides practical strategies such as using separate pools or CompletableFuture to avoid the problem.

AsyncExecutorServiceJava
0 likes · 6 min read
Avoiding Thread Hunger Locks When Submitting Dependent Tasks to a Bounded Thread Pool
Tencent Cloud Developer
Tencent Cloud Developer
Aug 23, 2022 · Backend Development

Understanding Asio Coroutine Implementation in C++20

The article explains how Asio implements C++20 coroutine support by converting callback‑based async operations into awaitables with use_awaitable, launching them via co_spawn and co_spawn_entry_point, handling result propagation and thread dispatch, and providing parallel composition operators (&&, ||) for concurrent awaiting.

AsioAsyncC++
0 likes · 26 min read
Understanding Asio Coroutine Implementation in C++20
Top Architect
Top Architect
Aug 17, 2022 · Backend Development

Using Spring Application Events for Synchronous and Asynchronous Business Logic

This article demonstrates how to leverage Spring's ApplicationEvent mechanism to decouple business logic, showing both synchronous and asynchronous event publishing, custom event definitions, listener implementations, unit testing, and enabling async processing with @EnableAsync and @Async annotations.

ApplicationEventAsyncEventListener
0 likes · 9 min read
Using Spring Application Events for Synchronous and Asynchronous Business Logic
360 Quality & Efficiency
360 Quality & Efficiency
Jul 15, 2022 · Backend Development

Using APScheduler for Asynchronous Task Scheduling in Flask

This article introduces the Python APScheduler framework, explains its four core components, shows how to install it, and provides a step‑by‑step guide for integrating background task scheduling into a Flask application with appropriate scheduler, job store, executor, and trigger selections.

APSchedulerAsyncBackgroundScheduler
0 likes · 6 min read
Using APScheduler for Asynchronous Task Scheduling in Flask
Tencent Cloud Developer
Tencent Cloud Developer
Jul 14, 2022 · Fundamentals

Implementation Details of Scheduler and Context in libunifex (CPU Thread Execution Context)

The article explains libunifex’s CPU‑thread scheduler architecture, detailing how a lightweight scheduler wraps a manual_event_loop execution context with a mutex‑protected FIFO task queue, how operations bridge receivers to the context, and outlines various thread‑bound and platform‑specific scheduler variants.

AsyncC++Execution Context
0 likes · 16 min read
Implementation Details of Scheduler and Context in libunifex (CPU Thread Execution Context)
Sanyou's Java Diary
Sanyou's Java Diary
Jul 4, 2022 · Backend Development

Mastering CompletableFuture: From Basics to RocketMQ Integration

This article introduces Java's CompletableFuture, compares it with Future, explains its core APIs, demonstrates common usage patterns—including creation, result retrieval, chaining, exception handling, and task combination—and shows a practical integration example within RocketMQ's message storage workflow.

AsyncCompletableFutureRocketMQ
0 likes · 15 min read
Mastering CompletableFuture: From Basics to RocketMQ Integration
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Jun 21, 2022 · Mobile Development

Understanding Kotlin Coroutines: Continuations, Suspend Functions, and Practical Applications

This article explains how Kotlin coroutines work under the hood by turning callback‑based code into state‑machine continuations, demonstrates the role of the Continuation interface and suspend functions, and shows practical patterns such as suspendCoroutine, custom DSLs, and a PendingData utility for managing asynchronous UI flows like home‑page pop‑ups in Android.

AndroidAsyncContinuation
0 likes · 29 min read
Understanding Kotlin Coroutines: Continuations, Suspend Functions, and Practical Applications
Top Architect
Top Architect
Jun 17, 2022 · Backend Development

Asynchronous Execution Techniques in Spring Boot: CompletableFuture, @Async, WebAsyncTask, DeferredResult and More

This article explains multiple ways to achieve asynchronous processing in Spring Boot, covering @Async annotation, CompletableFuture, WebAsyncTask, DeferredResult, Tomcat connection tuning, component scanning, Undertow migration, BufferedWriter usage, and AsyncHandlerInterceptor with detailed code examples.

AsyncCompletableFutureDeferredResult
0 likes · 11 min read
Asynchronous Execution Techniques in Spring Boot: CompletableFuture, @Async, WebAsyncTask, DeferredResult and More
Selected Java Interview Questions
Selected Java Interview Questions
Apr 29, 2022 · Backend Development

Using Spring's @Async Annotation: Thread Pool Configuration and Custom Implementations

This article explains the purpose and usage rules of Spring's @Async annotation, compares built‑in executors, demonstrates how to enable @Async, and provides detailed examples of custom thread‑pool configurations, multiple pool management, and important source‑code analysis for robust asynchronous processing in Java backend applications.

AsyncThreadPoolspring
0 likes · 13 min read
Using Spring's @Async Annotation: Thread Pool Configuration and Custom Implementations
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 25, 2022 · Frontend Development

Master JavaScript Promises: Build Your Own From Scratch

This article explains what a JavaScript Promise is, why it solves callback‑hell in asynchronous code, details its three states, and walks through a complete hand‑written implementation—including the constructor, then method, resolvePromise logic, and how to verify compliance with the Promises/A+ test suite.

AsyncJavaScriptPromise
0 likes · 15 min read
Master JavaScript Promises: Build Your Own From Scratch
IT Services Circle
IT Services Circle
Apr 11, 2022 · Frontend Development

Recommended ESLint Rules for Writing Good Asynchronous JavaScript Code

This article presents a collection of ESLint rules for JavaScript asynchronous programming, explaining why patterns like async promise executors, awaiting in loops, returning values from Promise constructors, and others should be avoided, and provides correct code examples to improve readability, performance, and error handling.

AsyncESLintJavaScript
0 likes · 8 min read
Recommended ESLint Rules for Writing Good Asynchronous JavaScript Code
Sohu Tech Products
Sohu Tech Products
Mar 16, 2022 · Backend Development

Enabling Spring @Async to Support Placeholders and SpEL Expressions

This article explains how to modify Spring's @Async annotation so that its value attribute can resolve placeholders or SpEL expressions, demonstrates a working demo, shows the required code changes using EmbeddedValueResolver, and shares debugging tricks and related Java language features.

AsyncDebuggingJDK
0 likes · 14 min read
Enabling Spring @Async to Support Placeholders and SpEL Expressions
ByteDance ADFE Team
ByteDance ADFE Team
Feb 28, 2022 · Frontend Development

Understanding Recoil’s Asynchronous Data Flow and Loading Handling

This article explains how Recoil implements asynchronous data streams, detailing the underlying data‑flow architecture, the role of atoms and selectors, the lifecycle of async loading states, and two approaches for handling loading—manual useRecoilValueLoadable and automatic React.Suspense integration—accompanied by illustrative code examples.

AsyncReactRecoil
0 likes · 10 min read
Understanding Recoil’s Asynchronous Data Flow and Loading Handling