Tagged articles
393 articles
Page 2 of 4
IT Services Circle
IT Services Circle
May 4, 2024 · Backend Development

Common Backend Interface Optimization Techniques and Practices

This article shares a collection of practical backend performance‑optimization ideas—including batch database operations, asynchronous processing, caching, pre‑fetching, pooling, event‑driven callbacks, parallel remote calls, lock granularity, file‑based temporary storage, index tuning, deep‑pagination strategies, code‑level refactoring, data compression, NoSQL alternatives, thread‑pool configuration, and machine‑level troubleshooting—to dramatically reduce API latency and improve system scalability.

AsynchronousBackendthread pool
0 likes · 16 min read
Common Backend Interface Optimization Techniques and Practices
Architect
Architect
Apr 30, 2024 · Backend Development

Using CompletableFuture for Asynchronous Programming in Java: Examples and Best Practices

This article explains why asynchronous programming improves performance, compares serial and parallel implementations of a login flow, and demonstrates how to use Java's CompletableFuture API—including supplyAsync, runAsync, callbacks, composition, and error handling—to write efficient backend code.

AsynchronousBackendCompletableFuture
0 likes · 22 min read
Using CompletableFuture for Asynchronous Programming in Java: Examples and Best Practices
JD Tech
JD Tech
Apr 25, 2024 · Backend Development

Comprehensive API Performance Optimization: Diagnosis, Problem Localization, and Solutions with Pfinder and JSF Asynchronous Calls

This article details a comprehensive API performance optimization journey, covering current diagnostics with Pfinder and UMP, pinpointing bottlenecks such as excessive RPC loops and large data sets, and presenting solutions like Set-based deduplication, JSF asynchronous calls, and code refactoring that reduce latency from seconds to milliseconds.

APIAsynchronousJSF
0 likes · 7 min read
Comprehensive API Performance Optimization: Diagnosis, Problem Localization, and Solutions with Pfinder and JSF Asynchronous Calls
Architect
Architect
Apr 23, 2024 · Backend Development

Cross-Thread Log Sampling for High-Throughput Java Services

This article examines the performance impact of excessive logging in high-throughput Java services and presents three practical approaches—ThreadLocal-style wrappers, explicit flag propagation, and a decoupled component with an extensible API—to achieve cross-thread request-level log sampling while preserving traceability.

AsynchronousBackendJava
0 likes · 9 min read
Cross-Thread Log Sampling for High-Throughput Java Services
Code Ape Tech Column
Code Ape Tech Column
Apr 18, 2024 · Backend Development

Applying Spring Transaction Hooks for Asynchronous Kafka Message Publishing

This article explains how to use Spring's TransactionSynchronizationManager to detect active transactions and register synchronization callbacks so that Kafka messages are sent asynchronously after transaction commit, illustrated with a payment‑system logging scenario and complete Java code examples.

AsynchronousBackendJava
0 likes · 10 min read
Applying Spring Transaction Hooks for Asynchronous Kafka Message Publishing
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 13, 2024 · Backend Development

Mastering Spring Boot Event Handling and Asynchronous Processing

Learn how Spring Boot 2.7.16 leverages ApplicationEvent and ApplicationListener for synchronous event handling, then explore two asynchronous approaches—using @Async with @EventListener and custom thread pools with a bespoke ApplicationEventMulticaster—complete with code examples and configuration details.

ApplicationListenerAsynchronousJava
0 likes · 5 min read
Mastering Spring Boot Event Handling and Asynchronous Processing
Selected Java Interview Questions
Selected Java Interview Questions
Feb 19, 2024 · Backend Development

Eight Ways to Implement Asynchronous Programming in Java

This article introduces eight common Java asynchronous implementation techniques—including raw threads, thread pools, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture—explains their use cases, advantages, and limitations, and provides concrete code examples for each method.

AsynchronousBackendCompletableFuture
0 likes · 11 min read
Eight Ways to Implement Asynchronous Programming in Java
Top Architect
Top Architect
Jan 30, 2024 · Backend Development

Advanced Backend Asynchronous Execution and Configuration Techniques in Spring Boot

This article explains multiple backend optimization methods for Spring Boot, including asynchronous execution with @Async and CompletableFuture, increasing embedded Tomcat connection limits, using @ComponentScan, switching to Undertow, applying BufferedWriter, employing DeferredResult, and intercepting async calls with AsyncHandlerInterceptor, accompanied by concrete code examples.

AsynchronousCompletableFutureJava
0 likes · 12 min read
Advanced Backend Asynchronous Execution and Configuration Techniques in Spring Boot
php Courses
php Courses
Jan 25, 2024 · Frontend Development

Understanding AJAX: Asynchronous JavaScript and XML with PHP Example

This guide explains AJAX as an asynchronous JavaScript and XML technique that enables seamless client‑server communication with PHP, providing step‑by‑step examples and key concepts for building dynamic, responsive web applications.

AsynchronousJavaScriptPHP
0 likes · 3 min read
Understanding AJAX: Asynchronous JavaScript and XML with PHP Example
Java High-Performance Architecture
Java High-Performance Architecture
Jan 24, 2024 · Backend Development

8 Powerful Ways to Implement Asynchronous Execution in Java

Understanding asynchronous execution in Java can dramatically reduce latency for tasks such as sending SMS, emails, or updating data, and this article walks through eight practical implementations—from raw Threads and Futures to Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture—complete with code samples and best‑practice tips.

AsynchronousCompletableFutureGuava
0 likes · 13 min read
8 Powerful Ways to Implement Asynchronous Execution in Java
JD Retail Technology
JD Retail Technology
Dec 25, 2023 · Backend Development

Investigation and Resolution of JSF Asynchronous Call Timeout Causing Interface Availability Degradation

This article documents the investigation of a JSF asynchronous call timeout that reduced interface availability, explains the async call mechanisms, analyzes the root cause in the callback thread pool, and presents short‑term and long‑term solutions to restore 100% availability.

AsynchronousBackend PerformanceCompletableFuture
0 likes · 12 min read
Investigation and Resolution of JSF Asynchronous Call Timeout Causing Interface Availability Degradation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 21, 2023 · Backend Development

LAW: Log Asynchronous Writer – A Go Library for Asynchronous Logging Across Multiple Loggers

The article introduces LAW (Log Asynchronous Writer), a Go library that enables asynchronous log output for popular logging frameworks such as zap, logrus, klog, and zerolog, explains its design and implementation, provides performance benchmarks, and offers usage examples with complete code samples.

AsynchronousLibraryZAP
0 likes · 12 min read
LAW: Log Asynchronous Writer – A Go Library for Asynchronous Logging Across Multiple Loggers
Su San Talks Tech
Su San Talks Tech
Dec 9, 2023 · Databases

Boost Large Table Reads with Query Separation

This article explains the concept of query separation, its suitable scenarios, implementation methods—including synchronous, asynchronous, and binlog approaches—storage options, MQ considerations, and how it can dramatically improve query performance for massive tables.

AsynchronousBackend ArchitectureElasticsearch
0 likes · 9 min read
Boost Large Table Reads with Query Separation
360 Smart Cloud
360 Smart Cloud
Dec 7, 2023 · Fundamentals

Understanding Asynchronous and Event Mechanisms in Frontend and Backend Development

This article explains how asynchronous programming and event‑driven mechanisms work in both frontend JavaScript and backend Golang, covering the JavaScript event loop, macro‑ and micro‑tasks, goroutine‑based concurrency, and the kernel‑level epoll architecture that together enable efficient, non‑blocking execution.

AsynchronousBackendGolang
0 likes · 17 min read
Understanding Asynchronous and Event Mechanisms in Frontend and Backend Development
Java Architect Essentials
Java Architect Essentials
Dec 5, 2023 · Backend Development

Comprehensive Interface Performance Optimization Strategies

This article presents a collection of practical backend interface optimization techniques—including batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelism, indexing, transaction management, code restructuring, pagination, SQL tuning, and lock granularity—to reduce latency and improve overall system efficiency.

API optimizationAsynchronousBatch Processing
0 likes · 10 min read
Comprehensive Interface Performance Optimization Strategies
Architect
Architect
Nov 22, 2023 · Backend Development

Mastering CompletableFuture: Boosting Asynchronous Performance in Java

This article walks through the limitations of Java's Future, introduces CompletableFuture's richer asynchronous API, and demonstrates step‑by‑step how to refactor a shop‑detail page using parallel tasks, custom thread pools, and composition patterns to cut response time from seconds to under two.

AsynchronousCompletableFutureJava
0 likes · 14 min read
Mastering CompletableFuture: Boosting Asynchronous Performance in Java
Architect
Architect
Nov 21, 2023 · Backend Development

Why Large Database Transactions Slow Your API and How to Fix Them

The article explains how bundling many business‑logic steps into a single large transaction harms API performance, outlines the resulting concurrency, locking, undo‑log, and DB‑pressure issues, and then presents practical techniques—programmatic transactions, batch processing, transaction splitting, and asynchronous parallelism—to optimize and speed up backend services.

Asynchronousbatch-processingperformance
0 likes · 10 min read
Why Large Database Transactions Slow Your API and How to Fix Them
Selected Java Interview Questions
Selected Java Interview Questions
Nov 18, 2023 · Backend Development

A Comprehensive Guide to Java CompletableFuture: Replacing Future and CountDownLatch with Elegant Asynchronous Patterns

This article explains Java's Future and CompletableFuture APIs, demonstrates how to replace blocking Future.get() and CountDownLatch patterns with CompletableFuture, shows creation methods, result retrieval options, callback chains, exception handling, task composition techniques, and provides best‑practice recommendations for thread‑pool usage.

AsynchronousCompletableFutureFuture
0 likes · 22 min read
A Comprehensive Guide to Java CompletableFuture: Replacing Future and CountDownLatch with Elegant Asynchronous Patterns
Architect
Architect
Nov 13, 2023 · Backend Development

Designing a Robust Asynchronous Processing SDK with Spring, Kafka, and MySQL

This article explains why asynchronous processing is needed in evolving systems, outlines the goals of guaranteeing execution without blocking the main flow, and walks through a complete SDK design that uses Spring transaction events, Kafka, XXL‑Job, MySQL, and a Vue UI, including configuration, code snippets, and deployment details.

AsynchronousBackendDesign
0 likes · 10 min read
Designing a Robust Asynchronous Processing SDK with Spring, Kafka, and MySQL
Architecture Digest
Architecture Digest
Nov 10, 2023 · Backend Development

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

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

AsyncAsynchronousException Handling
0 likes · 10 min read
Understanding Spring Boot @Async: Usage, Pitfalls, and Best Practices
Su San Talks Tech
Su San Talks Tech
Nov 3, 2023 · Backend Development

Mastering API Retry Strategies: 8 Proven Methods for Reliable Backend Calls

This article explores eight practical retry mechanisms for handling unreliable third‑party APIs in backend systems, covering simple loops, recursion, built‑in client retries, Spring Retry, Resilience4j, custom utilities, asynchronous thread‑pool retries, and message‑queue based approaches, plus best‑practice tips.

AsynchronousMessage Queue
0 likes · 18 min read
Mastering API Retry Strategies: 8 Proven Methods for Reliable Backend Calls
DeWu Technology
DeWu Technology
Nov 1, 2023 · Backend Development

Evolution of the Rainbow Bridge Architecture: From BIO to NIO with Custom Database Driver and Connection Pool

The article chronicles the Rainbow Bridge proxy’s shift from a blocking BIO JDBC driver to a custom Netty‑based NIO driver with an event‑loop‑affine connection pool, detailing optimizations such as codec skipping and lock‑free queues that yield up to 67% higher throughput, 37% lower load, and a 98% reduction in thread usage.

AsynchronousConnection PoolDatabase Driver
0 likes · 11 min read
Evolution of the Rainbow Bridge Architecture: From BIO to NIO with Custom Database Driver and Connection Pool
php Courses
php Courses
Nov 1, 2023 · Backend Development

Understanding PHP Generator Functions: Syntax, Use Cases, and Examples

This article explains PHP generator functions, covering their purpose for memory‑efficient data iteration, streaming, and asynchronous tasks, detailing their syntax with the yield statement, providing multiple code examples, outlining advantages, usage notes, and concluding with best‑practice recommendations.

AsynchronousYielditeration
0 likes · 5 min read
Understanding PHP Generator Functions: Syntax, Use Cases, and Examples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 1, 2023 · Backend Development

Mastering Spring Event Mechanism: Custom Events, Listeners, Async & Ordering

This article introduces Spring's event mechanism, covering the creation of custom ApplicationEvent classes, implementing listeners via ApplicationListener and @EventListener annotations, publishing events, using @Async for asynchronous handling, configuring custom event multicaster, and controlling listener execution order with @Order, complete with code examples.

AsynchronousEventJava
0 likes · 9 min read
Mastering Spring Event Mechanism: Custom Events, Listeners, Async & Ordering
Java High-Performance Architecture
Java High-Performance Architecture
Sep 29, 2023 · Backend Development

How Ctrip Handles 20 Billion Daily Requests with a High‑Performance Java API Gateway

This article explains how Ctrip’s API gateway, built on Java, Netty and RxJava, evolved from a Zuul‑based design to a fully asynchronous, single‑threaded architecture that processes 200 billion daily requests, detailing core components, streaming forwarding, performance optimizations, governance, multi‑protocol support, routing and module orchestration.

AsynchronousJavaNetty
0 likes · 17 min read
How Ctrip Handles 20 Billion Daily Requests with a High‑Performance Java API Gateway
Ximalaya Technology Team
Ximalaya Technology Team
Aug 28, 2023 · Backend Development

Mastering Spring Events: Definition, Benefits, Usage, and Deep Source‑Code Walkthrough

Spring Event provides a decoupled, extensible mechanism for publishing and handling application events in Spring, covering its definition, benefits, drawbacks, practical usage with code examples, core internal classes, reserved events, asynchronous processing options, and detailed source‑code analysis of the event multicaster and listener registration.

AsynchronousBackendEvent
0 likes · 20 min read
Mastering Spring Events: Definition, Benefits, Usage, and Deep Source‑Code Walkthrough
FunTester
FunTester
Aug 21, 2023 · Backend Development

Understanding Web3j Asynchronous Calls and JVM Exit Issues

The article analyzes why using Web3j's sendAsync() method can prevent the JVM from terminating, examines the underlying thread‑pool implementation in org.web3j.utils.Async, and offers debugging steps and possible work‑arounds for developers.

AsynchronousJVMJava
0 likes · 7 min read
Understanding Web3j Asynchronous Calls and JVM Exit Issues
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 17, 2023 · Backend Development

Comprehensive Introduction to Message Queues

This article provides a thorough overview of message queues, covering their definition, core components, types (point‑to‑point and publish/subscribe), key characteristics such as asynchrony, loose coupling, distribution and reliability, selection criteria among popular MQ products, and typical application scenarios in high‑concurrency systems.

AsynchronousBackend ArchitectureDistributed Systems
0 likes · 9 min read
Comprehensive Introduction to Message Queues
Bilibili Tech
Bilibili Tech
Aug 11, 2023 · Backend Development

Designing a High‑Performance Asynchronous Event System for Bilibili’s Like Service

Bilibili’s railgun platform transforms its high‑traffic like service into a scalable, fault‑tolerant system by moving writes to an asynchronous, Kafka‑driven pipeline, applying CQRS, partitioned processing, idempotency, hot‑key isolation, rate‑limiting, and unified SDKs, dramatically reducing database load and achieving ten‑fold throughput gains.

AsynchronousBackendCQRS
0 likes · 21 min read
Designing a High‑Performance Asynchronous Event System for Bilibili’s Like Service
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 2, 2023 · Frontend Development

Implementing a Custom Promise in JavaScript: A Comprehensive Guide

This article provides a step‑by‑step tutorial on building a custom Promise implementation in JavaScript, covering basic functionality, handling of asynchronous logic, chaining, thenable objects, microtasks, error handling, static methods like resolve, reject, all, race, allSettled, any, and additional features such as catch and finally.

AsynchronousCustomImplementationJavaScript
0 likes · 32 min read
Implementing a Custom Promise in JavaScript: A Comprehensive Guide
Zhuanzhuan Tech
Zhuanzhuan Tech
Jul 26, 2023 · Backend Development

Applying CompletableFuture for Asynchronous Programming in Java: A ZhiZhi Store Detail Page Case Study

This article explains the limitations of Java Future, introduces CompletableFuture's asynchronous and compositional capabilities, and demonstrates how to refactor a store detail page service using CompletableFuture, custom thread pools, and design patterns to achieve parallel execution, reduced latency, and better code maintainability.

AsynchronousBackendCompletableFuture
0 likes · 14 min read
Applying CompletableFuture for Asynchronous Programming in Java: A ZhiZhi Store Detail Page Case Study
Selected Java Interview Questions
Selected Java Interview Questions
Jul 18, 2023 · Backend Development

Understanding Reactive Streams: Data Flow, Backpressure, and Core Interfaces

This article explains the concept of data streams, compares pull and push processing models, discusses flow‑control and backpressure mechanisms, evaluates queue choices, and details the core Reactive Streams interfaces (Publisher, Subscriber, Subscription) with example code and references to popular libraries.

AsynchronousData FlowPublisher
0 likes · 7 min read
Understanding Reactive Streams: Data Flow, Backpressure, and Core Interfaces
Top Architect
Top Architect
Jun 20, 2023 · Backend Development

Eight Ways to Implement Asynchronous Programming in Java

This article introduces eight practical approaches for achieving asynchronous execution in Java—including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, Hutool ThreadUtil, and Guava ListenableFuture—providing code samples, configuration tips, and discussion of each method's advantages and drawbacks.

AsynchronousBackendCompletableFuture
0 likes · 14 min read
Eight Ways to Implement Asynchronous Programming in Java
Tencent Cloud Developer
Tencent Cloud Developer
Jun 15, 2023 · Backend Development

Design and Evolution of a Distributed Configuration System

The article examines why a distributed configuration system is needed, outlines its constraints, traces its evolution from single‑machine files to centralized and database‑backed stores, and presents WeChat’s design—key‑object protobuf model, secure SDK, asynchronous pull loading, versioned consistency, and gray‑release support—demonstrating a two‑year case study that cut configuration rollout time from days to minutes.

AsynchronousConfiguration ManagementDistributed Configuration
0 likes · 18 min read
Design and Evolution of a Distributed Configuration System
JD Cloud Developers
JD Cloud Developers
Jun 13, 2023 · Backend Development

Turning Synchronous BFF Calls into Scalable Asynchronous Pipelines

This article shares a step‑by‑step experience of refactoring a finance‑BFF aggregation service from tightly coupled synchronous calls to a loosely coupled, fully asynchronous architecture, covering problem background, redesign goals, implementation details, Hystrix integration, monitoring, and practical usage examples.

AsynchronousBFFBackend
0 likes · 11 min read
Turning Synchronous BFF Calls into Scalable Asynchronous Pipelines
Laravel Tech Community
Laravel Tech Community
Jun 11, 2023 · Backend Development

Eclipse Vert.x 4.4.3 Release Notes: New Features, Improvements, and Bug Fixes

Eclipse Vert.x 4.4.3 introduces a series of updates across core components—including JDBC client tracing fixes, GraphQL-Java upgrade, enhanced gRPC support, Netty and Hazelcast upgrades, new Consul ACL API, Infinispan lock handling, SSL option improvements, Groovy 4.0.12, and various bug fixes—strengthening its lightweight, high‑performance, asynchronous backend framework.

AsynchronousBackendJava
0 likes · 4 min read
Eclipse Vert.x 4.4.3 Release Notes: New Features, Improvements, and Bug Fixes
JD Cloud Developers
JD Cloud Developers
Jun 7, 2023 · Backend Development

How to Bind Tokio Tasks to Specific CPU Cores with core_affinity_rs

This article demonstrates how to bind Tokio async tasks to specific CPU cores on Linux using the core_affinity_rs crate, showing code examples for single‑core and multi‑core affinity, performance monitoring on Ubuntu, and step‑by‑step modifications to the Tokio runtime builder.

AsynchronousCPU affinityperformance
0 likes · 5 min read
How to Bind Tokio Tasks to Specific CPU Cores with core_affinity_rs
Programmer DD
Programmer DD
May 31, 2023 · Backend Development

8 Powerful Ways to Implement Asynchronous Execution in Java

This article explains what asynchronous execution is, compares it with synchronous processing, and presents eight practical Java implementations—including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, Hutool ThreadUtil, and Guava ListenableFuture—complete with code samples and usage tips.

AsynchronousCompletableFutureFuture
0 likes · 14 min read
8 Powerful Ways to Implement Asynchronous Execution in Java
JD Cloud Developers
JD Cloud Developers
May 24, 2023 · Backend Development

How JD.com’s Shopping Cart Gained 30% Faster Performance with Full Asynchronous Refactoring

This article explains how JD.com’s retail shopping‑cart team tackled growing business complexity by redesigning the cart with a full asynchronous architecture, detailing the overall solution, implementation challenges such as fine‑grained retries and monitoring, and the resulting performance gains.

AsynchronousBackendPerformance Optimization
0 likes · 6 min read
How JD.com’s Shopping Cart Gained 30% Faster Performance with Full Asynchronous Refactoring
php Courses
php Courses
May 21, 2023 · Backend Development

Implementing Multithreaded Bulk Email Sending with PHP and Swoole

This article explains how to use the PHP Swoole extension to create asynchronous, coroutine‑based multithreaded email sending, dramatically improving the performance of bulk mail dispatch compared with traditional single‑threaded PHP scripts.

AsynchronousEmailmultithreading
0 likes · 8 min read
Implementing Multithreaded Bulk Email Sending with PHP and Swoole
php Courses
php Courses
May 18, 2023 · Backend Development

Implementing Message Queues with PHP and RabbitMQ

This article explains how to set up a PHP development environment, install RabbitMQ and its dependencies, and provides complete producer and consumer code examples to create a simple "Hello World" message queue using RabbitMQ's AMQP protocol.

AMQPAsynchronousBackend
0 likes · 7 min read
Implementing Message Queues with PHP and RabbitMQ
Architect's Guide
Architect's Guide
May 12, 2023 · Backend Development

Eight Ways to Implement Asynchronous Programming in Java

This article introduces the concept of asynchronous execution and presents eight practical Java implementations—including Thread, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture—along with code examples and usage tips for each method.

AsynchronousCompletableFutureFuture
0 likes · 12 min read
Eight Ways to Implement Asynchronous Programming in Java
Architect
Architect
May 8, 2023 · Backend Development

Traceable Logging in Spring Boot: Using Logback, Interceptors, MDC and Custom Thread Pools

This article demonstrates how to implement end‑to‑end traceable logging in a Spring Boot application by configuring Logback, creating a request interceptor that injects a TRACE_ID, propagating the ID across thread pools with custom executors and MDC utilities, and verifying the solution with sample controller code and log output.

AsynchronousInterceptorSpring Boot
0 likes · 12 min read
Traceable Logging in Spring Boot: Using Logback, Interceptors, MDC and Custom Thread Pools
Java Architect Essentials
Java Architect Essentials
Apr 28, 2023 · Backend Development

12 Proven Strategies to Supercharge API Performance in Java

This article outlines twelve practical techniques—including batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelization, indexing, transaction sizing, code refactoring, pagination, SQL tuning, and lock granularity—to dramatically reduce API latency and improve overall backend efficiency.

API performanceAsynchronousBatch Processing
0 likes · 9 min read
12 Proven Strategies to Supercharge API Performance in Java
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Apr 12, 2023 · Backend Development

Understanding Java I/O Models: BIO, NIO, AIO and Their Applications

This article explains the three main Java I/O models—BIO (blocking), NIO (non‑blocking), and AIO (asynchronous)—detailing their characteristics, differences in blocking behavior, core components like Buffer, Channel, and Selector, and shows how they are applied in popular frameworks such as Netty, Mina, and Dubbo.

AsynchronousBackendI/O Models
0 likes · 9 min read
Understanding Java I/O Models: BIO, NIO, AIO and Their Applications
Selected Java Interview Questions
Selected Java Interview Questions
Mar 20, 2023 · Backend Development

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

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

AsyncAsynchronousBackend Development
0 likes · 9 min read
Using Asynchronous Threads in Spring Boot: @Async, AsyncManager, and ThreadPoolExecutor
Su San Talks Tech
Su San Talks Tech
Mar 19, 2023 · Backend Development

Master 8 Ways to Implement Asynchronous Programming in Java

This article explains why asynchronous execution is essential for tasks like sending SMS or emails, defines async concepts, and walks through eight practical Java implementations—including Thread, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture—complete with code examples and usage tips.

AsynchronousCompletableFutureFuture
0 likes · 14 min read
Master 8 Ways to Implement Asynchronous Programming in Java
Architect's Guide
Architect's Guide
Mar 18, 2023 · Backend Development

Eight Ways to Implement Asynchronous Execution in Java

This article introduces eight common methods for implementing asynchronous execution in Java, including threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, Hutool ThreadUtil, and Guava ListenableFuture, and provides code examples and usage considerations.

AsynchronousCompletableFutureFuture
0 likes · 14 min read
Eight Ways to Implement Asynchronous Execution in Java
Architect
Architect
Mar 1, 2023 · Backend Development

Eight Asynchronous Programming Techniques in Java

This article introduces eight common methods for achieving asynchronous execution in Java, including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture, explaining their usage, advantages, and limitations.

AsynchronousCompletableFutureFuture
0 likes · 10 min read
Eight Asynchronous Programming Techniques in Java
Java High-Performance Architecture
Java High-Performance Architecture
Feb 22, 2023 · Backend Development

8 Powerful Ways to Implement Asynchronous Programming in Java

This article explores eight Java asynchronous programming techniques—from raw threads and Future to CompletableFuture, Spring @Async, event-driven approaches, message queues, Hutool ThreadUtil, and Guava ListenableFuture—detailing their concepts, advantages, limitations, and providing complete code examples for each.

AsynchronousCompletableFutureFuture
0 likes · 14 min read
8 Powerful Ways to Implement Asynchronous Programming in Java
Code Ape Tech Column
Code Ape Tech Column
Jan 18, 2023 · Backend Development

Eight Ways to Implement Asynchronous Execution in Java

This article introduces eight practical techniques for achieving asynchronous processing in Java—including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, Hutool ThreadUtil, and Guava ListenableFuture—complete with code examples and discussion of their advantages and limitations.

AsynchronousFutureGuava
0 likes · 14 min read
Eight Ways to Implement Asynchronous Execution in Java
Java Architecture Diary
Java Architecture Diary
Jan 10, 2023 · Backend Development

Master Java 11 HttpClient: Synchronous & Asynchronous Requests Explained

This article introduces Java 11's built-in HttpClient, compares it with legacy HttpURLConnection and third-party libraries, and provides detailed code examples for creating and configuring HttpRequest objects, sending synchronous and asynchronous requests, handling headers, timeouts, bodies, and demonstrates a custom mica-http wrapper for practical use.

AsynchronousBackendHttpClient
0 likes · 11 min read
Master Java 11 HttpClient: Synchronous & Asynchronous Requests Explained
Java Architecture Diary
Java Architecture Diary
Jan 9, 2023 · Backend Development

Master Java 11 HttpClient: Sync & Async Requests with Full Code Guide

Learn how Java 11’s built‑in HttpClient simplifies both synchronous and asynchronous HTTP calls, covering client and request creation, setting URIs, methods, headers, timeouts, and various body types, with complete code examples and a comparison to alternative libraries.

AsynchronousBackend DevelopmentHttpClient
0 likes · 11 min read
Master Java 11 HttpClient: Sync & Async Requests with Full Code Guide
Code Ape Tech Column
Code Ape Tech Column
Jan 4, 2023 · Backend Development

Elegant Methods for Passing Data Between Parent and Child Threads in Spring Boot

This article explains four techniques—including manual setting, TaskDecorator, InheritableThreadLocal, and TransmittableThreadLocal—to reliably transfer user context and other thread‑local data from parent to child threads in Spring Boot asynchronous execution, with complete code samples and best‑practice recommendations.

AsynchronousBackendJava
0 likes · 13 min read
Elegant Methods for Passing Data Between Parent and Child Threads in Spring Boot
Java Architect Essentials
Java Architect Essentials
Dec 28, 2022 · Backend Development

Mastering Asynchronous Execution in Spring Boot: An In‑Depth Guide

This article provides a comprehensive guide to implementing asynchronous processing in Spring Boot, covering annotation‑based @Async, CompletableFuture patterns, WebAsyncTask, DeferredResult, custom thread pools, Tomcat tuning, component scanning, and switching to Undertow, with complete code examples and configuration details.

AsynchronousCompletableFutureDeferredResult
0 likes · 12 min read
Mastering Asynchronous Execution in Spring Boot: An In‑Depth Guide
Architects Research Society
Architects Research Society
Dec 9, 2022 · Cloud Native

Common Pitfalls in Microservice Integration and How to Mitigate Them

The article examines three common microservice integration pitfalls—complex communication, asynchronous challenges, and distributed transaction difficulties—and proposes resilient solutions using fast‑fail patterns, timeout handling, and stateful compensation via lightweight workflow engines to simplify architecture and improve reliability.

AsynchronousFailure HandlingWorkflow Engine
0 likes · 17 min read
Common Pitfalls in Microservice Integration and How to Mitigate Them
Su San Talks Tech
Su San Talks Tech
Dec 9, 2022 · Backend Development

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

This article introduces asynchronous programming concepts in Java, explaining the shift from synchronous to asynchronous execution, and demonstrates practical implementations using raw threads, ThreadPoolExecutor, Future, FutureTask, CompletableFuture, and Spring's @Async annotation, along with event handling and message queue integration for high‑throughput systems.

AsynchronousCompletableFutureJava
0 likes · 16 min read
Master Asynchronous Java: Threads, Futures, CompletableFuture & Spring @Async
58UXD
58UXD
Dec 8, 2022 · Product Management

5 Core Design Principles Every Collaborative Office Tool Must Follow

This article outlines five essential design traits—asynchronous collaboration, traceability, multidimensional notifications, role‑based permission differences, and output standardization—that underpin effective collaborative office products across various scenarios.

AsynchronousCollaborationNotification
0 likes · 9 min read
5 Core Design Principles Every Collaborative Office Tool Must Follow
Top Architect
Top Architect
Dec 4, 2022 · Backend Development

Asynchronous Execution in Spring Boot: @Async, CompletableFuture, WebAsyncTask, DeferredResult and Related Optimizations

This article explains multiple ways to perform asynchronous processing in Spring Boot, including @Async annotation, CompletableFuture (supplyAsync, runAsync), WebAsyncTask, DeferredResult, custom AsyncHandlerInterceptor, and server‑side optimizations such as increasing Tomcat connections and switching to Undertow, with complete code examples.

AsynchronousCompletableFutureJava
0 likes · 10 min read
Asynchronous Execution in Spring Boot: @Async, CompletableFuture, WebAsyncTask, DeferredResult and Related Optimizations
Architects Research Society
Architects Research Society
Nov 4, 2022 · Fundamentals

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

This article outlines eBay's key scalability best practices—including functional decomposition, horizontal sharding, avoiding distributed transactions, asynchronous decoupling, virtualization, and intelligent caching—to demonstrate how large‑scale web systems can achieve linear resource growth and high availability.

AsynchronousOperationsScalability
0 likes · 14 min read
eBay Scalability Best Practices: Functional Partitioning, Horizontal Sharding, Async Decoupling, and More
JD Tech
JD Tech
Nov 3, 2022 · Backend Development

Asynchronous Refactoring of JD Retail Shopping Cart Service for Performance Improvement

This article details how JD's retail shopping‑cart team tackled growing business complexity by fully converting the cart service to an asynchronous architecture, addressing challenges such as increasing RPC dependencies, pagination, and resource costs, and achieving a 30% reduction in core interface latency.

AsynchronousBackendRPC
0 likes · 7 min read
Asynchronous Refactoring of JD Retail Shopping Cart Service for Performance Improvement
IT Services Circle
IT Services Circle
Oct 21, 2022 · Fundamentals

Understanding Thread Blocking and Scheduling in Operating Systems

The article explains what thread blocking means in operating systems, how the OS moves blocked threads to wait queues and schedules other threads, discusses spin locks, and reflects on common misconceptions and community debates about callbacks versus polling.

AsynchronousSchedulingspin lock
0 likes · 5 min read
Understanding Thread Blocking and Scheduling in Operating Systems
Architect's Guide
Architect's Guide
Oct 21, 2022 · Backend Development

Understanding Netty's Asynchronous Model and Linux epoll: From the Stone Sword Analogy to High‑Performance IO

This article explains how Netty implements a powerful asynchronous, event‑driven architecture using the Reactor pattern, compares classic multithread, select, poll and epoll I/O multiplexing models, demonstrates JNI integration with Java, and provides a complete, annotated epoll server example with level‑triggered and edge‑triggered handling for high‑concurrency backend development.

AsynchronousBackendIO Multiplexing
0 likes · 32 min read
Understanding Netty's Asynchronous Model and Linux epoll: From the Stone Sword Analogy to High‑Performance IO
DaTaobao Tech
DaTaobao Tech
Oct 18, 2022 · Frontend Development

Client‑Side Interface Performance Optimization: Analysis and Solutions

Client‑side developers can boost API speed and user experience by collaborating with back‑end teams to cut server processing and network latency, using caching, concurrency, smaller or UDP‑based packets, and aggressively pruning or compressing payloads, which can shrink megabyte responses to tens of kilobytes and shave dozens of milliseconds off latency.

API optimizationAsynchronousNetwork Latency
0 likes · 9 min read
Client‑Side Interface Performance Optimization: Analysis and Solutions
Top Architect
Top Architect
Sep 25, 2022 · Backend Development

Using Spring Application Events for Synchronous and Asynchronous Processing

This article explains how to leverage Spring Application Events to decouple business logic, demonstrates creating custom events, listeners, and publishers, shows both synchronous and asynchronous handling with @EventListener and @Async, and provides complete code samples and test results.

AsynchronousBackendapplication-event
0 likes · 9 min read
Using Spring Application Events for Synchronous and Asynchronous Processing
ITPUB
ITPUB
Sep 20, 2022 · Backend Development

How to Boost High‑Concurrency Systems with Asynchronous Architecture Patterns

This article examines a high‑traffic video‑watching scenario, explains why synchronous database writes become a bottleneck, and presents four practical asynchronous solutions—thread‑pool, local memory with scheduled tasks, message‑queue, and Agent‑plus‑MQ—detailing their implementation steps, advantages, and trade‑offs.

Asynchronousthread pool
0 likes · 7 min read
How to Boost High‑Concurrency Systems with Asynchronous Architecture Patterns
Sohu Tech Products
Sohu Tech Products
Sep 14, 2022 · Backend Development

Applying Reactive Asynchronous Non‑Blocking Architecture to a Video Object Creation Service with Dubbo and RxJava

This article details how the Sohu video PUGC team refactored a legacy video‑object‑creation API by introducing a reactive, asynchronous, non‑blocking architecture built on RxJava, Vert.x WebClient and a custom Dubbo reactive client, achieving clearer business flow and a 43% latency reduction.

AsynchronousBackendDubbo
0 likes · 16 min read
Applying Reactive Asynchronous Non‑Blocking Architecture to a Video Object Creation Service with Dubbo and RxJava
JD Retail Technology
JD Retail Technology
Sep 13, 2022 · Backend Development

Asynchronous Refactoring of the Shopping Cart to Boost Performance

The article outlines the growing challenges of a high‑traffic shopping cart caused by numerous RPC dependencies, proposes a full asynchronous redesign—including parallel RPC calls, batch pagination, and JSF CompletableFuture usage—addresses retry, monitoring, and timeout issues, and reports a 30% latency reduction.

AsynchronousRPCShopping Cart
0 likes · 6 min read
Asynchronous Refactoring of the Shopping Cart to Boost Performance
dbaplus Community
dbaplus Community
Sep 6, 2022 · Backend Development

How to Scale High‑Concurrency Write Operations with Asynchronous Patterns

This article examines a high‑traffic video‑watching scenario, identifies database write bottlenecks, and presents four asynchronous solutions—thread‑pool, in‑memory queue with scheduled tasks, message‑queue, and Agent‑plus‑MQ—detailing their implementation steps, trade‑offs, and best‑practice guidelines.

AsynchronousBatch Processingbackend optimization
0 likes · 8 min read
How to Scale High‑Concurrency Write Operations with Asynchronous Patterns
Qunar Tech Salon
Qunar Tech Salon
Aug 29, 2022 · Backend Development

High‑Performance Thinking and Optimization Practices for Backend Systems

This article defines software performance as executor + (process + IO + computation), explains when performance should be considered, and presents a comprehensive framework of executor, I/O‑type, and generic optimizations—including concurrency, sharding, caching, compression, async, batching, and algorithmic improvements—supported by cross‑domain case studies.

Asynchronouscachingdevperfops
0 likes · 40 min read
High‑Performance Thinking and Optimization Practices for Backend Systems
Code Ape Tech Column
Code Ape Tech Column
Aug 29, 2022 · Backend Development

Seven Common Spring Boot Performance Optimization Techniques

This article presents seven practical Spring Boot performance optimization methods—including asynchronous execution, increasing embedded Tomcat connection limits, component scanning, switching to Undertow, using BufferedWriter, DeferredResult, and AsyncHandlerInterceptor—each illustrated with code samples and explanations for improving Java backend applications.

AsynchronousJavaPerformance Optimization
0 likes · 12 min read
Seven Common Spring Boot Performance Optimization Techniques
Programmer DD
Programmer DD
Aug 18, 2022 · Backend Development

How to Build an Asynchronous Excel Upload Service with AOP and Thread Pools

This article explains how to handle time‑consuming Excel uploads by using a template‑method design, wrapping the process with an AOP aspect, and executing the actual upload asynchronously in a thread pool, while recording logs and error details for later inspection.

AsynchronousJavaTemplate Method
0 likes · 10 min read
How to Build an Asynchronous Excel Upload Service with AOP and Thread Pools
Java Architect Essentials
Java Architect Essentials
Aug 11, 2022 · Backend Development

Mastering Spring Events: Synchronous & Asynchronous Usage with Code Samples

This article explains how to use Spring ApplicationEvent to decouple business logic, showing step‑by‑step code for defining custom events, creating listeners with both ApplicationListener and @EventListener, publishing events synchronously and asynchronously, enabling async processing, and verifying behavior with unit tests.

ApplicationEventAsynchronousBackend
0 likes · 10 min read
Mastering Spring Events: Synchronous & Asynchronous Usage with Code Samples
Top Architect
Top Architect
Aug 4, 2022 · Backend Development

Using Spring Application Events for Synchronous and Asynchronous Business Logic

This article explains how Spring Application Events can decouple complex business logic, demonstrates creating custom events, listeners, and publishers, shows both synchronous and asynchronous handling with @EventListener and @Async, and provides complete code examples and test results for a Spring Boot application.

AsynchronousBackendEvent
0 likes · 9 min read
Using Spring Application Events for Synchronous and Asynchronous Business Logic
Cognitive Technology Team
Cognitive Technology Team
Jul 23, 2022 · Backend Development

Understanding FutureTask: Features, Implementation, and Common Pitfalls

FutureTask acts as a proxy for asynchronous tasks in Java, providing result retrieval with optional timeout, completion checks, cancellation, and repeat execution, while managing task state, outcomes, and exceptions; the article illustrates usage, internal fields, and common pitfalls such as missed exceptions and indefinite blocking.

AsynchronousFutureTaskJava
0 likes · 5 min read
Understanding FutureTask: Features, Implementation, and Common Pitfalls
Java Architect Essentials
Java Architect Essentials
Jul 22, 2022 · Backend Development

Using Spring Application Events for Synchronous and Asynchronous Processing

This article demonstrates how to leverage Spring Application Events to decouple business logic, showing step‑by‑step examples of defining custom events, listeners, publishing events synchronously, and enabling asynchronous handling with @EnableAsync and @Async annotations, complete with code snippets and test results.

ApplicationEventAsynchronousspring
0 likes · 9 min read
Using Spring Application Events for Synchronous and Asynchronous Processing
Architects' Tech Alliance
Architects' Tech Alliance
Jul 14, 2022 · Fundamentals

Understanding Synchronous vs Asynchronous, Blocking vs Non-Blocking, and Linux I/O Models

This article explains the concepts of synchronous and asynchronous execution, blocking and non‑blocking operations, user and kernel space, process switching, file descriptors, cache I/O, and compares various Linux I/O models such as blocking, non‑blocking, multiplexing, signal‑driven and asynchronous I/O, including the differences among select, poll and epoll.

AsynchronousBlockingLinux
0 likes · 14 min read
Understanding Synchronous vs Asynchronous, Blocking vs Non-Blocking, and Linux I/O Models
Code Ape Tech Column
Code Ape Tech Column
Jul 13, 2022 · Backend Development

Using Spring Event for Synchronous and Asynchronous Processing in Spring Cloud Alibaba Projects

This article demonstrates how to create custom Spring events, define listeners, publish events, and enable asynchronous handling with @EnableAsync and @Async annotations, providing complete code examples and test results for both synchronous and asynchronous scenarios in a Spring Cloud Alibaba micro‑service environment.

AsynchronousBackendEvent
0 likes · 9 min read
Using Spring Event for Synchronous and Asynchronous Processing in Spring Cloud Alibaba Projects
Python Programming Learning Circle
Python Programming Learning Circle
Jul 8, 2022 · Backend Development

Configuring Celery with Redis as Broker and Backend

This guide explains how to set up Celery, a distributed asynchronous task framework, to use Redis both as the message broker and result backend, covering project structure, configuration code, task definition, execution, state monitoring, and common control operations.

AsynchronousBackendPython
0 likes · 5 min read
Configuring Celery with Redis as Broker and Backend