Tagged articles
87 articles
Page 1 of 1
Architecture & Thinking
Architecture & Thinking
Apr 29, 2026 · Backend Development

Must‑Know CompletableFuture: Usage, Best Practices, and Real‑World Scenarios

This article explains why CompletableFuture replaces traditional Future in high‑concurrency Java applications, demonstrates core APIs such as runAsync, supplyAsync, thenApply, allOf, anyOf, thenCombine, and exception handling, and provides detailed code examples—including serial, parallel, aggregation, and an e‑commerce order‑processing case—to guide robust asynchronous programming.

CompletableFutureException HandlingJava
0 likes · 26 min read
Must‑Know CompletableFuture: Usage, Best Practices, and Real‑World Scenarios
Data STUDIO
Data STUDIO
Feb 10, 2026 · Backend Development

Master Python asyncio: Make Your Code Fly with Asynchronous Programming

This article explains why synchronous Python code blocks on I/O, introduces asyncio’s event loop and coroutine model, and walks through creating and managing tasks, using TaskGroup, handling timeouts, avoiding common pitfalls, and applying best‑practice patterns for high‑performance I/O‑bound programs.

Pythonasynchronous programmingasyncio
0 likes · 20 min read
Master Python asyncio: Make Your Code Fly with Asynchronous Programming
Liangxu Linux
Liangxu Linux
Nov 4, 2025 · Fundamentals

Why a Single‑Threaded Event Loop Can Beat Multithreading: Exploring Coroutines and the Reactor Pattern

This article walks through serial file reading, thread‑based parallelism, event‑driven asynchronous I/O, callbacks, and finally shows how coroutines combined with an event loop provide a synchronous‑style solution that scales efficiently without the drawbacks of massive threading.

Reactor Patternasynchronous programmingcoroutine
0 likes · 13 min read
Why a Single‑Threaded Event Loop Can Beat Multithreading: Exploring Coroutines and the Reactor Pattern
Python Programming Learning Circle
Python Programming Learning Circle
Sep 28, 2025 · Fundamentals

Master Python Async: From Generators and Yield to Async/Await and Real‑World Applications

This comprehensive guide walks you through Python's evolution from simple generators using yield, through two‑way communication with yield expressions and generator delegation with yield from, to modern asynchronous programming with asyncio and async/await, including practical examples, performance comparisons, best practices, and common pitfalls.

GeneratorsPythonasync/await
0 likes · 17 min read
Master Python Async: From Generators and Yield to Async/Await and Real‑World Applications
Liangxu Linux
Liangxu Linux
Aug 19, 2025 · Backend Development

From Callbacks to Promises: Solving Callback Hell with Async Patterns

The article explains how early thread‑blocking models led to the invention of callbacks, why deeply nested callbacks create "callback hell," and how promises/futures and their chaining, as well as coroutines, provide more linear and efficient asynchronous programming for high‑concurrency backend services.

Callbacksasynchronous programmingcallback hell
0 likes · 6 min read
From Callbacks to Promises: Solving Callback Hell with Async Patterns
Architect's Guide
Architect's Guide
Jul 25, 2025 · Backend Development

8 Powerful Ways to Implement Asynchronous Programming in Java

This article explains why asynchronous execution shortens request latency and presents eight practical Java techniques—including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture—complete with code examples and usage tips.

CompletableFutureFutureMessage Queue
0 likes · 13 min read
8 Powerful Ways to Implement Asynchronous Programming in Java
JD Tech Talk
JD Tech Talk
Jul 9, 2025 · Backend Development

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

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

LambdaQueryWrapperSpring Asyncasynchronous programming
0 likes · 9 min read
Boost Java Backend Performance: Combine MyBatis-Plus LambdaQueryWrapper with Spring @Async
AndroidPub
AndroidPub
Jul 8, 2025 · Mobile Development

When to Choose Kotlin Channel Over Flow? A Deep Dive with Code Samples

This article compares Kotlin Channel and Flow, explains their design differences, outlines when to prefer each tool, provides step‑by‑step usage instructions, showcases four channel types, presents real‑world Android examples, and covers advanced patterns and exception handling for robust coroutine communication.

AndroidChannelCoroutines
0 likes · 19 min read
When to Choose Kotlin Channel Over Flow? A Deep Dive with Code Samples
Deepin Linux
Deepin Linux
Jun 20, 2025 · Fundamentals

Unlock C++20: Master Modules, Coroutines, and New Language Features

This article explores the significance of C++20, detailing its major new features such as modules and coroutines, explains how they improve compilation speed, code organization, and asynchronous programming, and provides practical examples and migration strategies for modern C++ development.

C++20CoroutinesModules
0 likes · 41 min read
Unlock C++20: Master Modules, Coroutines, and New Language Features
Su San Talks Tech
Su San Talks Tech
May 19, 2025 · Backend Development

Mastering Asynchronous Architecture: Real‑World Scenarios and Spring Cloud Gateway

This article explains synchronous versus asynchronous processing through a parcel‑delivery example, outlines core async concepts, presents common async techniques such as message queues, event‑driven design and non‑blocking I/O, and demonstrates practical implementations with Spring Cloud Gateway, Netty, ELK‑Kafka pipelines, and CompletableFuture batch processing.

Java concurrencyMessage QueueMicroservices
0 likes · 17 min read
Mastering Asynchronous Architecture: Real‑World Scenarios and Spring Cloud Gateway
JavaScript
JavaScript
May 7, 2025 · Frontend Development

Why Promise.allSettled Beats Promise.all for Robust Async Handling

Promise.allSettled enhances JavaScript concurrency by waiting for every promise to settle—whether fulfilled or rejected—so developers can retrieve all results and handle errors more flexibly, unlike Promise.all which aborts on the first rejection.

Error HandlingJavaScriptPromise.allSettled
0 likes · 4 min read
Why Promise.allSettled Beats Promise.all for Robust Async Handling
JavaScript
JavaScript
May 2, 2025 · Frontend Development

Mastering Async/Await: Turn JavaScript Asynchronous Code into Synchronous‑Style Logic

This article walks through the evolution of JavaScript asynchronous programming—from callback hell to promises and finally async/await—explaining how async/await works, when true synchronous execution is needed, and providing practical techniques and code examples for clean, maintainable async code.

Code ExamplesJavaScriptasync/await
0 likes · 6 min read
Mastering Async/Await: Turn JavaScript Asynchronous Code into Synchronous‑Style Logic
php Courses
php Courses
Apr 23, 2025 · Backend Development

Understanding Python Coroutines and Asyncio: Concepts, Framework, and Best Practices

This article explains the fundamentals of Python coroutines and the asyncio library, covering basic concepts, key components, practical examples, advanced techniques such as mixing with threads, cancellation handling, performance optimizations, and common troubleshooting tips for asynchronous programming.

Pythonasynchronous programmingasyncio
0 likes · 9 min read
Understanding Python Coroutines and Asyncio: Concepts, Framework, and Best Practices
FunTester
FunTester
Apr 9, 2025 · Backend Development

Understanding Future and CompletableFuture in Java for Asynchronous Programming

This article explains the concepts, differences, and practical usage of Java's Future and CompletableFuture for asynchronous programming, highlighting their blocking behavior, task composition, exception handling, and suitable scenarios in performance testing and complex test workflows, with detailed code examples.

CompletableFutureFutureJava
0 likes · 14 min read
Understanding Future and CompletableFuture in Java for Asynchronous Programming
Code Mala Tang
Code Mala Tang
Jan 26, 2025 · Fundamentals

Master Python Async: Boost Performance with asyncio, async/await, and Tasks

This guide explains Python asynchronous programming using the asyncio library, covering async functions, coroutine objects, the event loop, await syntax, task creation, and concurrent execution with asyncio.run, create_task, and gather to improve I/O‑bound performance.

Pythonasync/awaitasynchronous programming
0 likes · 7 min read
Master Python Async: Boost Performance with asyncio, async/await, and Tasks
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 25, 2025 · Backend Development

Mastering CompletableFuture in Java: Basics, Advanced Features, and Best Practices

This comprehensive guide introduces Java's CompletableFuture, explains its advantages over the traditional Future API, demonstrates how to create and compose asynchronous tasks, manage thread pools, handle timeouts and cancellations, and apply robust exception handling techniques for reliable concurrent programming.

CompletableFutureException HandlingFuture
0 likes · 16 min read
Mastering CompletableFuture in Java: Basics, Advanced Features, and Best Practices
Deepin Linux
Deepin Linux
Jan 13, 2025 · Backend Development

C++ Timers in Asynchronous Programming: Implementation, Optimization Techniques, and Real‑World Case Study

This article explains why C++ timers are essential for asynchronous programming, presents three implementation approaches—including a simple thread‑chrono version, a Boost.Asio based timer, and a C++11 atomic/condition‑variable design—offers practical optimization tips such as precise intervals, thread‑pool reuse, efficient callbacks, and memory management, and demonstrates their impact with a network‑server case study comparing naïve and optimized solutions.

Boost.AsioC++Thread
0 likes · 22 min read
C++ Timers in Asynchronous Programming: Implementation, Optimization Techniques, and Real‑World Case Study
JD Tech Talk
JD Tech Talk
Dec 23, 2024 · Backend Development

Asynchronous Timeout Implementation for CompletableFuture in JDK 8

This article proposes an asynchronous timeout implementation for CompletableFuture in JDK 8, addressing the lack of built-in timeout interruption capabilities and providing a solution for precise task timeout control.

Backend DevelopmentCompletableFutureJDK 8
0 likes · 10 min read
Asynchronous Timeout Implementation for CompletableFuture in JDK 8
Java Tech Enthusiast
Java Tech Enthusiast
Dec 12, 2024 · Backend Development

Java CompletableFuture: Asynchronous Programming Guide

Java's CompletableFuture, introduced in Java 8, replaces the blocking Future with a rich, non‑blocking API that supports asynchronous task creation, result retrieval via get/join, chaining callbacks, exception handling, task combination (AND/OR, allOf/anyOf), and recommends custom executors, timeouts, and proper saturation policies.

CompletableFutureJavaasynchronous programming
0 likes · 16 min read
Java CompletableFuture: Asynchronous Programming Guide
Tencent Cloud Developer
Tencent Cloud Developer
Nov 19, 2024 · Backend Development

Ten Common Interface Performance Optimization Techniques

Ten practical techniques—early validation, batch queries, asynchronous processing, parallel execution, caching, connection pooling, response compression, message‑queue decoupling, security best practices, and reusable design patterns—collectively reduce latency, boost throughput, and improve scalability of high‑concurrency interfaces.

Design PatternsGoMessage Queue
0 likes · 29 min read
Ten Common Interface Performance Optimization Techniques
JD Tech Talk
JD Tech Talk
Aug 12, 2024 · Backend Development

Designing High‑Concurrency Systems: From Single‑Machine Optimizations to Distributed Architecture

This article explains how to build high‑concurrency systems by analyzing single‑machine hardware and code optimizations, clarifying multithreading versus asynchronous methods, and then scaling horizontally and vertically with caching, partitioning, and distributed inventory management to achieve stable, performant services for large‑scale e‑commerce workloads.

Backend Architectureasynchronous programminghigh concurrency
0 likes · 18 min read
Designing High‑Concurrency Systems: From Single‑Machine Optimizations to Distributed Architecture
JD Cloud Developers
JD Cloud Developers
Aug 12, 2024 · Backend Development

Mastering High‑Concurrency: From Thread Pitfalls to Distributed Inventory Architecture

This article explores the three‑high requirements of modern internet systems, compares multithreading with asynchronous methods, and presents a practical, partition‑based inventory‑deduction architecture that leverages Redis caching, MySQL sharding, and asynchronous updates to achieve scalable high‑concurrency performance.

Distributed Systemsasynchronous programminghigh concurrency
0 likes · 19 min read
Mastering High‑Concurrency: From Thread Pitfalls to Distributed Inventory Architecture
Su San Talks Tech
Su San Talks Tech
Jun 30, 2024 · Backend Development

How to Ensure Transaction Rollback Across Asynchronous Threads in Spring

This article explains how to guarantee that when any asynchronous thread fails during a large Excel import, the main thread can roll back all related transactions, covering the limitations of @Transactional and @Async, thread‑local propagation, and practical solutions using Future, CompletableFuture, custom ForkJoinPool, and manual transaction management.

Excel ImportJavaasynchronous programming
0 likes · 20 min read
How to Ensure Transaction Rollback Across Asynchronous Threads in Spring
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 28, 2024 · Fundamentals

Handcrafting a Minimal Kotlin Coroutine Implementation

This article analyzes the shortcomings of existing Kotlin coroutine tutorials and presents a step‑by‑step guide to building a lightweight coroutine framework from scratch, covering thread basics, CoroutineScope, launch, delay, resume, state‑machine logic, withContext, async, and Deferred with complete code examples.

CoroutinesCustom ImplementationKotlin
0 likes · 15 min read
Handcrafting a Minimal Kotlin Coroutine Implementation
Open Source Tech Hub
Open Source Tech Hub
May 20, 2024 · Backend Development

Master Asynchronous PHP with AMPHP: Boost Performance and Concurrency

This article explains asynchronous programming concepts for PHP, introduces the lightweight AMPHP library and its coroutine‑based event loop, outlines core technologies, common use cases, installation steps, required PHP version, and provides practical code examples for building non‑blocking, high‑throughput applications.

AmpHPPHPasynchronous programming
0 likes · 9 min read
Master Asynchronous PHP with AMPHP: Boost Performance and Concurrency
37 Interactive Technology Team
37 Interactive Technology Team
Feb 21, 2024 · Fundamentals

Deconstructing Asynchronous Programming

The article breaks down modern asynchronous programming by examining four core models—callbacks, Promises, reactive observer patterns, and message‑driven architectures—explaining their mechanics, pros and cons, and providing JavaScript/Dart examples and system diagrams to help developers master non‑blocking concurrency.

Callbacksasync/awaitasynchronous programming
0 likes · 26 min read
Deconstructing Asynchronous Programming
Su San Talks Tech
Su San Talks Tech
Feb 18, 2024 · Backend Development

Mastering CompletableFuture: From Basics to RocketMQ Integration

This article explains Java's CompletableFuture, its advantages over the traditional Future API, demonstrates common methods with code examples, and shows how RocketMQ leverages CompletableFuture to coordinate asynchronous disk flush and replica synchronization tasks.

CompletableFutureFutureJava
0 likes · 15 min read
Mastering CompletableFuture: From Basics to RocketMQ Integration
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 19, 2023 · Frontend Development

7 Advanced JavaScript async/await Techniques

This article explains seven advanced JavaScript async/await patterns—including higher‑order functions, concurrency control, recursive processing, asynchronous class initialization, method chaining, event‑loop integration, and streamlined error handling—to help developers write clearer, more maintainable asynchronous code.

Advanced TechniquesError HandlingJavaScript
0 likes · 15 min read
7 Advanced JavaScript async/await Techniques
Python Programming Learning Circle
Python Programming Learning Circle
Dec 15, 2023 · Backend Development

Comprehensive List of Python Libraries for Web Crawling, Web Development, and Related Technologies

This article provides an extensive overview of Python libraries and frameworks for web crawling, HTTP handling, HTML parsing, text processing, asynchronous programming, queue management, cloud execution, WebSocket communication, DNS resolution, computer vision, proxy servers, and popular web frameworks such as Django, Flask, Web2py, Tornado, and CherryPy, helping developers choose appropriate tools for backend development.

asynchronous programming
0 likes · 10 min read
Comprehensive List of Python Libraries for Web Crawling, Web Development, and Related Technologies
Sanyou's Java Diary
Sanyou's Java Diary
Oct 26, 2023 · Backend Development

Master Asynchronous Java: Threads, Futures, CompletableFuture & @Async

Explore the fundamentals and advanced techniques of asynchronous programming in Java, from basic thread creation and thread pools to Future, FutureTask, CompletableFuture, and Spring Boot’s @Async annotation, including practical code examples, event handling, and message queue integration for high‑throughput systems.

CompletableFutureFutureSpring Boot
0 likes · 17 min read
Master Asynchronous Java: Threads, Futures, CompletableFuture & @Async
Liangxu Linux
Liangxu Linux
Sep 29, 2023 · Fundamentals

Why Coroutines Matter: A Beginner’s Guide to Pausable Functions

This article explains what coroutines are, how they differ from ordinary functions by supporting multiple pause points, demonstrates their behavior with Python code and visual diagrams, covers their historical origins, and details low‑level implementation using stack frames and heap allocation for efficient user‑level concurrency.

PythonYieldasynchronous programming
0 likes · 13 min read
Why Coroutines Matter: A Beginner’s Guide to Pausable Functions
macrozheng
macrozheng
Sep 27, 2023 · Backend Development

Master Java CompletableFuture: From Basics to Advanced Async Patterns

This comprehensive guide explains Java's CompletableFuture API, covering its fundamentals, creation methods, chaining operations, exception handling, and best practices for parallel execution, while providing clear code examples and performance tips for building efficient asynchronous workflows in backend development.

CompletableFutureFutureJava
0 likes · 20 min read
Master Java CompletableFuture: From Basics to Advanced Async Patterns
Code Ape Tech Column
Code Ape Tech Column
Sep 22, 2023 · Backend Development

Elegant Ways to Transfer Data Between Parent and Child Threads in Spring Boot

This article introduces four methods—manual setting, TaskDecorator, InheritableThreadLocal, and TransmittableThreadLocal—to propagate contextual data such as user information from a parent thread to child threads in Spring Boot asynchronous execution, providing code examples and practical recommendations.

JavaSpring BootTaskDecorator
0 likes · 13 min read
Elegant Ways to Transfer Data Between Parent and Child Threads in Spring Boot
Sohu Tech Products
Sohu Tech Products
Sep 20, 2023 · Backend Development

Java CompletableFuture Tutorial: Asynchronous Programming and Task Composition

This tutorial explains Java 8's CompletableFuture, showing how to create, compose, and handle asynchronous tasks with methods like supplyAsync, thenApply, allOf, and anyOf, while emphasizing custom thread pools, non‑blocking patterns, and robust exception handling for real‑world concurrent programming.

CompletableFutureException HandlingJava
0 likes · 17 min read
Java CompletableFuture Tutorial: Asynchronous Programming and Task Composition
Su San Talks Tech
Su San Talks Tech
Sep 17, 2023 · Backend Development

Mastering CompletableFuture: From Basics to RocketMQ Integration

Explore how Java's CompletableFuture enhances asynchronous programming by overcoming Future's limitations, learn its core APIs, practical code examples, and see a real-world application in RocketMQ where combined futures streamline message persistence and replication.

Backend DevelopmentCompletableFutureJava
0 likes · 15 min read
Mastering CompletableFuture: From Basics to RocketMQ Integration
vivo Internet Technology
vivo Internet Technology
Apr 19, 2023 · Fundamentals

Coroutines and Their Implementation in Tars C++

The article introduces coroutine fundamentals and classifications, then explains how the Tars C++ framework (v3.0.0) implements stackful, symmetric coroutines using Boost.Context for user‑mode context switching and an epoll‑driven scheduler that manages coroutine lifecycles, states, and operations such as go, yield, sleep, and put.

C++SchedulerTars
0 likes · 13 min read
Coroutines and Their Implementation in Tars C++
MaGe Linux Operations
MaGe Linux Operations
Feb 18, 2023 · Backend Development

8 Powerful Ways to Implement Asynchronous Programming in Java

This article explains why asynchronous execution improves latency in common scenarios like sending SMS or emails, and presents eight Java techniques—including threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, third‑party utilities, and Guava—to implement robust asynchronous programming.

CompletableFutureFutureMessage Queue
0 likes · 14 min read
8 Powerful Ways to Implement Asynchronous Programming in Java
FunTester
FunTester
Feb 7, 2023 · Backend Development

Turning Asynchronous Calls into Synchronous Responses with CompletableFuture in Java

This article demonstrates how to convert multiple asynchronous queries into a synchronous response using Java's CompletableFuture, providing step‑by‑step code examples in both Java and Groovy, explaining execution flow, timeout handling, and practical considerations for WebSocket‑like scenarios.

Backend DevelopmentCompletableFutureJava
0 likes · 5 min read
Turning Asynchronous Calls into Synchronous Responses with CompletableFuture in Java
Node Underground
Node Underground
Sep 26, 2022 · Backend Development

Mastering Node.js: Architecture, APIs, and the Event Loop Explained

This comprehensive guide explores Node.js’s architecture, core APIs, global variables, built‑in modules, function styles, the event‑loop mechanics, task scheduling, next‑tick and microtasks, libuv’s role, and strategies for off‑loading work, providing developers with a deep understanding of how Node.js runs JavaScript efficiently.

Backend DevelopmentNode.jsasynchronous programming
0 likes · 23 min read
Mastering Node.js: Architecture, APIs, and the Event Loop Explained
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 18, 2022 · Backend Development

Java Asynchronous Programming: Five Implementation Methods Explained

This article introduces the concept of asynchronous programming in Java, compares it with synchronous execution, and provides detailed examples of five implementation approaches—thread creation, thread pool with Future, CompletableFuture, SpringBoot @Async, and Guava ListenableFuture—complete with code snippets and usage guidelines.

CompletableFutureFutureGuava
0 likes · 9 min read
Java Asynchronous Programming: Five Implementation Methods Explained
Python Programming Learning Circle
Python Programming Learning Circle
Aug 20, 2022 · Fundamentals

Understanding Python Asyncio: Core Concepts, Event Loop Mechanics, and Performance Comparison

This article introduces Python's asyncio library, explains the fundamentals of coroutines, tasks, and the event loop, compares synchronous and asynchronous code execution with practical examples, and demonstrates how asynchronous programming can significantly improve performance in I/O‑bound scenarios.

asynchronous programmingconcurrencyevent loop
0 likes · 10 min read
Understanding Python Asyncio: Core Concepts, Event Loop Mechanics, and Performance Comparison
Su San Talks Tech
Su San Talks Tech
Jul 28, 2022 · Backend Development

Asynchronous Java Programming: Threads, Futures, CompletableFuture & Spring @Async

This article introduces asynchronous programming concepts in Java, explaining how multithreading, Future, FutureTask, CompletableFuture, and Spring's @Async annotation can transform synchronous workflows into high‑throughput, low‑latency solutions, with code examples and practical guidance for implementing each technique.

CompletableFutureJavaSpring Boot
0 likes · 17 min read
Asynchronous Java Programming: Threads, Futures, CompletableFuture & Spring @Async
Tencent Cloud Developer
Tencent Cloud Developer
Jul 7, 2022 · Backend Development

libunifex Structured Concurrency Implementation Analysis

The article thoroughly examines libunifex’s structured concurrency implementation, detailing its DSL‑based execution framework and the three core components—Sender Factory, Sender Adapter, and Receiver—through examples like just(), then(), and sync_wait(), and explains how these pieces combine to build asynchronous pipelines.

Async ExecutionC++CPO
0 likes · 14 min read
libunifex Structured Concurrency Implementation Analysis
Tencent Cloud Developer
Tencent Cloud Developer
Jun 29, 2022 · Fundamentals

C++ Asynchronous Programming: Understanding libunifex and Sender/Receiver Model

This article thoroughly explains libunifex’s sender/receiver model for C++ asynchronous programming, covering its design goals, module structure, pipeline composition, key functions like schedule, then, sync_wait, and the connect/start mechanisms, while demonstrating practical examples and integration with C++20 coroutines and cancellation support.

C++CoroutinesPipeline
0 likes · 16 min read
C++ Asynchronous Programming: Understanding libunifex and Sender/Receiver Model
Tencent Cloud Developer
Tencent Cloud Developer
Jun 2, 2022 · Fundamentals

A Detailed Explanation of Asynchronous Programming

The article explains asynchronous programming by contrasting concurrency, parallelism, and synchronization, illustrates how splitting serial work into independent async tasks can improve performance but introduces resource, locking, and state‑tracking challenges, and offers strategies such as careful task limits, locking, queues, and result monitoring.

ParallelismProgramming Conceptsasynchronous programming
0 likes · 23 min read
A Detailed Explanation of Asynchronous Programming
MaGe Linux Operations
MaGe Linux Operations
Jan 1, 2022 · Backend Development

Mastering Asynchronous Programming: From Sync/Async Basics to I/O Models

This article explains the differences between synchronous and asynchronous execution, explores various I/O programming models—including blocking, non‑blocking, multiplexed, signal‑driven, and asynchronous I/O—and describes how event‑driven architectures apply these concepts in server‑side development.

Event-drivenI/O ModelsPython
0 likes · 12 min read
Mastering Asynchronous Programming: From Sync/Async Basics to I/O Models
Python Programming Learning Circle
Python Programming Learning Circle
Nov 25, 2021 · Backend Development

Understanding Asynchronous Programming, I/O Models, and Event‑Driven Architecture in Python

This article explains the differences between synchronous and asynchronous calls, describes various I/O models—including blocking, non‑blocking, multiplexed, signal‑driven, and asynchronous I/O—and outlines how event‑driven programming works in Python back‑end frameworks such as Tornado, Twisted, Gevent, and asyncio.

Event-drivenI/O ModelsPython
0 likes · 9 min read
Understanding Asynchronous Programming, I/O Models, and Event‑Driven Architecture in Python
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 1, 2021 · Backend Development

Boost Spring Boot Order Calls: Sync vs Async with ThreadPool & CompletableFuture

This article compares synchronous and various asynchronous approaches for invoking multiple third‑party services in a Spring Boot order‑creation workflow, demonstrating plain sequential calls, manual thread creation, thread‑pool execution, CompletionService handling, and CompletableFuture composition, and shows their performance impact through timing results.

CompletableFutureJava concurrencySpring Boot
0 likes · 8 min read
Boost Spring Boot Order Calls: Sync vs Async with ThreadPool & CompletableFuture
Python Programming Learning Circle
Python Programming Learning Circle
Mar 23, 2021 · Fundamentals

Coroutines and Asynchronous Programming in Python

This article explains Python coroutines, their advantages over threads, demonstrates producer‑consumer patterns, introduces the asyncio event loop, shows how to use async/await syntax, and provides examples of asynchronous network requests and a simple aiohttp server for high‑concurrency I/O.

Pythonaiohttpasync/await
0 likes · 13 min read
Coroutines and Asynchronous Programming in Python
Alibaba Cloud Developer
Alibaba Cloud Developer
Feb 23, 2021 · Backend Development

From Synchronous HTTP to CompletableFuture: Mastering Async in Java

This article walks through the evolution of Java asynchronous programming, starting with a simple synchronous HTTP call, examining blocking I/O, exploring JDK NIO and Future, demonstrating callback patterns, addressing callback hell, and showing how CompletableFuture, Vert.x Future, Reactive Streams, and Spring WebFlux provide scalable, non‑blocking solutions.

CompletableFutureJavaReactive Streams
0 likes · 10 min read
From Synchronous HTTP to CompletableFuture: Mastering Async in Java
Senior Brother's Insights
Senior Brother's Insights
Feb 15, 2021 · Backend Development

Understanding Asynchronous Programming vs Multithreading in Java

This article explains the fundamentals of asynchronous programming and multithreading, compares their models with clear examples, discusses callbacks, highlights performance trade‑offs, and offers guidance on choosing the right approach for I/O‑heavy Java applications.

JavaSpring Bootasynchronous programming
0 likes · 8 min read
Understanding Asynchronous Programming vs Multithreading in Java
High Availability Architecture
High Availability Architecture
Jan 25, 2021 · Fundamentals

Understanding .NET async/await Through a Single Diagram

This article uses a single illustrative diagram to explain how .NET's async/await works, detailing thread release during I/O, overlapped I/O via IOCP on Windows, continuation scheduling, and differences on Linux with epoll, highlighting scalability and thread reuse benefits.

IOCPasync/awaitasynchronous programming
0 likes · 6 min read
Understanding .NET async/await Through a Single Diagram
vivo Internet Technology
vivo Internet Technology
Sep 16, 2020 · Fundamentals

JavaScript Event Loop: Macro Tasks vs Micro Tasks Execution Analysis

The article examines JavaScript’s event loop by contrasting macro‑tasks and micro‑tasks, tracing their spec‑defined origins, showing how callbacks, timers, Promises, async/await and generators are queued, and highlighting differences between browsers and Node.js (pre‑v11 vs v11+) that affect execution timing.

Browser ImplementationCallback MechanismMacro Tasks
0 likes · 12 min read
JavaScript Event Loop: Macro Tasks vs Micro Tasks Execution Analysis
Programmer DD
Programmer DD
Aug 24, 2020 · Backend Development

Mastering Java CompletableFuture: 20 Practical Async Examples

This article explains how Java's CompletableFuture and CompletionStage APIs enable asynchronous programming without external libraries, providing detailed explanations and 20 code examples that cover creation, chaining, combining, exception handling, cancellation, and execution with custom executors.

BackendCompletableFutureasynchronous programming
0 likes · 19 min read
Mastering Java CompletableFuture: 20 Practical Async Examples
Node Underground
Node Underground
Jul 26, 2020 · Backend Development

Master Node.js Async Hooks: Decode Execution Contexts & Debug Async Tasks

Node.js’s single‑threaded model relies on an asynchronous continuation framework, and this article explains the core concepts—execution frames, continuations, link points, ready points—and how async_hooks, AsyncLocalStorage, and related APIs can be used to trace, debug, and ensure clean async task handling in backend applications.

Node.jsasync_hooksasynchronous programming
0 likes · 18 min read
Master Node.js Async Hooks: Decode Execution Contexts & Debug Async Tasks
High Availability Architecture
High Availability Architecture
Feb 20, 2020 · Fundamentals

Structured Concurrency in Rust: Concepts, Scope Implementation, and Practical Examples

This article introduces the challenges of traditional concurrency, explains the structured concurrency paradigm, surveys its history and implementations across languages, and provides a detailed Rust example using the task_scope library with Scope, CancelScope, timeout handling, nested scopes, and a practical Happy Eyeballs exercise.

asynchronous programmingcancellationconcurrency
0 likes · 12 min read
Structured Concurrency in Rust: Concepts, Scope Implementation, and Practical Examples
Python Programming Learning Circle
Python Programming Learning Circle
Sep 9, 2019 · Fundamentals

Master Python Coroutines: From Generators to async/await

This article walks through the evolution of Python's coroutine support—from early generator‑based yield/send patterns, through the introduction of @asyncio.coroutine and yield from, to the modern async and await syntax—explaining concepts, execution flow, and providing clear code examples.

PythonYieldasync/await
0 likes · 10 min read
Master Python Coroutines: From Generators to async/await
Wukong Talks Architecture
Wukong Talks Architecture
Apr 28, 2019 · Fundamentals

C# Multithreading Journey (3) – Using the Thread Pool

This article explains how C# thread pools reduce thread‑creation overhead, describes several ways to enqueue work (Task Parallel Library, ThreadPool.QueueUserWorkItem, asynchronous delegates, BackgroundWorker), provides practical code examples, and outlines important considerations such as thread naming, priority, and exception handling.

CTask Parallel LibraryThreadPool
0 likes · 9 min read
C# Multithreading Journey (3) – Using the Thread Pool
Alibaba Cloud Developer
Alibaba Cloud Developer
Feb 28, 2019 · Mobile Development

Why Alibaba’s coobjc Coroutine Framework Is Revolutionizing iOS Asynchronous Programming

Alibaba’s newly open‑sourced coobjc framework brings coroutine‑based async/await, generators, and actor model support to Objective‑C and Swift on iOS, offering cleaner code, better performance, and reduced threading issues compared to traditional block‑based GCD approaches, with detailed design, implementation, and benchmark insights.

asynchronous programmingcoobjccoroutine
0 likes · 12 min read
Why Alibaba’s coobjc Coroutine Framework Is Revolutionizing iOS Asynchronous Programming
Youzan Coder
Youzan Coder
Jan 4, 2019 · Backend Development

Practicing Reactive Architecture and RxJava in Youzan Retail

By adopting an event‑driven reactive architecture and leveraging RxJava’s asynchronous, message‑oriented programming, Youzan Retail decouples services, parallelizes complex initialization and data‑transformation tasks, reduces response time and coupling, and enhances robustness, scalability, and throughput for its rapidly growing retail platform.

JavaRxJavaSystem Design
0 likes · 11 min read
Practicing Reactive Architecture and RxJava in Youzan Retail
MaGe Linux Operations
MaGe Linux Operations
Dec 2, 2018 · Backend Development

Master Python asyncio: From Coroutines to Event Loops Explained

This article introduces Python's asyncio library, explains how coroutines are defined and run, demonstrates event‑loop management with run_until_complete and run_forever, covers callbacks, gathering multiple coroutines, and best practices for closing loops, all illustrated with clear code screenshots.

asynchronous programmingasyncioconcurrency
0 likes · 7 min read
Master Python asyncio: From Coroutines to Event Loops Explained
Architecture Digest
Architecture Digest
Aug 11, 2018 · Backend Development

Understanding Synchronous vs Asynchronous, Blocking vs Non‑Blocking, and Full‑Chain Asynchrony in Java Web Applications

This article explains the differences between synchronous, asynchronous, blocking and non‑blocking execution, illustrates their combinations with real‑world analogies, and provides practical guidance on applying servlet async, Spring MVC async, full‑chain async, HTTP client async and database async techniques to improve Java backend throughput and CPU utilization.

HTTP clientJavaServlet
0 likes · 17 min read
Understanding Synchronous vs Asynchronous, Blocking vs Non‑Blocking, and Full‑Chain Asynchrony in Java Web Applications
JD Tech
JD Tech
Jun 28, 2018 · Backend Development

Asynchronous Programming and Promise Patterns in Backend Systems

This article introduces the concepts of synchronous versus asynchronous calls, explains the challenges of RPC services in large-scale systems, and provides detailed guidance on using polling, callbacks, futures, and CompletableFuture in Java to implement efficient, non‑blocking backend architectures with practical code examples.

BackendFutureJava
0 likes · 18 min read
Asynchronous Programming and Promise Patterns in Backend Systems
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Mar 29, 2017 · Frontend Development

Recap of Frontend Technology Salon Session 1: ES6, Webpack, and Asynchronous Programming

The article recaps the first Frontend Technology Salon, covering ES6 fundamentals, Webpack packaging, and practical ES6 asynchronous programming examples, offering detailed explanations and code demonstrations for frontend developers and highlights common pitfalls and browser compatibility issues.

JavaScriptasynchronous programminges6
0 likes · 5 min read
Recap of Frontend Technology Salon Session 1: ES6, Webpack, and Asynchronous Programming
WeChat Backend Team
WeChat Backend Team
Nov 18, 2016 · Backend Development

How WeChat Scales to Millions with libco: A Deep Dive into C/C++ Coroutines

libco, the high‑performance C/C++ coroutine library powering WeChat’s backend since 2013, enables agile synchronous‑style programming with massive concurrency, offering features like CGI support, shared‑stack mode, hook‑based API interception, and coroutine‑private variables, allowing seamless, non‑intrusive async transformation of hundreds of services.

C++asynchronous programmingcoroutine
0 likes · 10 min read
How WeChat Scales to Millions with libco: A Deep Dive into C/C++ Coroutines
Node Underground
Node Underground
Oct 19, 2016 · Backend Development

Unlock Async/Await in Node.js 7: A Quick Guide to Eliminate Callback Hell

Node.js 7 now supports the async/await syntax, allowing developers to write asynchronous code without callbacks, promises, or generators, and this guide explains how to install Node.js 7, run a simple example, and use the required --harmony-async-await flag while noting its experimental status.

Node.jsasync/awaitasynchronous programming
0 likes · 3 min read
Unlock Async/Await in Node.js 7: A Quick Guide to Eliminate Callback Hell
21CTO
21CTO
Jun 10, 2016 · Frontend Development

How I Cut a 4‑Minute Client Load Time to 2 Seconds: Practical Performance Hacks

This article shares practical techniques—on‑demand fetching, lazy loading, caching, asynchronous operations, merge handling, visual tricks, unit testing, and logging—that transformed a sluggish desktop monitoring client into a fast, stable, and responsive application, reducing startup from minutes to seconds.

C#UI optimizationasynchronous programming
0 likes · 18 min read
How I Cut a 4‑Minute Client Load Time to 2 Seconds: Practical Performance Hacks
21CTO
21CTO
Mar 19, 2016 · Backend Development

How Finagle Powers Twitter’s High‑Volume RPC: Architecture and Code Walkthrough

This article explains how Twitter’s open‑source Finagle framework, built on Netty and written in Scala/Java, provides a fault‑tolerant, protocol‑agnostic RPC layer with load balancing, metrics, tracing, and filters, enabling massive tweet traffic without latency or downtime.

FinagleNettyRPC
0 likes · 11 min read
How Finagle Powers Twitter’s High‑Volume RPC: Architecture and Code Walkthrough