Tagged articles

asynchronous

411 articles · Page 4 of 5
Amap Tech
Amap Tech
Jun 30, 2020 · Backend Development

Practices of Asynchronous and Reactive Technologies in Gaode Yuntu Backend

Gaode Yuntu transformed its backend from a blocking servlet architecture to an asynchronous, event‑driven reactive stack using Vert.x, Spring WebFlux, Project Reactor and OpenResty, achieving a 480% QPS boost, higher resource efficiency, stable latency, and plans for RSocket back‑pressure and domain‑driven design.

JavaPerformance OptimizationReactive Programming
0 likes · 11 min read
Practices of Asynchronous and Reactive Technologies in Gaode Yuntu Backend
Programmer DD
Programmer DD
Jun 20, 2020 · Backend Development

Understanding Synchronous, Asynchronous Calls and Callbacks in Java

This article explains the differences between synchronous and asynchronous method calls, introduces callback mechanisms, and provides complete Java code examples for both sync and async callbacks, helping developers grasp how to design and implement these patterns in backend applications.

BackendCallbackDesign Patterns
0 likes · 14 min read
Understanding Synchronous, Asynchronous Calls and Callbacks in Java
Liangxu Linux
Liangxu Linux
Jun 10, 2020 · Backend Development

Mastering Linux I/O Models: Blocking, Non‑Blocking, and Asynchronous Explained

This article breaks down Linux I/O concepts—including memory, network, and disk I/O—explains the two‑phase request flow, details the web request lifecycle, defines blocking, non‑blocking, synchronous and asynchronous operations, and compares five major I/O models with visual diagrams.

BackendI/Oasynchronous
0 likes · 12 min read
Mastering Linux I/O Models: Blocking, Non‑Blocking, and Asynchronous Explained
Python Programming Learning Circle
Python Programming Learning Circle
Jun 8, 2020 · Backend Development

Understanding Synchronous vs Asynchronous Programming in Python with asyncio and aiohttp

This article explains the limitations of Python's GIL, compares synchronous and asynchronous execution models, introduces asyncio and aiohttp, provides concrete code examples for single and multiple concurrent HTTP requests, and offers solutions for common concurrency errors such as too many file descriptors.

BackendConcurrencyPython
0 likes · 8 min read
Understanding Synchronous vs Asynchronous Programming in Python with asyncio and aiohttp
Open Source Linux
Open Source Linux
Jun 8, 2020 · Fundamentals

Understanding I/O: From Blocking to Asynchronous Models Explained

This article explains the fundamentals of I/O, detailing the two-phase request process, the flow of a web request, and the differences between blocking, non‑blocking, synchronous, and asynchronous I/O models, including select/poll, signal‑driven, and AIO approaches.

I/OLinuxasynchronous
0 likes · 12 min read
Understanding I/O: From Blocking to Asynchronous Models Explained
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 30, 2020 · Backend Development

Understanding Decoupling in Business System Design: Listener, Observer, Async, Scheduling, and Messaging Patterns

The article explains why proper business system design is crucial for low‑coupling, illustrating concepts such as listener and observer patterns, asynchronous execution, scheduled tasks, and message middleware with Java code examples to show how to achieve modular, maintainable back‑end services.

asynchronousdecouplingscheduling
0 likes · 16 min read
Understanding Decoupling in Business System Design: Listener, Observer, Async, Scheduling, and Messaging Patterns
Laravel Tech Community
Laravel Tech Community
May 23, 2020 · Backend Development

Mastering Swoole Timer: tick, after, clear and Advanced Methods Explained

This article provides a detailed guide to Swoole's millisecond‑precision timer API, covering the underlying epoll_wait/setitimer implementation, the static methods tick(), after(), clear() and additional utilities such as clearAll(), info(), list(), stats() and set(), with full syntax, usage examples and code snippets for both synchronous and asynchronous processes.

BackendPHPPerformance
0 likes · 5 min read
Mastering Swoole Timer: tick, after, clear and Advanced Methods Explained
Alibaba Cloud Developer
Alibaba Cloud Developer
May 21, 2020 · Backend Development

Why Reactive Programming Matters: Principles, Benefits & Getting Started

This article explains what reactive programming is, outlines the Reactive Manifesto's four core principles, describes the Reactive Streams standard and its key interfaces, showcases Java code examples with Reactor, and provides practical guidance for adopting reactive architectures in backend systems.

BackpressureJavaReactive Programming
0 likes · 13 min read
Why Reactive Programming Matters: Principles, Benefits & Getting Started
58 Tech
58 Tech
May 20, 2020 · Backend Development

Design and Implementation of an Asynchronous PHP Microservice Framework Based on Swoole

This article presents the design, reconstruction, and deployment of an asynchronous, event‑driven PHP microservice framework built on Swoole, detailing its background, technical objectives, serialization, RPC architecture, coroutine handling, service governance, and performance improvements for high‑concurrency rental‑business applications.

BackendRPCasynchronous
0 likes · 10 min read
Design and Implementation of an Asynchronous PHP Microservice Framework Based on Swoole
JavaEdge
JavaEdge
May 6, 2020 · Backend Development

Why Netty Powers High‑Performance Java Network Applications

Netty, a Java‑based asynchronous event‑driven framework created in 2008, offers a unified API for multiple transports, a powerful reactor thread model, built‑in codecs, extensive protocol support, high throughput, low latency, robust error handling, and a vibrant ecosystem adopted by major tech companies and open‑source projects.

High PerformanceJavaNetty
0 likes · 4 min read
Why Netty Powers High‑Performance Java Network Applications
vivo Internet Technology
vivo Internet Technology
May 6, 2020 · Frontend Development

In‑Depth Implementation of JavaScript Promise: Prototype Methods, Error Handling, and Finally

This article walks through a step‑by‑step construction of a fully‑featured JavaScript Promise, detailing prototype methods, chainable then, reject handling, catch alias, and a standards‑compliant finally implementation, while illustrating each stage with code snippets, flowcharts, and animated visualizations.

Promiseasynchronouserror handling
0 likes · 10 min read
In‑Depth Implementation of JavaScript Promise: Prototype Methods, Error Handling, and Finally
Java Captain
Java Captain
Apr 9, 2020 · Backend Development

Introduction to RabbitMQ: Overview, Use Cases, Advantages, and Drawbacks

This article introduces RabbitMQ, explains its core concepts and AMQP protocol, outlines common scenarios such as decoupling, asynchronous processing, and traffic shaping, and discusses the benefits and challenges of integrating a message queue into backend architectures.

AMQPRabbitMQasynchronous
0 likes · 8 min read
Introduction to RabbitMQ: Overview, Use Cases, Advantages, and Drawbacks
vivo Internet Technology
vivo Internet Technology
Mar 25, 2020 · Frontend Development

Understanding and Implementing JavaScript Promise: From Basic Construction to State Management

This article walks developers through building a functional JavaScript Promise from scratch, starting with a minimal callback list, adding chainable then calls, introducing a micro‑task delay to handle early resolves, and finally implementing state management so callbacks added after fulfillment still execute correctly.

ImplementationPromiseasynchronous
0 likes · 10 min read
Understanding and Implementing JavaScript Promise: From Basic Construction to State Management
Big Data Technology & Architecture
Big Data Technology & Architecture
Mar 19, 2020 · Backend Development

Design and Implementation of a Transactional Message Module for Distributed Systems Using Spring and RabbitMQ

This article details a lightweight, low‑intrusion transactional message solution for microservices, covering design principles, database schema, Spring‑based implementation with RabbitMQ integration, compensation mechanisms, scheduling, and testing, illustrating how to achieve reliable asynchronous messaging while maintaining eventual consistency.

RabbitMQSpringasynchronous
0 likes · 18 min read
Design and Implementation of a Transactional Message Module for Distributed Systems Using Spring and RabbitMQ
Python Programming Learning Circle
Python Programming Learning Circle
Mar 3, 2020 · Backend Development

Event‑Driven Programming and I/O Models in Python

This article explains the principles of event‑driven programming, compares traditional linear execution with event‑driven models, and details various I/O models—including blocking, non‑blocking, multiplexing, signal‑driven, and asynchronous—providing Python code examples and discussing their advantages and use cases.

PythonSELECTasynchronous
0 likes · 26 min read
Event‑Driven Programming and I/O Models in Python
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.

@AsyncServletSpring Boot
0 likes · 11 min read
Using Asynchronous Requests and Calls in Spring Boot
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 24, 2020 · Backend Development

Netty Overview: Architecture, Features, and Performance

This article provides a comprehensive introduction to Netty, covering its core concepts, architecture, threading model, zero‑copy mechanisms, serialization options, comparison with JDK NIO and Tomcat, and practical usage scenarios for building high‑performance asynchronous network applications in Java.

High PerformanceNIONetty
0 likes · 35 min read
Netty Overview: Architecture, Features, and Performance
Programmer DD
Programmer DD
Jan 10, 2020 · Backend Development

Unlocking Java’s FutureTask: A Deep Dive into Asynchronous Programming

This article explains how to use JDK’s Future and FutureTask for asynchronous computation, walks through their APIs, internal state machine, core methods like run(), get(), cancel(), and highlights their limitations while introducing CompletableFuture as a more powerful alternative.

CompletableFutureFutureTaskJDK
0 likes · 25 min read
Unlocking Java’s FutureTask: A Deep Dive into Asynchronous Programming
macrozheng
macrozheng
Jan 9, 2020 · Backend Development

Unlock High‑Performance Networking: Understanding Netty’s Core Architecture

This article explains how Netty, an asynchronous event‑driven framework built on Java NIO, powers high‑throughput RPC systems by detailing its core components, data handling with ByteBuf, and practical client‑server examples, offering developers a clear roadmap for building efficient distributed services.

BootstrapByteBufJava
0 likes · 17 min read
Unlock High‑Performance Networking: Understanding Netty’s Core Architecture
Java Captain
Java Captain
Dec 23, 2019 · Backend Development

Using Asynchronous Requests and Calls in Spring Boot

This article explains how to implement asynchronous requests and asynchronous method calls in Spring Boot, covering servlet‑based async, Callable, WebAsyncTask, DeferredResult, @Async annotation, thread‑pool configuration, common pitfalls, and the differences between async request and async call.

JavaServletSpring Boot
0 likes · 11 min read
Using Asynchronous Requests and Calls in Spring Boot
Architecture Digest
Architecture Digest
Nov 7, 2019 · Backend Development

Designing High‑Availability, High‑Performance Backend Architecture for Amap’s Real‑Time Services

This article explains how Amap (Gaode) handles billions of daily requests with sub‑millisecond latency by redesigning its gateway layer, adopting full‑asynchronous pipeline architecture, leveraging reactive frameworks like Vert.x and WebFlux, aggregating APIs, and implementing a unit‑based routing solution that paves the way for distributed sidecar and service‑mesh deployments.

Performanceasynchronousgateway
0 likes · 9 min read
Designing High‑Availability, High‑Performance Backend Architecture for Amap’s Real‑Time Services
Tencent Cloud Developer
Tencent Cloud Developer
Oct 15, 2019 · Backend Development

Improving System Performance and Availability with Reactive Programming: The Flower Framework

The Flower framework, built on Akka Actors, demonstrates how reactive programming’s responsive, resilient, elastic, and message‑driven principles can replace traditional blocking thread models with asynchronous, non‑blocking I/O, allowing a few container threads to handle many requests, doubling throughput, halving latency, and markedly improving system availability.

AkkaFlower frameworkReactive Programming
0 likes · 11 min read
Improving System Performance and Availability with Reactive Programming: The Flower Framework
Sohu Tech Products
Sohu Tech Products
Aug 7, 2019 · Frontend Development

Understanding JavaScript Promises: Concepts, API, and Practical Examples

This article explains JavaScript Promises, covering their purpose in avoiding callback hell, the core API (constructor, then, catch, static methods), practical code examples, chaining behavior, comparison with callbacks and async/await, and even a custom implementation, providing a comprehensive guide for frontend developers.

CallbackJavaScriptPromise
0 likes · 25 min read
Understanding JavaScript Promises: Concepts, API, and Practical Examples
Java Captain
Java Captain
Jul 6, 2019 · Fundamentals

Understanding Java IO: BIO, NIO, and AIO with Code Examples

This article explains Java's Input/Output mechanisms, detailing the differences between Blocking IO (BIO), Non‑blocking IO (NIO), and Asynchronous IO (AIO), their synchronization models, suitable scenarios, and provides practical code samples for reading and writing files using each approach.

AIOBIOIO
0 likes · 10 min read
Understanding Java IO: BIO, NIO, and AIO with Code Examples
MaoDou Frontend Team
MaoDou Frontend Team
Jun 18, 2019 · Frontend Development

How a Joke Sorting Algorithm Reveals JavaScript’s Event Loop Mechanics

Discover how a playful setTimeout‑based sorting trick leverages JavaScript’s event loop to produce correct ordering, while explaining the core concepts of synchronous vs asynchronous tasks, the execution stack, task queue, and why this method isn’t practical for large datasets.

JavaScriptSorting Algorithmasynchronous
0 likes · 6 min read
How a Joke Sorting Algorithm Reveals JavaScript’s Event Loop Mechanics
Xianyu Technology
Xianyu Technology
May 17, 2019 · Backend Development

Dart Backend Practices at Xianyu: Glue Layer Development

Xianyu’s tech team adopted Dart for a backend glue layer that bridges frontend Flutter clients and Java domain services, leveraging Dart’s familiar syntax, strong async/await support, isolates for rapid hot‑replaceable development, and parallel Future.wait calls to achieve high‑performance, low‑latency APIs with fast deployment.

BackendDartXianyu
0 likes · 12 min read
Dart Backend Practices at Xianyu: Glue Layer Development
Wukong Talks Architecture
Wukong Talks Architecture
Apr 30, 2019 · Fundamentals

C# Multithreading Journey (4): Introduction to the Asynchronous Programming Model (APM)

This article introduces the Asynchronous Programming Model (APM) in C#, demonstrating how to use delegates and BeginInvoke/EndInvoke to run time‑consuming operations concurrently, includes sample code, explains delegate generation, and discusses practical considerations such as IAsyncResult handling and callback execution.

APMC++Delegates
0 likes · 8 min read
C# Multithreading Journey (4): Introduction to the Asynchronous Programming Model (APM)
MaGe Linux Operations
MaGe Linux Operations
Apr 28, 2019 · Fundamentals

Master Linux I/O Models: From Blocking to Asynchronous Explained

This article explains the five Linux I/O models—blocking, non‑blocking, I/O multiplexing, signal‑driven, and asynchronous—using a fishing metaphor, shows how Java’s BIO/NIO/AIO map to OS mechanisms, and clarifies why most of them are still synchronous despite different implementations.

I/OLinuxSELECT
0 likes · 12 min read
Master Linux I/O Models: From Blocking to Asynchronous Explained
Wukong Talks Architecture
Wukong Talks Architecture
Apr 27, 2019 · Frontend Development

Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages

This article explains the fundamentals of AJAX, including its definition, the need for asynchronous communication, how form submissions work, the XMLHttpRequest object methods and properties, jQuery implementations, advantages, disadvantages, and typical application and non‑application scenarios, with complete code examples.

AJAXJavaScriptXMLHttpRequest
0 likes · 15 min read
Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages
Wukong Talks Architecture
Wukong Talks Architecture
Apr 25, 2019 · Frontend Development

Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages

This article explains the concept of AJAX, why asynchronous communication is needed, how to submit forms and handle server responses using raw XMLHttpRequest and jQuery, compares GET and POST methods, and outlines the benefits, drawbacks, and suitable scenarios for AJAX in web development.

AJAXJavaScriptXMLHttpRequest
0 likes · 12 min read
Understanding AJAX: Principles, Form Submission, XMLHttpRequest, jQuery Implementation, Advantages and Disadvantages
Java Architecture Diary
Java Architecture Diary
Mar 8, 2019 · Backend Development

Boost Java Spring Boot Performance with Mica-Log4j2’s Asynchronous Logging

This guide explains how Mica-Log4j2 provides environment‑specific log configurations, high‑throughput asynchronous logging via Disruptor, replaces System.out/err in non‑dev modes, and shows Maven/Gradle dependencies, system settings, custom log levels, file structures, and open‑source resources for Spring Boot applications.

JavaSpring Bootasynchronous
0 likes · 3 min read
Boost Java Spring Boot Performance with Mica-Log4j2’s Asynchronous Logging
MaoDou Frontend Team
MaoDou Frontend Team
Feb 25, 2019 · Frontend Development

Master JavaScript Promises: From Basics to Advanced API

This article explains what JavaScript Promises are, their immutable states, advantages and drawbacks, details the constructor, instance and static methods, provides code examples, and walks through the source implementations of resolve, reject, all, and race.

APIJavaScriptPromise
0 likes · 8 min read
Master JavaScript Promises: From Basics to Advanced API
360 Quality & Efficiency
360 Quality & Efficiency
Jan 18, 2019 · Backend Development

Understanding Asynchronous Programming in Python with Tornado and asyncio

This article explains the fundamentals of asynchronous programming, contrasting blocking, non‑blocking, synchronous and asynchronous execution, and demonstrates how to implement async behavior in Python using Tornado, asyncio, and aiohttp, including coroutine definitions, yield usage, and practical code examples.

Pythonaiohttpasynchronous
0 likes · 12 min read
Understanding Asynchronous Programming in Python with Tornado and asyncio
Qunar Tech Salon
Qunar Tech Salon
Jan 3, 2019 · Backend Development

Understanding RxJava: Benefits, Use Cases, and Practical Guidance

This article explains RxJava’s origins, core concepts, advantages, common operators, threading strategies, and practical experiences, illustrating how adopting RxJava with Java 8, Lambda, and Stream API can simplify complex, rapidly changing backend systems and improve code readability, maintainability, and performance.

JavaReactive ProgrammingRxJava
0 likes · 13 min read
Understanding RxJava: Benefits, Use Cases, and Practical Guidance
Architects Research Society
Architects Research Society
Nov 25, 2018 · Operations

eBay Scalability Best Practices: Functional Partitioning, Horizontal Sharding, Asynchronous Decoupling, and More

The article outlines eBay's key scalability best practices—including functional partitioning, horizontal sharding, avoiding distributed transactions, aggressive asynchronous decoupling, moving work to async pipelines, pervasive virtualization, and intelligent caching—to achieve linear or better resource usage as load grows.

Cachingasynchronousoperations
0 likes · 14 min read
eBay Scalability Best Practices: Functional Partitioning, Horizontal Sharding, Asynchronous Decoupling, and More
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Oct 26, 2018 · Backend Development

Six Common Backend Performance Optimization Techniques

Backend performance can be significantly improved through six key strategies—caching, hardware upgrades, business‑logic optimization, service‑oriented architecture, asynchronous processing, and leveraging search engines—each explained with practical considerations and real‑world examples to enhance system throughput and reliability.

Optimizationasynchronousservice-oriented
0 likes · 4 min read
Six Common Backend Performance Optimization Techniques
UC Tech Team
UC Tech Team
Oct 19, 2018 · Frontend Development

Understanding Unexpected Behaviors of console.log in Browsers

This article examines why console.log may produce surprising results in different Chrome DevTools states, explains the underlying asynchronous I/O handling, and offers practical debugging advice for developers working with JavaScript in the browser.

JavaScriptasynchronousbrowser
0 likes · 5 min read
Understanding Unexpected Behaviors of console.log in Browsers
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 13, 2018 · Backend Development

Why Netty Dominates Modern High‑Performance Network Applications

Netty is a high‑performance, asynchronous, event‑driven NIO framework that supports TCP, UDP and file transfer, offering robust, customizable, and scalable networking solutions widely adopted across internet, big‑data, gaming and telecom industries, with detailed analysis of its architecture, I/O model, threading, serialization, reliability, traffic shaping, graceful shutdown, and security features.

High PerformanceNIONetty
0 likes · 21 min read
Why Netty Dominates Modern High‑Performance Network Applications
Yuewen Frontend Team
Yuewen Frontend Team
Sep 28, 2018 · Frontend Development

Master JavaScript Generators: Control Iteration and Boost Your Code

This article explains ES6 JavaScript generators, covering their syntax, how they differ from regular iterators, the role of the yield keyword, available generator methods, and practical examples such as custom generators, random number streams, throttling, Fibonacci sequences, and integrating generators with HTML to simplify iterative tasks.

IteratorJavaScriptasynchronous
0 likes · 13 min read
Master JavaScript Generators: Control Iteration and Boost Your Code
MaGe Linux Operations
MaGe Linux Operations
Aug 23, 2018 · Backend Development

Inside Tornado’s IOLoop: Callbacks, Futures & Coroutines Explained

This article provides a detailed examination of Tornado’s IOLoop core, explaining its callback handling, timer management, I/O event loop, and the pivotal role of Future objects, while also demystifying the implementation of gen.coroutine and offering practical code examples to illustrate asynchronous execution.

FutureIOLoopPython
0 likes · 11 min read
Inside Tornado’s IOLoop: Callbacks, Futures & Coroutines Explained
Xianyu Technology
Xianyu Technology
Aug 13, 2018 · Backend Development

Reactive Programming Practice in Xianyu: RxJava Refactoring and Performance Evaluation

By refactoring Xianyu’s key features with RxJava 2.0, the team replaced blocking logging, HTTP, RPC, and cache operations with asynchronous streams, cutting response time by half, boosting CPU utilization to 97%, raising throughput about 30%, and demonstrating a unified, core‑size thread‑pool model.

BackendPerformanceReactive Programming
0 likes · 9 min read
Reactive Programming Practice in Xianyu: RxJava Refactoring and Performance Evaluation
dbaplus Community
dbaplus Community
Jun 5, 2018 · Backend Development

Designing Highly Available Service Layers: Stateless, Timeouts, Async & Idempotency

This article explains how to build a highly available service layer by vertically splitting business domains, adopting stateless architecture, configuring timeout policies, using asynchronous calls with message queues, ensuring idempotent operations, and applying service degradation techniques to handle traffic spikes and failures.

BackendService Layerasynchronous
0 likes · 13 min read
Designing Highly Available Service Layers: Stateless, Timeouts, Async & Idempotency
ITFLY8 Architecture Home
ITFLY8 Architecture Home
May 11, 2018 · Backend Development

Understanding OneMM Message Middleware Architecture and ActiveMQ Configuration

This article explains the core concepts, component diagram, message flow, cross‑center sequencing, high‑availability design, and detailed ActiveMQ configuration for OneMM message‑oriented middleware, highlighting how asynchronous and decoupled communication improves system efficiency and scalability.

ActiveMQMessage Middlewareasynchronous
0 likes · 15 min read
Understanding OneMM Message Middleware Architecture and ActiveMQ Configuration
JD Tech
JD Tech
May 10, 2018 · Backend Development

Asynchronous Programming and Promise Patterns in Backend Services

This article introduces the concepts of synchronous vs asynchronous calls, explains RPC and I/O models, and demonstrates how to use callback, Future/Promise, and ReactiveX styles with Java's CompletableFuture and Guava's ListenableFuture to improve performance and scalability of backend services.

BackendConcurrencyFuture
0 likes · 17 min read
Asynchronous Programming and Promise Patterns in Backend Services
Java High-Performance Architecture
Java High-Performance Architecture
May 5, 2018 · Backend Development

Why Spring Boot 2.0 Switched to Lettuce: Key Features and Benefits

This article explains why Spring Boot 2.0 replaced the Jedis Redis client with Lettuce, highlighting Lettuce’s netty‑based architecture, thread‑safe shared connections, asynchronous and reactive support, seamless Redis Sentinel and Cluster integration, SSL, streaming API, and provides code examples for both blocking and async usage.

JavaLettuceNetty
0 likes · 4 min read
Why Spring Boot 2.0 Switched to Lettuce: Key Features and Benefits
Java Captain
Java Captain
Nov 30, 2017 · Fundamentals

Module Interaction: Synchronous, Asynchronous, and Callback Calls in Java

This article explains the three main ways modules can call each other—synchronous calls, asynchronous calls, and callbacks—illustrates each with Java code examples, and discusses when to use each approach for flexible and non‑blocking program design.

CallbackDesign PatternsSynchronous
0 likes · 10 min read
Module Interaction: Synchronous, Asynchronous, and Callback Calls in Java
21CTO
21CTO
Nov 12, 2017 · Backend Development

Why Nginx’s Modular Architecture Powers High‑Performance Web Serving

This article explains Nginx’s modular architecture, core, standard and optional HTTP modules, mail service and third‑party extensions, then details its multi‑process and asynchronous non‑blocking request handling, event‑driven model, master‑worker design, and inter‑process communication, providing a solid foundation for deeper source‑code study.

BackendNginxasynchronous
0 likes · 8 min read
Why Nginx’s Modular Architecture Powers High‑Performance Web Serving
Architecture Digest
Architecture Digest
Nov 12, 2017 · Backend Development

Nginx Architecture Overview: Modular Design, Request Processing, and Event‑Driven Model

This article explains Nginx’s modular architecture, detailing core, HTTP, mail and third‑party modules, its multi‑process and asynchronous non‑blocking request handling, the event‑driven model with I/O multiplexing, and the master‑worker process interaction that together enable high‑performance web serving.

Backendasynchronousevent-driven
0 likes · 8 min read
Nginx Architecture Overview: Modular Design, Request Processing, and Event‑Driven Model
Hujiang Technology
Hujiang Technology
Nov 1, 2017 · Backend Development

Understanding and Implementing Promisify in JavaScript

Promisify converts Node‑style callback functions into Promise‑based ones by ensuring the callback is the last argument and its first parameter is an error, enabling cleaner asynchronous code with examples, implementation details, and optimizations for JavaScript developers.

CallbackJavaScriptNode.js
0 likes · 5 min read
Understanding and Implementing Promisify in JavaScript
BiCaiJia Technology Team
BiCaiJia Technology Team
Sep 9, 2017 · Frontend Development

Master ES6 Promises: From Basics to Advanced Chaining Techniques

This article introduces ES6 Promise, explains its constructor, resolve and reject mechanisms, demonstrates chaining with then, error handling with catch, and shows advanced utilities like Promise.all and Promise.race, all illustrated with clear code examples and visual diagrams for JavaScript developers.

Promiseasynchronouses6
0 likes · 10 min read
Master ES6 Promises: From Basics to Advanced Chaining Techniques
Node Underground
Node Underground
Sep 1, 2017 · Backend Development

Unlock Node.js Async Hooks to Trace Asynchronous Calls Seamlessly

Since Node.js v8.1.0, the experimental async_hooks module lets developers automatically monitor asynchronous operations, offering a cleaner alternative to legacy hacks like domain or async-listener for tracing and debugging complex async flows.

Node.jsasync_hooksasynchronous
0 likes · 3 min read
Unlock Node.js Async Hooks to Trace Asynchronous Calls Seamlessly
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Aug 8, 2017 · Fundamentals

Understanding Network I/O: Blocking, Non‑Blocking, Async & Multiplexing Explained

This article revisits fundamental network I/O concepts, clarifying the differences between blocking, non‑blocking, synchronous, asynchronous, and multiplexed models through clear explanations and illustrative diagrams, helping developers build a solid mental model of how data moves between processes and the kernel.

I/O multiplexingasynchronousblocking
0 likes · 8 min read
Understanding Network I/O: Blocking, Non‑Blocking, Async & Multiplexing Explained
21CTO
21CTO
Jul 21, 2017 · Fundamentals

What Happens When Your Browser Loads a Web Page? From DNS to Rendering Explained

This article walks through every step a browser takes to fetch and display a website—including DNS cache lookup, OS and ISP resolution, TCP handshake, HTTP request handling, and the rendering pipeline—while also clarifying core concepts such as callbacks, async vs sync, and the event loop.

DNSasynchronousbrowser
0 likes · 6 min read
What Happens When Your Browser Loads a Web Page? From DNS to Rendering Explained
Node Underground
Node Underground
Jul 13, 2017 · Backend Development

Mastering Event‑Driven APIs: 5 Architectures Every Backend Engineer Should Know

This article explores five event‑driven API architectures—WebSockets, WebHooks, REST Hooks, Pub‑Sub, and Server‑Sent Events—detailing their core functions, usage patterns, and pros and cons, while highlighting how they enable asynchronous communication and resource efficiency in modern web systems.

APIServer-Sent EventsWebhooks
0 likes · 2 min read
Mastering Event‑Driven APIs: 5 Architectures Every Backend Engineer Should Know
21CTO
21CTO
Jun 12, 2017 · Frontend Development

Mastering JavaScript Error Handling: From Try‑Catch to Global onerror

This article explains why proper JavaScript error handling is essential, compares syntax and runtime errors, demonstrates good and bad try‑catch patterns, shows how to use global onerror listeners, capture stack traces, and handle asynchronous exceptions to improve frontend code reliability.

Exceptionasynchronousdebugging
0 likes · 13 min read
Mastering JavaScript Error Handling: From Try‑Catch to Global onerror
ITPUB
ITPUB
May 5, 2017 · Backend Development

Understanding Synchronous, Asynchronous, and Callback Calls in Java

The article explains three module invocation methods—synchronous, asynchronous, and callback—detailing their mechanisms, advantages, and trade‑offs, and provides a complete Java example where a teacher asks a student a question and receives the answer via a callback interface, illustrating both synchronous and asynchronous scenarios.

CallbackDesign PatternsJava
0 likes · 10 min read
Understanding Synchronous, Asynchronous, and Callback Calls in Java
Node Underground
Node Underground
Jan 18, 2017 · Frontend Development

Mastering Asynchronous JavaScript: From Callbacks to Async/Await

This article explores practical ways to handle asynchronous operations in JavaScript, comparing callbacks, async.js, promises, generators, and async/await, and demonstrates how refactoring code can eliminate callback hell and improve readability for both client‑side and server‑side development.

Promisesasync/awaitasynchronous
0 likes · 2 min read
Mastering Asynchronous JavaScript: From Callbacks to Async/Await
Qunar Tech Salon
Qunar Tech Salon
Dec 19, 2016 · Backend Development

Asynchronous Refactoring of an HTTP Service Using a Graph‑Based Execution Engine

This article describes how a Java‑based HTTP service was transformed from a synchronous, thread‑blocking design to a fully asynchronous architecture by evaluating coroutine, Actor model, and Rx approaches, and ultimately implementing a Graph‑Based Execution Engine integrated with Servlet 3.0 and Spring MVC to improve stability, performance, and throughput.

ConcurrencyServletasynchronous
0 likes · 12 min read
Asynchronous Refactoring of an HTTP Service Using a Graph‑Based Execution Engine
Architecture Digest
Architecture Digest
Dec 4, 2016 · Fundamentals

Understanding Asynchronous and Concurrent Programming Models on the JVM

The article explains why asynchronous programming improves resource utilization, compares synchronous and asynchronous styles, and reviews common JVM concurrency models—including threads, thread pools, futures, reactive extensions, async‑await, fibers, and actors—while discussing their trade‑offs and suitability for distributed systems.

ActorsFuturesJVM
0 likes · 16 min read
Understanding Asynchronous and Concurrent Programming Models on the JVM
Meituan Technology Team
Meituan Technology Team
Dec 2, 2016 · Backend Development

Comprehensive Performance Optimization Strategies and Real-World Cases

The article presents a comprehensive set of performance‑optimization strategies—from code‑level refactoring, SQL tuning, and caching patterns to asynchronous processing, NoSQL selection, JVM and multithreading tuning—alongside real‑world cases that cut job runtimes from over 50 minutes to under 15 minutes and dramatically reduce database load.

BackendCachingJVM
0 likes · 23 min read
Comprehensive Performance Optimization Strategies and Real-World Cases
Java Backend Technology
Java Backend Technology
Oct 19, 2016 · Backend Development

OIO vs NIO vs AIO: Mastering Sync/Async and Blocking/Non‑Blocking in Java

The article compares Java's OIO, NIO, and AIO models, explaining how each handles threads, channels, and I/O requests, and clarifies the distinctions between synchronous, asynchronous, blocking, and non‑blocking communication, while discussing thread pooling, selector behavior, and performance implications for massive connections.

AIOI/OJava
0 likes · 6 min read
OIO vs NIO vs AIO: Mastering Sync/Async and Blocking/Non‑Blocking in Java
JavaScript
JavaScript
Oct 5, 2016 · Frontend Development

Mastering JavaScript Timers: setTimeout, setInterval, and Their Pitfalls

Learn how JavaScript’s setTimeout and setInterval functions work, see practical code examples, understand their timing inaccuracies and common pitfalls, and discover how recursive setTimeout can provide more reliable scheduling by avoiding overlapping executions.

JavaScriptTimersasynchronous
0 likes · 4 min read
Mastering JavaScript Timers: setTimeout, setInterval, and Their Pitfalls
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 5, 2016 · Frontend Development

Mastering JavaScript Promises: Common Pitfalls and Best Practices

This article explains the fundamentals of JavaScript Promises, illustrates typical mistakes such as callback pyramids and missing returns, and demonstrates proper usage of chaining, Promise.all, resolve variations, error handling with catch, and state propagation to write clean, maintainable asynchronous code.

CodingJavaScriptPromise
0 likes · 23 min read
Mastering JavaScript Promises: Common Pitfalls and Best Practices
Architecture Digest
Architecture Digest
Jul 6, 2016 · Backend Development

Designing a Message Queue: Key Considerations and Architecture

The article explains why and when to use message queues, then walks through designing one from scratch, covering decoupling, eventual consistency, broadcast, flow control, RPC protocols, high availability, storage choices, consumer relationships, reliable delivery, transactions, performance optimizations, and push versus pull models.

RPCasynchronousbackend architecture
0 likes · 35 min read
Designing a Message Queue: Key Considerations and Architecture
MaGe Linux Operations
MaGe Linux Operations
Jun 28, 2016 · Fundamentals

Synchronous vs Asynchronous I/O: Blocking, Non‑Blocking & Event‑Driven Models

This article explains the differences between synchronous and asynchronous I/O, clarifies blocking versus non‑blocking calls, and describes various I/O models—including blocking, non‑blocking, multiplexed, event‑driven, and asynchronous—illustrated with diagrams to help readers understand how the kernel and user processes interact during I/O operations.

I/OSynchronousasynchronous
0 likes · 6 min read
Synchronous vs Asynchronous I/O: Blocking, Non‑Blocking & Event‑Driven Models

How eBay Scales to Billions: 7 Proven Practices for Massive Web Systems

This article outlines eBay's seven key scalability best practices—including functional partitioning, horizontal sharding, avoiding distributed transactions, asynchronous decoupling, stream processing, virtualization, and strategic caching—to illustrate how large‑scale web platforms can achieve linear resource growth and high availability.

Cachingarchitectureasynchronous
0 likes · 14 min read
How eBay Scales to Billions: 7 Proven Practices for Massive Web Systems
Qunar Tech Salon
Qunar Tech Salon
Apr 28, 2016 · Backend Development

Redesigning Asynchronous Calls in Dubbo: Consumer and Provider Side Improvements

The article analyzes the limitations of Dubbo's default synchronous RPC model, explains existing consumer and provider asynchronous mechanisms, and proposes a cleaner annotation‑processor based API that enables transparent async calls without extra configuration, improving thread utilization and service reliability.

Annotation ProcessorDubboRPC
0 likes · 10 min read
Redesigning Asynchronous Calls in Dubbo: Consumer and Provider Side Improvements
ITPUB
ITPUB
Mar 31, 2016 · Databases

Master MySQL Replication: Step‑by‑Step Guide to Master‑Slave Setup

This article explains MySQL replication fundamentals, compares asynchronous and synchronous modes, walks through configuring a master‑slave environment with binary logs, details statement‑based and row‑based replication, offers recommended settings, and discusses replication lag, semi‑synchronous replication, and heartbeat mechanisms.

Binary LogConfigurationMaster‑Slave
0 likes · 15 min read
Master MySQL Replication: Step‑by‑Step Guide to Master‑Slave Setup
21CTO
21CTO
Mar 26, 2016 · Backend Development

Why Does Nginx Use a Multi‑Process, Asynchronous Event Model?

This article explains nginx’s high‑performance architecture, detailing its daemon mode with a master process and multiple worker processes, the multi‑process model advantages, signal‑based control, the asynchronous non‑blocking event handling using epoll, and includes a representative pseudo‑code of its event loop.

BackendNginxProcess Model
0 likes · 13 min read
Why Does Nginx Use a Multi‑Process, Asynchronous Event Model?
Java High-Performance Architecture
Java High-Performance Architecture
Feb 6, 2016 · Frontend Development

How Web Workers Unblock JavaScript: Solving the Single‑Threaded Bottleneck

This article explains why JavaScript’s single‑threaded nature can freeze the UI during heavy calculations like recursive Fibonacci, and demonstrates how using HTML5 Web Workers moves such tasks to background threads, keeping the interface responsive and allowing multiple workers for intensive operations.

JavaScriptWeb Workersasynchronous
0 likes · 3 min read
How Web Workers Unblock JavaScript: Solving the Single‑Threaded Bottleneck
21CTO
21CTO
Jan 28, 2016 · Databases

Boost PHP Web Performance with MySQL Asynchronous Queries

By leveraging MySQL's asynchronous query capabilities via mysqlnd and PHP's generator-based coroutines, developers can execute multiple SELECT statements concurrently, reducing total query time from around two seconds to roughly one second, though this approach must consider server load and thread overhead.

MySQLPHPPerformance
0 likes · 7 min read
Boost PHP Web Performance with MySQL Asynchronous Queries