Tagged articles

async

327 articles · Page 3 of 4
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.

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

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

C++Execution Contextasync
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.

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

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

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

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

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

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

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

ReActRecoilState Management
0 likes · 10 min read
Understanding Recoil’s Asynchronous Data Flow and Loading Handling
21CTO
21CTO
Feb 12, 2022 · Backend Development

What’s New in PHP 8.1? Enums, Read‑only Properties, Async & Serverless Insights

The article reports Alexa’s shutdown and TIOBE’s shift to Similarweb, highlights the February TIOBE Top‑20 rankings with Python, C and Java gains, and dives into PHP 8.1’s new features—including enums, read‑only properties, async support, serverless frameworks, and a thriving ecosystem.

8.1EnumsPHP
0 likes · 5 min read
What’s New in PHP 8.1? Enums, Read‑only Properties, Async & Serverless Insights
Architect's Tech Stack
Architect's Tech Stack
Dec 21, 2021 · Backend Development

Using @Async Annotation in Spring: Application Scenarios, Built‑in Thread Pools, and Custom Thread‑Pool Configuration

This article explains the @Async annotation in Spring, how it enables asynchronous method execution, compares the built‑in executors, shows how to configure custom thread pools via AsyncConfigurer or AsyncConfigurerSupport, and provides code examples for void, Future and CompletableFuture based async methods.

JavaSpringThreadPool
0 likes · 12 min read
Using @Async Annotation in Spring: Application Scenarios, Built‑in Thread Pools, and Custom Thread‑Pool Configuration
GrowingIO Tech Team
GrowingIO Tech Team
Dec 17, 2021 · Backend Development

Mastering Reactor: From Mono & Flux Basics to Advanced Async Patterns

This article explains the fundamentals of Reactor's reactive programming model—including Mono and Flux types, map and flatMap operators, asynchronous execution, scheduler choices, and error handling—while providing practical code examples to help developers efficiently use Spring WebFlux.

FluxJavaReactive Programming
0 likes · 26 min read
Mastering Reactor: From Mono & Flux Basics to Advanced Async Patterns
macrozheng
macrozheng
Dec 1, 2021 · Backend Development

Master Asynchronous Programming in Spring Boot: From Basics to Custom Thread Pools

This article explains why asynchronous execution is needed in Spring Boot, demonstrates how to enable @Async, shows step‑by‑step code for configuration, method annotation, and controller usage, and details how to create and manage custom thread pools for optimal performance and fault tolerance.

Javaasyncperformance
0 likes · 11 min read
Master Asynchronous Programming in Spring Boot: From Basics to Custom Thread Pools
MaGe Linux Operations
MaGe Linux Operations
Nov 16, 2021 · Backend Development

Why Loguru Beats Python’s Built‑in Logging: A Hands‑On Guide

This article introduces Loguru, a third‑party Python logging library, explains why it simplifies logging compared to the standard logging module, outlines its key features such as out‑of‑the‑box setup, async safety, lazy evaluation, and file rotation, and provides practical code examples for quick integration into scripts, libraries, and frameworks.

LoggingLoguruasync
0 likes · 11 min read
Why Loguru Beats Python’s Built‑in Logging: A Hands‑On Guide
php Courses
php Courses
Nov 16, 2021 · Backend Development

Understanding PHP 8.1 Fibers: Theory, Practical Use, and Limitations

This article explains the concept of PHP 8.1 Fibers, compares synchronous and parallel HTTP request handling, shows how to implement simple asynchronous workflows with sockets or ReactPHP, and discusses why Fibers are low‑level building blocks rather than a complete async solution.

FibersPHPPHP8.1
0 likes · 8 min read
Understanding PHP 8.1 Fibers: Theory, Practical Use, and Limitations
Sohu Tech Products
Sohu Tech Products
Oct 27, 2021 · Mobile Development

Understanding Flutter: Cross‑Platform Capabilities, Architecture, Rendering Process, and Dart VM

This article explains how Flutter achieves true cross‑platform development, details its layered architecture, UI rendering pipeline, Dart VM event‑loop model, isolate‑based multithreading, and the various runners that coordinate to deliver high‑performance UI across mobile and desktop platforms.

Cross-PlatformDARTFlutter
0 likes · 15 min read
Understanding Flutter: Cross‑Platform Capabilities, Architecture, Rendering Process, and Dart VM
FunTester
FunTester
Oct 19, 2021 · Backend Development

Mimicking Go’s ‘go’ Keyword in Java and Groovy with Thread Pools

This article explains how to achieve Go‑style asynchronous execution in Java and Groovy by leveraging closures, the java.util.function.Supplier interface, custom thread‑pool wrappers, and Phaser‑based synchronization, complete with practical code examples and a custom ThreadFactory implementation.

GroovyJavaPhaser
0 likes · 7 min read
Mimicking Go’s ‘go’ Keyword in Java and Groovy with Thread Pools
Java Architect Essentials
Java Architect Essentials
Oct 18, 2021 · Backend Development

Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async

This article explains the difference between synchronous and asynchronous method calls in Java, demonstrates a simple Spring Boot Task class with three time‑consuming methods, shows how to convert them to asynchronous execution using @Async and @EnableAsync, and illustrates how to coordinate completion with Future objects.

AsynchronousBackend DevelopmentJava
0 likes · 7 min read
Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async
Top Architect
Top Architect
Oct 10, 2021 · Backend Development

Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async and CompletableFuture

This article explains the difference between synchronous and asynchronous method calls in Spring Boot, demonstrates how to convert simple task methods to asynchronous ones using @Async, shows how to coordinate multiple async tasks with CompletableFuture, and provides complete code examples and test results.

Backend DevelopmentCompletableFutureJava
0 likes · 9 min read
Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async and CompletableFuture
Code Ape Tech Column
Code Ape Tech Column
Oct 4, 2021 · Backend Development

Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async

This article explains the difference between synchronous and asynchronous method calls in Java, demonstrates how to implement synchronous tasks, then shows how to convert them to asynchronous execution using Spring Boot's @Async annotation, @EnableAsync configuration, and Future-based callbacks to measure total execution time.

FutureJavaSpring Boot
0 likes · 8 min read
Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async
MaGe Linux Operations
MaGe Linux Operations
Oct 2, 2021 · Backend Development

Inside Tomcat: Architecture, Lifecycle, Connectors, and Advanced Features

This article provides a comprehensive overview of Tomcat, covering its role as an open‑source Java web server, the internal components such as Server, Service, Connector, and Container, lifecycle management, servlet and JSP processing, connector types, pipeline/valve mechanisms, Comet push, and asynchronous servlet support.

ConnectorJSPJava
0 likes · 19 min read
Inside Tomcat: Architecture, Lifecycle, Connectors, and Advanced Features
MaGe Linux Operations
MaGe Linux Operations
Oct 2, 2021 · Operations

Master Python Scheduling: 10 Practical Ways to Run Periodic Tasks

This comprehensive guide explores ten Python techniques for implementing periodic tasks—from simple while‑loop sleeps and the Timeloop library to advanced frameworks like APScheduler, Celery, and Apache Airflow—providing code samples, advantages, limitations, and architectural insights for reliable scheduling.

APSchedulerAirflowTask scheduling
0 likes · 27 min read
Master Python Scheduling: 10 Practical Ways to Run Periodic Tasks
Top Architect
Top Architect
Sep 22, 2021 · Backend Development

Using ThreadPoolTaskExecutor and @Async for Asynchronous Processing in Spring Boot

This article explains how to configure a Spring Boot ThreadPoolTaskExecutor, enable asynchronous execution with @Async, create a custom visible executor to log pool statistics, and demonstrates the complete workflow with code examples and runtime logs for improving database insert performance.

JavaSpring BootThreadPoolTaskExecutor
0 likes · 12 min read
Using ThreadPoolTaskExecutor and @Async for Asynchronous Processing in Spring Boot
Programmer DD
Programmer DD
Sep 18, 2021 · Backend Development

Isolating Spring @Async Thread Pools to Prevent Task Interference

This tutorial explains why the default shared thread pool for @Async tasks can cause unrelated services to block each other, and shows step‑by‑step how to configure separate thread pools for different async tasks in Spring Boot, complete with code examples and a unit test.

JavaSpring Bootasync
0 likes · 10 min read
Isolating Spring @Async Thread Pools to Prevent Task Interference
IT Architects Alliance
IT Architects Alliance
Sep 15, 2021 · Backend Development

Inside Tomcat: Unveiling Its Architecture, Lifecycle, and Connector Mechanics

This article provides a comprehensive technical deep‑dive into Apache Tomcat, covering its role as a Java EE web server, core components such as Server, Service, Connector, Container, the detailed lifecycle management, servlet and JSP processing, various connector implementations, NIO handling, Comet push technology, and asynchronous servlet support.

CometConnectorJSP
0 likes · 21 min read
Inside Tomcat: Unveiling Its Architecture, Lifecycle, and Connector Mechanics
Python Programming Learning Circle
Python Programming Learning Circle
Sep 11, 2021 · Fundamentals

A Comparative Overview of Python and JavaScript Coroutines

This article compares the evolution, concepts, and practical implementations of coroutines in Python and JavaScript, explaining their histories, core mechanisms such as async/await, event loops, and providing side‑by‑side code examples to help newcomers understand asynchronous programming in both languages.

Pythonasyncawait
0 likes · 15 min read
A Comparative Overview of Python and JavaScript Coroutines
Top Architect
Top Architect
Aug 19, 2021 · Backend Development

Understanding Spring @Async and Custom Thread Pools

This article explains how Spring's @Async annotation enables asynchronous method execution, compares synchronous and asynchronous flows, reviews the built‑in executors, highlights the drawbacks of the default SimpleAsyncTaskExecutor, and demonstrates how to configure a custom thread pool using AsyncConfigurer or TaskExecutor beans.

JavaSpringThreadPool
0 likes · 9 min read
Understanding Spring @Async and Custom Thread Pools
FunTester
FunTester
Aug 17, 2021 · Backend Development

Boost HTTP Client Performance with Java NIO and Async Callbacks

This article explains how Java NIO's non‑blocking I/O can accelerate HTTP interface testing by offloading response handling to separate threads, presents a simple request‑time model, and provides concrete async HttpClient code examples with logging and JSON parsing.

HTTPHttpClientJava
0 likes · 9 min read
Boost HTTP Client Performance with Java NIO and Async Callbacks
ByteFE
ByteFE
Aug 12, 2021 · Frontend Development

How JavaScript’s Single Thread Handles Async and What startTransition Changes

Although JavaScript runs on a single thread, it can handle asynchronous operations through mechanisms like setTimeout, and React 18’s startTransition lets developers separate urgent UI updates from deferred work, improving responsiveness by scheduling non‑urgent tasks after urgent ones complete.

JavaScriptReActasync
0 likes · 6 min read
How JavaScript’s Single Thread Handles Async and What startTransition Changes
Code Ape Tech Column
Code Ape Tech Column
Aug 8, 2021 · Backend Development

Master Spring @Async: Custom Thread Pools and Real-World Usage

This guide explains how Spring's @Async annotation works, compares built-in executors, shows how to configure custom thread pools via AsyncConfigurer or AsyncConfigurerSupport, and demonstrates various async method signatures including void, Future and CompletableFuture with practical code examples.

JavaSpringThreadPool
0 likes · 9 min read
Master Spring @Async: Custom Thread Pools and Real-World Usage
vivo Internet Technology
vivo Internet Technology
Jul 7, 2021 · Databases

Lettuce vs Jedis: Features, Usage, and Comparison of Java Redis Clients

Lettuce, a thread‑safe, Netty‑based Java Redis client supporting synchronous, asynchronous, reactive, Cluster, Sentinel, pipelining and custom codecs, outperforms Jedis’s non‑thread‑safe pooled connections by reducing resource consumption, simplifying Spring integration, and offering advanced features like read‑write splitting, topology refresh, and optional pooling for high‑throughput applications.

Connection PoolJavaJedis
0 likes · 15 min read
Lettuce vs Jedis: Features, Usage, and Comparison of Java Redis Clients
Sohu Tech Products
Sohu Tech Products
Jun 2, 2021 · Frontend Development

Understanding Top-Level Await in JavaScript Modules

This article explains how top‑level await, introduced in V8 from version 9.1 and enabled by default in modern browsers, allows developers to use await directly at a module’s top level, simplifying asynchronous code patterns with examples, execution order details, and practical use cases.

JavaScriptModulesasync
0 likes · 8 min read
Understanding Top-Level Await in JavaScript Modules
21CTO
21CTO
May 25, 2021 · Backend Development

Why Sanic Outperforms Flask, Django, and Tornado in Async Python Web Development

This article compares popular Python web frameworks, highlights the speed advantages of async frameworks—especially Sanic—through benchmark data, explains why asynchronous I/O matters, and discusses Sanic's ecosystem, production readiness, documentation, and community support.

PythonWeb Frameworkasync
0 likes · 10 min read
Why Sanic Outperforms Flask, Django, and Tornado in Async Python Web Development
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 21, 2021 · Backend Development

Understanding Servlet 3.0 Asynchronous Processing in Spring MVC and Spring Boot

This article explains the fundamentals of Servlet 3.0 asynchronous processing, demonstrates how Spring MVC builds on the Servlet API, and provides multiple practical examples—including starting async support, using AsyncContext, custom threads, listeners, timeouts, and real‑world scenarios—to help developers master non‑blocking request handling in Java web applications.

JavaServletasync
0 likes · 24 min read
Understanding Servlet 3.0 Asynchronous Processing in Spring MVC and Spring Boot
Python Programming Learning Circle
Python Programming Learning Circle
Apr 29, 2021 · Backend Development

Why Sanic Is the Preferred Asynchronous Python Web Framework for High‑Performance Applications

This article compares traditional Python web frameworks with modern asynchronous alternatives, presents benchmark data showing Sanic’s superior speed, explains the benefits of async I/O, and discusses Sanic’s ecosystem, production readiness, documentation, and community support for developers seeking high‑performance backend solutions.

ProductionPythonWeb Framework
0 likes · 9 min read
Why Sanic Is the Preferred Asynchronous Python Web Framework for High‑Performance Applications
JD Retail Technology
JD Retail Technology
Apr 27, 2021 · Mobile Development

Understanding Kotlin Coroutines: Concepts, Usage, and Comparison with RxJava

This article explains Kotlin coroutine fundamentals, creation, launch and async usage, suspension functions, withContext, and compares coroutine-based implementations with RxJava in Android development, providing code examples and best‑practice guidance, including performance considerations and migration advice.

AndroidCoroutinesKotlin
0 likes · 18 min read
Understanding Kotlin Coroutines: Concepts, Usage, and Comparison with RxJava
Python Programming Learning Circle
Python Programming Learning Circle
Apr 16, 2021 · Backend Development

Why Choose Sanic: An Asynchronous Python Web Framework for Production

The article examines Python web framework performance, highlights the advantages of asynchronous frameworks like Sanic, and provides benchmark code and practical considerations for choosing a fast, production‑ready backend solution; it also discusses ecosystem support, documentation quality, and community resources.

PythonWeb Frameworkasync
0 likes · 9 min read
Why Choose Sanic: An Asynchronous Python Web Framework for Production
Beike Product & Technology
Beike Product & Technology
Mar 19, 2021 · Backend Development

Implementing a PHP Coroutine Task Scheduler for Concurrent RPC and MySQL Access

This article presents a PHP coroutine‑based Task Scheduler that enables high‑concurrency RPC calls and asynchronous MySQL queries, explains its design and implementation with code examples, compares performance against traditional synchronous and HttpMultiClient approaches, and discusses task dependency handling using DAG and topological sorting.

RPCasyncconcurrency
0 likes · 19 min read
Implementing a PHP Coroutine Task Scheduler for Concurrent RPC and MySQL Access
Laravel Tech Community
Laravel Tech Community
Feb 21, 2021 · Frontend Development

Refactoring Examples for Dependent Requests and Complex If‑Else Logic in JavaScript

This article presents practical refactoring techniques for JavaScript code, illustrating how to replace callback‑hell request chains with Promise.all and async/await, transform tangled if‑else blocks into pure, modular functions, and adopt clean‑code principles to improve readability, testability, and maintainability.

JavaScriptPromiseasync
0 likes · 10 min read
Refactoring Examples for Dependent Requests and Complex If‑Else Logic in JavaScript
Liangxu Linux
Liangxu Linux
Jan 24, 2021 · Fundamentals

Linux I/O Models: Blocking, Non‑Blocking, Multiplexing, Signal‑Driven, Async

This article introduces the five Linux I/O models—blocking, non‑blocking, I/O multiplexing, signal‑driven, and asynchronous—explaining core concepts such as blocking vs non‑blocking calls, synchronous vs asynchronous processing, and detailing each model’s execution phases, advantages, and typical use‑cases.

BlockingI/OLinux
0 likes · 8 min read
Linux I/O Models: Blocking, Non‑Blocking, Multiplexing, Signal‑Driven, Async
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jan 19, 2021 · Fundamentals

Understanding Functor, Applicative, and Monad in JavaScript with Practical Examples

The article explains JavaScript’s Functor, Applicative, and Monad abstractions—showing how map, ap, and chain (flatMap) on Box types such as Either, LazyBox, and a lazy Task can replace nested try‑catch and null checks, enable composable synchronous and asynchronous code, and support parallel execution with Task.ap.

ApplicativeFunctional ProgrammingJavaScript
0 likes · 20 min read
Understanding Functor, Applicative, and Monad in JavaScript with Practical Examples
Programmer DD
Programmer DD
Dec 12, 2020 · Backend Development

Mastering Asynchronous Java: From Threads to CompletableFuture

This article explains asynchronous and non‑blocking concepts, why traditional synchronous code hurts performance, and walks through Java's evolution from raw Thread usage to Future and the powerful CompletableFuture API, including practical examples, pros, cons, and web‑framework support.

CompletableFutureFutureasync
0 likes · 11 min read
Mastering Asynchronous Java: From Threads to CompletableFuture
MaGe Linux Operations
MaGe Linux Operations
Dec 10, 2020 · Backend Development

Is Async Python Really Faster? Uncover the Sync vs Async Truth

This article explains the difference between synchronous and asynchronous Python, how each model handles concurrency, the two main async implementations (coroutine‑based and greenlet‑based), and when async can actually outperform sync in high‑load, I/O‑bound scenarios.

Synchronizationasyncbackend
0 likes · 12 min read
Is Async Python Really Faster? Uncover the Sync vs Async Truth
JD Retail Technology
JD Retail Technology
Dec 1, 2020 · Fundamentals

In‑Depth Source Code Analysis of Kotlin Coroutines: Launch, Suspension, and Resumption

This article provides a comprehensive source‑code walkthrough of Kotlin coroutines, explaining how launch creates a coroutine, how the compiler transforms suspend functions into state‑machine classes, and detailing the mechanisms of suspension and resumption through Continuation, Dispatchers, and the coroutine scheduler.

CoroutinesDispatcherKotlin
0 likes · 46 min read
In‑Depth Source Code Analysis of Kotlin Coroutines: Launch, Suspension, and Resumption
37 Mobile Game Tech Team
37 Mobile Game Tech Team
Dec 1, 2020 · Fundamentals

Mastering JavaScript Promises: From Scratch to Full A+ Implementation

This article walks you through building a fully functional Promise library in JavaScript, starting with a basic implementation, then adding asynchronous handling, chaining, state management, error handling, and finally aligning with the Promise/A+ specification, complete with code examples and testing guidance.

A+ SpecificationJavaScriptPromise
0 likes · 15 min read
Mastering JavaScript Promises: From Scratch to Full A+ Implementation
Sohu Tech Products
Sohu Tech Products
Nov 25, 2020 · Mobile Development

Deep Dive into GCD Dispatch Queues, sync/async Behavior, and RunLoop Interaction on iOS

This article explores the intricacies of Grand Central Dispatch on iOS, debunking common misconceptions about main thread and main queue execution, analyzing the internal handling of synchronous tasks, and demonstrating how run‑loop activation influences queue‑thread relationships through a series of code experiments.

GCDasyncdispatch_queue
0 likes · 14 min read
Deep Dive into GCD Dispatch Queues, sync/async Behavior, and RunLoop Interaction on iOS
政采云技术
政采云技术
Nov 17, 2020 · Frontend Development

Writing High-Quality Maintainable Code: Asynchronous Optimization

This article explains the various asynchronous techniques in JavaScript—callback, Promise, async/await, and generator—compares them, and demonstrates practical patterns for handling callback hell, parallel and sequential async operations to write cleaner, more maintainable frontend code.

CallbackPromiseasync
0 likes · 10 min read
Writing High-Quality Maintainable Code: Asynchronous Optimization
360 Quality & Efficiency
360 Quality & Efficiency
Nov 6, 2020 · Backend Development

Introduction to Swoole and Its Integration with ThinkPHP5

This article introduces Swoole as a high‑performance asynchronous PHP engine, explains its differences from traditional PHP execution, and provides step‑by‑step guidance on integrating Swoole with ThinkPHP5, including a complete code example and key implementation notes.

PHPSwooleThinkPHP5
0 likes · 7 min read
Introduction to Swoole and Its Integration with ThinkPHP5
Programmer DD
Programmer DD
Aug 19, 2020 · Backend Development

Unlocking Spring’s @Async: Deep Dive into Mechanics, Pitfalls, and Solutions

This article explores Spring’s @Async annotation in depth, detailing its basic usage, underlying proxy creation, pointcut logic, and asynchronous execution, while highlighting common issues such as circular dependencies and inefficient default thread pools, and providing practical solutions like lazy injection and custom executors.

AOPDependencyInjectionSpring
0 likes · 15 min read
Unlocking Spring’s @Async: Deep Dive into Mechanics, Pitfalls, and Solutions
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 27, 2020 · Backend Development

Detailed Guide to Using @EnableAsync and @Async for Asynchronous Bean Method Execution in Spring

This article provides a comprehensive explanation of Spring's @EnableAsync and @Async annotations, covering their purpose, usage steps, handling of return values, custom thread‑pool configuration, exception handling, thread‑pool isolation, and the underlying AOP mechanism, supplemented with complete code examples.

JavaSpringThreadPool
0 likes · 18 min read
Detailed Guide to Using @EnableAsync and @Async for Asynchronous Bean Method Execution in Spring
High Availability Architecture
High Availability Architecture
Jul 1, 2020 · Backend Development

Design and Implementation of the “Dayu” Business Gateway for Bilibili Membership Purchase

This article presents a comprehensive architectural analysis of Bilibili’s “Dayu” business gateway, detailing its motivations, design principles, async processing model, configurable pipelines, dynamic Ognl expressions, caching strategies, performance results, and practical lessons for backend developers.

CachingConfigurationMicroservices
0 likes · 25 min read
Design and Implementation of the “Dayu” Business Gateway for Bilibili Membership Purchase
FunTester
FunTester
Jun 20, 2020 · Backend Development

Mastering MySQL CASE WHEN and MyBatis Dynamic Queries for Test Case Search

This article walks through building complex test‑case search queries using MySQL CASE WHEN, FIND_IN_SET, and MyBatis dynamic SQL, demonstrates converting asynchronous data fetches to synchronous calls with CountDownLatch in Spring, and provides complete Java bean and configuration examples.

JavaMyBatisSQL
0 likes · 9 min read
Mastering MySQL CASE WHEN and MyBatis Dynamic Queries for Test Case Search
Laravel Tech Community
Laravel Tech Community
May 29, 2020 · Backend Development

Swoole Coroutine Channel: Overview, Methods, and Example Usage

This article introduces Swoole's Coroutine Channel for inter‑coroutine communication, explains its memory‑efficient implementation and key methods such as __construct, push, pop, stats, close, length, isEmpty, isFull, capacity and errCode, and provides a complete PHP example demonstrating producer‑consumer behavior.

ChannelPHPSwoole
0 likes · 5 min read
Swoole Coroutine Channel: Overview, Methods, and Example Usage
Laravel Tech Community
Laravel Tech Community
May 24, 2020 · Backend Development

Creating a TCP Server with Swoole in PHP

This article demonstrates how to build a high‑performance asynchronous TCP server using the Swoole extension in PHP, covering server creation, event callbacks for connection, data reception, and closure, as well as testing the server with telnet or netcat.

PHPServerSwoole
0 likes · 3 min read
Creating a TCP Server with Swoole in PHP
vivo Internet Technology
vivo Internet Technology
Apr 15, 2020 · Frontend Development

How to Build Real Promise Chains: From Basics to Full Implementation

This article walks through the step‑by‑step creation of a JavaScript Promise implementation, explains why true chaining requires returning a new Promise from then, demonstrates mock asynchronous calls, and provides detailed code examples and execution logs to illustrate the complete chain behavior.

ChainJavaScriptPromise
0 likes · 13 min read
How to Build Real Promise Chains: From Basics to Full Implementation
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 8, 2020 · Backend Development

How to Enable and Customize Asynchronous Execution in Spring

Learn how to enable Spring's @Async support, configure custom executors, use @Async with void and Future return types, and implement custom exception handling for uncaught async errors, providing a complete guide to asynchronous method execution in Spring applications.

ExceptionHandlingExecutorSpring
0 likes · 4 min read
How to Enable and Customize Asynchronous Execution in Spring
Architect's Tech Stack
Architect's Tech Stack
Mar 2, 2020 · Backend Development

Using Asynchronous Requests and Calls in Spring Boot

This article explains how to implement asynchronous request handling and asynchronous method invocation in Spring Boot, covering servlet‑based async, Callable, WebAsyncTask, DeferredResult, @Async usage, common pitfalls, proxy solutions, and the differences between async requests and async calls.

AsynchronousServletSpring Boot
0 likes · 11 min read
Using Asynchronous Requests and Calls in Spring Boot
Python Programming Learning Circle
Python Programming Learning Circle
Feb 20, 2020 · Backend Development

Understanding Backpressure in Asynchronous Systems

Backpressure, the resistance to data flow in overloaded systems, is crucial for reliable asynchronous programming; this article explains its concepts, illustrates pitfalls in Python asyncio and other languages, and presents strategies such as buffering, draining, semaphores, and protocol-level flow control to manage overload.

Flow ControlPythonasync
0 likes · 16 min read
Understanding Backpressure in Asynchronous Systems
FunTester
FunTester
Feb 11, 2020 · Backend Development

Converting Asynchronous Calls to Synchronous Execution with Spring @Async for Server‑Side Interface Performance Optimization

This article explains how to improve the performance of multi‑query server interfaces by converting asynchronous calls to synchronous execution using Spring's @Async annotation and CountDownLatch, outlining suitable scenarios, providing Java pseudocode, and sharing practical implementation tips.

CountDownLatchJavaPerformance Optimization
0 likes · 7 min read
Converting Asynchronous Calls to Synchronous Execution with Spring @Async for Server‑Side Interface Performance Optimization
FunTester
FunTester
Jan 25, 2020 · Backend Development

Why Redis Cached Data Lost Fields After Async‑to‑Sync Conversion

During a performance test a query API failed on the second request because the Redis cache was written before asynchronous tasks finished, causing missing fields; the article explains the root cause, shows the original and fixed code, and details the debugging process.

CacheJavaRedis
0 likes · 5 min read
Why Redis Cached Data Lost Fields After Async‑to‑Sync Conversion
MaGe Linux Operations
MaGe Linux Operations
Jan 8, 2020 · Backend Development

Can Python Handle Millions of Requests per Second? Inside Japronto’s High‑Performance Microframework

This article explores how recent Python performance improvements and the ultra‑fast Japronto microframework enable handling over a million HTTP requests per second, detailing benchmark results, HTTP pipelining optimizations, C extensions, memory management tricks, and the underlying technologies that make such throughput possible.

BenchmarkingHTTPMicroframework
0 likes · 9 min read
Can Python Handle Millions of Requests per Second? Inside Japronto’s High‑Performance Microframework
Qunar Tech Salon
Qunar Tech Salon
Dec 5, 2019 · Frontend Development

Evolution of JavaScript: From Prototype Methods to Async/Await and Modern Features

This article traces JavaScript’s evolution, covering the enrichment of prototype methods, standardization of classes and modules, the rise of asynchronous patterns like callbacks, promises, generators, async/await, and modern syntax features such as block scope, symbols, BigInt, reflection, and useful syntactic sugar.

BIGINTJavaScriptasync
0 likes · 28 min read
Evolution of JavaScript: From Prototype Methods to Async/Await and Modern Features
WecTeam
WecTeam
Nov 12, 2019 · Frontend Development

Deep Dive into Promise Microtasks: How .then Registers and Executes

This article thoroughly dissects JavaScript Promise execution, revealing how microtasks are registered and run across multiple code snippets, compares Promise/A+ with WebKit implementations, and provides detailed code analyses and output predictions to help developers master Promise behavior.

JavaScriptPromiseasync
0 likes · 14 min read
Deep Dive into Promise Microtasks: How .then Registers and Executes
Java Captain
Java Captain
Oct 13, 2019 · Backend Development

Implementing a Flexible Excel Export Utility in Java with Apache POI

This article explains how to design a reusable Java utility for exporting large volumes of data to Excel using Apache POI, covering header configuration, data transformation, cell formatting, multi‑threaded data retrieval, asynchronous processing, and provides sample code and usage instructions.

ExcelJavaPOI
0 likes · 15 min read
Implementing a Flexible Excel Export Utility in Java with Apache POI
Didi Tech
Didi Tech
Aug 24, 2019 · Frontend Development

Webpack Loader Execution Process: Detailed Source Code Analysis

The article details Webpack’s loader execution pipeline, showing how a shared loaderContext is built for each module, how the loader‑runner pitches loaders in order, then processes the resource and runs each loader’s normal method from right to left, handling synchronous, Promise‑based, and async callbacks via runSyncOrAsync.

JavaScriptNode.jsasync
0 likes · 14 min read
Webpack Loader Execution Process: Detailed Source Code Analysis
21CTO
21CTO
Aug 16, 2019 · Backend Development

Master Scrapy: Build, Deploy, and Scale a Python Web Crawler Platform

This guide walks through designing a full‑featured web‑crawler platform, covering rule maintenance, job scheduling, async and real‑time crawling with Scrapy, project setup, item pipelines, settings, local execution, custom parameters, server deployment via Scrapyd, API usage, and fast real‑time crawling with Requests, BeautifulSoup, Flask, and multithreading.

FlaskPythonScrapy
0 likes · 16 min read
Master Scrapy: Build, Deploy, and Scale a Python Web Crawler Platform
Architecture Digest
Architecture Digest
Aug 15, 2019 · Backend Development

Design and Implementation of a Scrapy‑Based Web Crawling Platform

This article explains how to design a flexible web‑crawling platform using Scrapy, covering rule maintenance, job scheduling, asynchronous and real‑time crawlers, project setup, code structure, settings, local execution, deployment with scrapyd, API usage, and examples of Flask‑based real‑time services.

FlaskPythonScrapy
0 likes · 16 min read
Design and Implementation of a Scrapy‑Based Web Crawling Platform
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jul 12, 2019 · Fundamentals

Understanding Google V8 Engine Promise Implementation and the JavaScript Event Loop

This article explains the evolution of Google V8's Promise implementation, details the JavaScript single‑threaded event loop with macro‑ and micro‑tasks, describes various programming models, and walks through the internal V8 code that realizes Promise construction, chaining, and utility methods such as Promise.all and Promise.race.

JavaScriptPromiseV8
0 likes · 10 min read
Understanding Google V8 Engine Promise Implementation and the JavaScript Event Loop
MaoDou Frontend Team
MaoDou Frontend Team
Jul 2, 2019 · Frontend Development

Mastering JavaScript Promises: Event Loop, Tasks, and Advanced Patterns

This article explains JavaScript’s event mechanism, distinguishes macro‑ and micro‑tasks, and provides a comprehensive guide to using Promises—including their states, API methods like then, catch, finally, and utilities such as all, race, with practical code examples and common pitfalls.

JavaScriptPromiseasync
0 likes · 12 min read
Mastering JavaScript Promises: Event Loop, Tasks, and Advanced Patterns
360 Tech Engineering
360 Tech Engineering
May 14, 2019 · Frontend Development

What’s New in JavaScript: V8 Performance Boosts and New Language Features

The article summarizes the latest JavaScript enhancements presented by the V8 team at Google I/O, covering massive async performance gains, new engine components like TurboFan and Orinoco, and a suite of language features such as class fields, private members, numeric separators, bigint, extended Intl APIs, top‑level await, Promise.allSettled/any, and WeakRef, illustrated with practical code examples.

JavaScriptPromiseV8
0 likes · 12 min read
What’s New in JavaScript: V8 Performance Boosts and New Language Features