Tagged articles
393 articles
Page 1 of 4
21CTO
21CTO
May 17, 2026 · Backend Development

Introducing PhenixPHP: A Modern Asynchronous PHP Framework

PhenixPHP is an async, concurrent PHP framework built on AmpHP and PHP Fibers that runs on the CLI, offering non‑blocking I/O, HTTP server, routing, DI, database tools, queues and expressive syntax, aiming to enrich the PHP ecosystem much like Express.js does for Node.js.

AmpHPAsynchronousBackend Framework
0 likes · 3 min read
Introducing PhenixPHP: A Modern Asynchronous PHP Framework
Architect's Tech Stack
Architect's Tech Stack
Apr 10, 2026 · Backend Development

Replace RabbitMQ with Spring Events for Cleaner Order Processing

This article explains how to refactor a monolithic order‑creation method by using Spring's built‑in ApplicationEvent mechanism, separating core logic from side‑effects such as SMS, points, and notifications, and clarifies when to choose Spring events over a message queue.

AsynchronousEvent-drivenJava
0 likes · 7 min read
Replace RabbitMQ with Spring Events for Cleaner Order Processing
Java Companion
Java Companion
Apr 7, 2026 · Backend Development

A Lighter‑Than‑MQ Asynchronous Solution: Spring’s Hidden Event‑Driven Feature

The article explains how Spring’s built‑in ApplicationEvent and @EventListener mechanism provides a lightweight, zero‑dependency alternative to external message queues for decoupling logic within the same JVM, covering core components, implementation styles, async execution, transactional listeners, pitfalls, performance comparison, and production best practices.

ApplicationEventAsynchronousEvent-driven
0 likes · 23 min read
A Lighter‑Than‑MQ Asynchronous Solution: Spring’s Hidden Event‑Driven Feature
Top Architect
Top Architect
Apr 5, 2026 · Backend Development

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

This article explains the design, principles, components, database schema, configuration, and usage of a generic asynchronous processing SDK that leverages Spring AOP, transactional events, Kafka, and a Vue UI to achieve reliable async execution and eventual consistency in Java backend systems.

AsynchronousDesign PatternsSDK
0 likes · 11 min read
Designing a Robust Asynchronous Processing SDK with Spring, Kafka and MySQL
Code Wrench
Code Wrench
Mar 31, 2026 · Artificial Intelligence

How LocalAI Turns LLMs into Fully‑Featured Agents with Async SSE and Multi‑Tenant Isolation

This article deep‑dives into LocalAI’s source code, revealing how YAML‑defined agents are transformed into Go‑based concurrent engines, how an asynchronous SSE lifecycle stream replaces simple token streaming, and how state tracking and multi‑tenant isolation enable robust, production‑grade AI programming assistants.

AsynchronousGoLocalAI
0 likes · 7 min read
How LocalAI Turns LLMs into Fully‑Featured Agents with Async SSE and Multi‑Tenant Isolation
SpringMeng
SpringMeng
Mar 2, 2026 · Backend Development

Deep Dive into an Asynchronous Spring Boot + Tesseract OCR Pipeline for Invoice Recognition

This article presents a complete design and implementation of a high‑throughput, asynchronous OCR pipeline built with Spring Boot and Tesseract, covering distributed architecture, thread‑pool tuning, image‑preprocessing, multi‑engine recognition, data extraction strategies, Kubernetes deployment, security compliance, chaos testing, and future AI‑driven enhancements.

AsynchronousGPUJava
0 likes · 10 min read
Deep Dive into an Asynchronous Spring Boot + Tesseract OCR Pipeline for Invoice Recognition
Top Architect
Top Architect
Feb 4, 2026 · Backend Development

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

This article introduces a generic asynchronous processing SDK for Java back‑ends, explaining its design principles, advantages, component architecture, database schema, configuration via Apollo, usage steps, and practical demonstrations, while providing complete code snippets and a GitHub repository for reference.

AsynchronousJavaKafka
0 likes · 12 min read
Build a Robust Asynchronous Processing SDK with Spring, Kafka and MySQL
Top Architect
Top Architect
Jan 12, 2026 · Backend Development

How to Build a Robust Asynchronous Processing SDK with Spring, Kafka, and XXL‑Job

This article explains the design and implementation of a generic asynchronous processing SDK for Java, covering its purpose, advantages, core principles, component choices, design patterns, configuration via Apollo, usage steps, safety considerations, and provides complete SQL and Spring configuration examples along with a GitHub repository link.

AsynchronousDesign PatternsJava
0 likes · 11 min read
How to Build a Robust Asynchronous Processing SDK with Spring, Kafka, and XXL‑Job
SpringMeng
SpringMeng
Jan 8, 2026 · Backend Development

How to Cut API Latency from Seconds to Milliseconds: Elegant Optimization Techniques

This article walks through a series of practical backend techniques—batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelization, indexing, transaction management, pagination, and lock granularity—to dramatically reduce API response times from several seconds to just a few milliseconds.

API optimizationAsynchronousBatch Processing
0 likes · 9 min read
How to Cut API Latency from Seconds to Milliseconds: Elegant Optimization Techniques
Architecture Breakthrough
Architecture Breakthrough
Jan 6, 2026 · Backend Development

How to Monitor and Resolve Failures in Asynchronous Task Processing

In complex systems where multiple modules must cooperate, asynchronous communication boosts throughput but often becomes a black box, so this article outlines three async patterns, their trade‑offs, and a comprehensive monitoring, alerting, and remediation framework for reliable operation.

AsynchronousBackend ArchitectureFailure Handling
0 likes · 5 min read
How to Monitor and Resolve Failures in Asynchronous Task Processing
Ray's Galactic Tech
Ray's Galactic Tech
Jan 2, 2026 · Backend Development

12 Proven Backend Optimization Techniques to Boost API Performance

Explore a comprehensive set of backend performance strategies—including asynchronous processing, multi-level caching, batch operations, and space‑time tradeoffs—detailing typical scenarios, implementation methods, and measurable effects to dramatically improve API response speed, throughput, and system stability.

AsynchronousBackendbatch-processing
0 likes · 8 min read
12 Proven Backend Optimization Techniques to Boost API Performance
JavaScript
JavaScript
Dec 29, 2025 · Frontend Development

Master Concurrent JavaScript: Replace Promise.all with Promise.allSettled

While Promise.all is the traditional way to run multiple asynchronous operations in JavaScript, it aborts the whole batch when any promise rejects, making it impossible to know which calls succeeded; Promise.allSettled overcomes this by waiting for all promises and providing a detailed status for each result.

AsynchronousJavaScriptPromise
0 likes · 5 min read
Master Concurrent JavaScript: Replace Promise.all with Promise.allSettled
Xiao Liu Lab
Xiao Liu Lab
Dec 28, 2025 · Operations

When to Use Async vs Multithreading: A Practical Guide for Ops Teams

This article explains the fundamental differences between asynchronous programming and multithreading, illustrates each with real‑world operations scenarios, outlines their key advantages and pitfalls, compares them in a concise table, and provides step‑by‑step guidance for communication, deployment, and troubleshooting.

AsynchronousDeploymentconcurrency
0 likes · 12 min read
When to Use Async vs Multithreading: A Practical Guide for Ops Teams
FunTester
FunTester
Dec 24, 2025 · Frontend Development

Avoid Stale State and Race Conditions in React useEffect – Interview‑Ready Tips

This article dissects a common React interview snippet that uses useEffect for data fetching, exposing hidden pitfalls such as component unmount updates, request race conditions, and missing error handling, and then presents a robust solution with cleanup logic and proper error management.

AsynchronousReactState Management
0 likes · 8 min read
Avoid Stale State and Race Conditions in React useEffect – Interview‑Ready Tips
Architect's Tech Stack
Architect's Tech Stack
Dec 24, 2025 · Backend Development

10 Proven Techniques to Supercharge API Performance in Java Applications

This article presents a comprehensive, step‑by‑step guide to optimizing Java‑based API interfaces, covering batch processing, asynchronous execution, caching, pre‑processing, pooling, transaction handling, pagination, SQL tuning, lock granularity, and code restructuring, with practical code examples and diagrams.

API optimizationAsynchronousBatch Processing
0 likes · 10 min read
10 Proven Techniques to Supercharge API Performance in Java Applications
php Courses
php Courses
Dec 16, 2025 · Backend Development

Master PHP Callbacks: Define, Implement, and Apply Them Effectively

This guide explains what PHP callbacks are, shows how to define them using anonymous functions or function name strings, demonstrates their implementation as function parameters and class methods, and outlines common scenarios such as event handling, asynchronous processing, and array sorting or filtering.

AsynchronousClass MethodPHP
0 likes · 4 min read
Master PHP Callbacks: Define, Implement, and Apply Them Effectively
Open Source Tech Hub
Open Source Tech Hub
Nov 17, 2025 · Backend Development

Mastering High‑Performance PHP with Swoole: Multi‑Process, Coroutine, and Async I/O Guide

Learn how Swoole transforms PHP into a high‑performance, asynchronous server by detailing its multi‑process architecture, reactor‑worker‑task model, coroutine‑enabled I/O, and practical code examples for TCP clients, HTTP servers, and file operations, enabling scalable, non‑blocking applications.

AsynchronousBackendNetwork I/O
0 likes · 7 min read
Mastering High‑Performance PHP with Swoole: Multi‑Process, Coroutine, and Async I/O Guide
Deepin Linux
Deepin Linux
Nov 16, 2025 · Fundamentals

Unlock Asynchronous Power: Master Callback Functions in 3 Minutes

This article explains what callback functions are, how they enable asynchronous programming across languages, demonstrates their implementation with JavaScript, C/C++, Python and HTML examples, and discusses practical use‑cases, advantages, pitfalls like callback hell, and modern alternatives such as Promises and async/await.

AsynchronousC++Event-driven
0 likes · 23 min read
Unlock Asynchronous Power: Master Callback Functions in 3 Minutes
Open Source Tech Hub
Open Source Tech Hub
Oct 22, 2025 · Backend Development

Boost PHP Concurrency with Pokio: Async API Guide and Code Samples

Pokio is a lightweight PHP asynchronous API that enables concurrent task execution using PCNTL and FFI, automatically falling back to sequential mode when unavailable; the guide explains installation via Composer, core functions async, await, then, catch, finally, and provides detailed code examples for promises, chaining, and error handling.

Asynchronousconcurrencypcntl
0 likes · 5 min read
Boost PHP Concurrency with Pokio: Async API Guide and Code Samples
Architect
Architect
Oct 8, 2025 · Backend Development

How xxl-job Leverages Netty and Dynamic Proxies for High‑Throughput Asynchronous RPC

This article explains how xxl-job employs Netty HTTP, dynamic proxy patterns, and fully asynchronous processing to achieve efficient remote procedure calls, detailing the communication layer, overall workflow, key design points, and the underlying Java code that synchronously retrieves results from asynchronous operations.

AsynchronousDynamic ProxyJava
0 likes · 7 min read
How xxl-job Leverages Netty and Dynamic Proxies for High‑Throughput Asynchronous RPC
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Oct 8, 2025 · Databases

Master MySQL Replication: Async, Semi‑Sync, and Full‑Sync Architectures Explained

This article outlines MySQL’s three primary replication architectures—async, semi‑sync, and full‑sync—detailing their mechanisms, typical topologies, performance trade‑offs, and suitable scenarios such as read‑heavy web services, high‑availability setups, and strict consistency requirements like financial transactions.

AsynchronousDatabase ArchitectureFull Sync
0 likes · 4 min read
Master MySQL Replication: Async, Semi‑Sync, and Full‑Sync Architectures Explained
JavaScript
JavaScript
Sep 30, 2025 · Frontend Development

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

This article explains the limitations of Promise.all, demonstrates how Promise.allSettled handles both fulfilled and rejected promises without aborting the whole operation, and shows practical code examples for building more resilient JavaScript applications.

AsynchronousJavaScriptPromise
0 likes · 5 min read
Why Promise.allSettled Beats Promise.all for Robust Async JavaScript
Deepin Linux
Deepin Linux
Sep 28, 2025 · Backend Development

Unlocking High‑Performance Delayed Tasks with Sogou’s C++ Workflow Framework

Workflow, Sogou’s open‑source C++ asynchronous framework, tackles the core challenge of efficiently processing massive delayed tasks in distributed systems by integrating a time‑wheel based scheduler, non‑blocking I/O, and lightweight APIs, delivering millisecond‑level precision and dramatically reduced resource consumption.

AsynchronousC++task scheduling
0 likes · 60 min read
Unlocking High‑Performance Delayed Tasks with Sogou’s C++ Workflow Framework
Ray's Galactic Tech
Ray's Galactic Tech
Sep 24, 2025 · Backend Development

Why Cloudflare’s Pingora Outperforms Nginx: Design, Architecture, and Benchmarks

Pingora, Cloudflare’s next‑generation proxy built with Rust and Tokio, addresses Nginx’s limitations in large‑scale deployments by introducing a global shared connection pool, asynchronous multithreaded scheduling, programmable hooks, and zero‑downtime hot updates, delivering up to 4× throughput and 70% lower CPU usage.

AsynchronousCloudflareConnection Pooling
0 likes · 8 min read
Why Cloudflare’s Pingora Outperforms Nginx: Design, Architecture, and Benchmarks
php Courses
php Courses
Sep 23, 2025 · Backend Development

Coroutines vs Fibers in PHP: Which Concurrency Model Wins?

This article explains the fundamental differences between coroutines and fibers in modern PHP, covering their concepts, implementation layers, scheduling, stack management, integration, and practical code examples, helping developers choose the right concurrency approach for high‑performance applications.

AsynchronousFiberPHP
0 likes · 10 min read
Coroutines vs Fibers in PHP: Which Concurrency Model Wins?
Code Ape Tech Column
Code Ape Tech Column
Sep 17, 2025 · Backend Development

8 Powerful Ways to Implement Asynchronous Processing in Java

Explore eight practical techniques for achieving asynchronous execution in Java—from low‑level threads and Futures to Spring’s @Async, ApplicationEvent, message queues, and Guava ListenableFuture—complete with code samples, performance insights, and best‑practice recommendations for building responsive backend services.

AsynchronousFutureJava
0 likes · 13 min read
8 Powerful Ways to Implement Asynchronous Processing in Java
Selected Java Interview Questions
Selected Java Interview Questions
Sep 16, 2025 · Backend Development

Mastering Asynchronous Responses in Spring: CompletableFuture vs ResponseBodyEmitter

This guide explains how to implement high‑performance asynchronous APIs in Spring Web using CompletableFuture and ResponseBodyEmitter, covering controller and service code, configuration, request lifecycle, client handling, Nginx settings, and practical recommendations for choosing the right approach.

AsynchronousCompletableFutureJava
0 likes · 12 min read
Mastering Asynchronous Responses in Spring: CompletableFuture vs ResponseBodyEmitter
AI Large Model Application Practice
AI Large Model Application Practice
Sep 8, 2025 · Artificial Intelligence

How to Build Reliable, High‑Performance AI Services in Enterprise Applications

When integrating generative AI into existing enterprise systems, architects must address reliability, performance, and security by applying patterns such as circuit breakers, retries with exponential backoff, asynchronous processing, caching, request hedging, input/output guards, sandboxes, and security proxies to ensure continuous, fast, and safe AI‑driven functionality.

AI integrationAsynchronousReliability
0 likes · 18 min read
How to Build Reliable, High‑Performance AI Services in Enterprise Applications
Code Mala Tang
Code Mala Tang
Aug 30, 2025 · Backend Development

How to Log API Requests Without Slowing Down Your Server

Effective API logging is essential for debugging and compliance, but naive synchronous logging can block the event loop, exhaust disk I/O, and degrade performance; this guide explains why, and provides ten practical steps—including asynchronous loggers, buffering, offloading, sensitive data masking, and monitoring—to keep your server fast and reliable.

API loggingAsynchronousLog Management
0 likes · 15 min read
How to Log API Requests Without Slowing Down Your Server
AndroidPub
AndroidPub
Aug 20, 2025 · Fundamentals

Why Blocking vs Non‑Blocking in Kotlin Coroutines Matters: Live Experiments

This article demystifies the difference between blocking and non‑blocking coroutine work in Kotlin by providing runnable examples, measuring sequential, concurrent, and asynchronous execution, and revealing how thread usage, jobs, and dispatchers affect performance and true parallelism.

AsynchronousBlockingCoroutines
0 likes · 10 min read
Why Blocking vs Non‑Blocking in Kotlin Coroutines Matters: Live Experiments
Senior Tony
Senior Tony
Aug 4, 2025 · Databases

Understanding MySQL Master‑Slave Replication: Core Principles, Modes, and Latency Mitigation

This article provides a comprehensive overview of MySQL master‑slave replication, explaining its core mechanisms, the push‑pull hybrid model, replication modes (asynchronous, full‑sync, semi‑sync), binlog formats, and practical strategies to reduce replication lag caused by large transactions, server load, and network constraints.

AsynchronousBinlogReplication
0 likes · 9 min read
Understanding MySQL Master‑Slave Replication: Core Principles, Modes, and Latency Mitigation
Code Ape Tech Column
Code Ape Tech Column
Jul 16, 2025 · Backend Development

7 Proven Spring Boot Performance Optimizations for Faster Apps

This article presents seven practical Spring Boot performance tuning techniques—including asynchronous execution, Tomcat connection tuning, component scanning, switching to Undertow, BufferedWriter usage, DeferredResult handling, and AsyncHandlerInterceptor interception—each illustrated with concise Java code examples to help developers boost application speed and scalability.

AsynchronousJavaPerformance Optimization
0 likes · 9 min read
7 Proven Spring Boot Performance Optimizations for Faster Apps
Lin is Dream
Lin is Dream
Jul 16, 2025 · Backend Development

Boost Your Java Backend with Spring WebFlux: Real‑World Mono Patterns for High Concurrency

This article, part of an async‑programming series, explains how Spring WebFlux’s non‑blocking Mono model can replace traditional Spring MVC blocking calls, presents common business scenarios, provides ready‑to‑use code templates, and demonstrates the performance benefits of reactive programming for high‑throughput Java backends.

AsynchronousJavamono
0 likes · 9 min read
Boost Your Java Backend with Spring WebFlux: Real‑World Mono Patterns for High Concurrency
Lin is Dream
Lin is Dream
Jul 10, 2025 · Fundamentals

Understanding Sync, Async, Blocking, and Non‑Blocking: A Clear Guide

This article demystifies the four core concurrency concepts—synchronous, asynchronous, blocking, and non‑blocking—explaining their meanings, relationships, and practical implications with clear examples and a comparison table, helping developers choose the right model for high‑performance, scalable systems.

AsynchronousBlockingNon-blocking
0 likes · 7 min read
Understanding Sync, Async, Blocking, and Non‑Blocking: A Clear Guide
Architect
Architect
Jul 4, 2025 · Backend Development

Async Requests in Spring Boot: Callable, WebAsyncTask & DeferredResult

This article explains how Spring Boot supports asynchronous request processing, comparing pre‑Servlet 3.0 synchronous handling with post‑Servlet 3.0 async features, and demonstrates four implementation approaches—Callable, WebAsyncTask, DeferredResult, and thread‑pool configuration—while outlining when asynchronous requests improve throughput and how to manage their lifecycle.

AsynchronousCallableDeferredResult
0 likes · 10 min read
Async Requests in Spring Boot: Callable, WebAsyncTask & DeferredResult
FunTester
FunTester
Jul 2, 2025 · Backend Development

Master Non‑Blocking & Streaming gRPC Clients in Java for High‑Performance Testing

Learn how to create and use non‑blocking (asynchronous) and streaming gRPC clients in Java, covering stub creation, request handling with ListenableFuture, blocking vs listener approaches, and stream observer implementation, enabling high‑concurrency performance testing and real‑time data processing scenarios.

AsynchronousJavaPerformance Testing
0 likes · 7 min read
Master Non‑Blocking & Streaming gRPC Clients in Java for High‑Performance Testing
JavaScript
JavaScript
Jun 27, 2025 · Frontend Development

How setTimeout(fn, 0) Unblocks the Main Thread and Boosts UI Responsiveness

Using setTimeout(fn, 0) tricks the JavaScript event loop to downgrade heavy tasks to asynchronous callbacks, freeing the main thread for UI rendering and user interactions, and the article explains the underlying mechanics, practical examples, and modern alternatives like requestAnimationFrame, queueMicrotask, and Web Workers.

AsynchronousJavaScriptevent loop
0 likes · 10 min read
How setTimeout(fn, 0) Unblocks the Main Thread and Boosts UI Responsiveness
Architect's Tech Stack
Architect's Tech Stack
Jun 22, 2025 · Backend Development

Boost API Performance: 12 Proven Backend Optimization Techniques

This article presents a comprehensive set of twelve backend optimization strategies—including batch processing, asynchronous execution, caching, pooling, parallelism, indexing, transaction management, and SQL tuning—to dramatically reduce API latency and improve overall system efficiency.

API optimizationAsynchronousBackend Performance
0 likes · 9 min read
Boost API Performance: 12 Proven Backend Optimization Techniques
Code Ape Tech Column
Code Ape Tech Column
Jun 20, 2025 · Backend Development

Mastering Asynchronous Processing in Java: Build a Robust SDK with Spring

This article introduces a generic asynchronous processing SDK for Java, explaining its purpose, advantages, underlying principles, component choices such as Kafka, XXL‑Job, MySQL, and Spring AOP, and provides detailed configuration, database schema, usage examples, and best‑practice guidelines to achieve reliable, non‑blocking execution and eventual consistency in backend systems.

AsynchronousBackendKafka
0 likes · 9 min read
Mastering Asynchronous Processing in Java: Build a Robust SDK with Spring
Tencent Cloud Developer
Tencent Cloud Developer
Jun 17, 2025 · Backend Development

Why Middleware Client APIs Crash: Real‑World Tcaplus and Pulsar Debugging Stories

This article explains the complexity of middleware client APIs, shares two real external‑network failures— a Tcaplus callback coredump and a Pulsar Go deadlock— analyzes their root causes, and outlines practical design guidelines to build clear, asynchronous, fault‑tolerant, and maintainable backend APIs.

AsynchronousDebuggingDesign
0 likes · 13 min read
Why Middleware Client APIs Crash: Real‑World Tcaplus and Pulsar Debugging Stories
Su San Talks Tech
Su San Talks Tech
Jun 7, 2025 · Backend Development

10 Proven Strategies to Supercharge API Performance in Java Applications

This article presents a comprehensive set of practical techniques—including batch processing, asynchronous execution, caching, preprocessing, pooling, parallelization, indexing, pagination, SQL tuning, and lock granularity—to dramatically reduce API latency and improve overall backend system efficiency.

API optimizationAsynchronousBackend Performance
0 likes · 12 min read
10 Proven Strategies to Supercharge API Performance in Java Applications
Architect
Architect
Jun 3, 2025 · Backend Development

Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult

This article explains how Spring Boot supports asynchronous request handling after Servlet 3.0, compares four async mechanisms—AsyncContext, Callable, WebAsyncTask, and DeferredResult—provides code examples for each, discusses thread‑pool configuration, and outlines when asynchronous processing improves throughput.

AsynchronousCallableDeferredResult
0 likes · 11 min read
Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult
Code Mala Tang
Code Mala Tang
May 31, 2025 · Backend Development

How to Overcome FastAPI’s CPU‑Bound Bottlenecks: Practical Parallelism Strategies

This article explains why FastAPI struggles with CPU‑intensive tasks due to Python’s Global Interpreter Lock, describes the types of workloads affected, and provides concrete solutions such as background task queues, microservices, ProcessPoolExecutor, and C/C++ extensions to keep APIs responsive and scalable.

AsynchronousCPU BoundFastAPI
0 likes · 8 min read
How to Overcome FastAPI’s CPU‑Bound Bottlenecks: Practical Parallelism Strategies
Top Architecture Tech Stack
Top Architecture Tech Stack
May 26, 2025 · Backend Development

Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult

This article explains how to implement asynchronous request handling in Spring Boot using four approaches—AsyncContext, Callable, WebAsyncTask, and DeferredResult—detailing their mechanisms, code examples, thread pool configuration, and when to choose async processing to improve throughput.

AsynchronousCallableDeferredResult
0 likes · 10 min read
Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
May 22, 2025 · Big Data

Optimizing Kafka Producer for High Throughput: Batching, Asynchronous Sending, Compression, and Concurrency

This article details practical techniques for boosting Kafka producer throughput, covering batch sending optimization, linger.ms tuning, asynchronous send handling, compression options, and concurrent sending strategies, while providing code examples and performance considerations for high‑throughput streaming applications.

AsynchronousBatchingHigh Throughput
0 likes · 4 min read
Optimizing Kafka Producer for High Throughput: Batching, Asynchronous Sending, Compression, and Concurrency
Code Mala Tang
Code Mala Tang
May 16, 2025 · Backend Development

How to Run Non-Blocking Background Tasks in FastAPI with BackgroundTasks

FastAPI’s BackgroundTasks feature lets you register functions that run after a response is sent, enabling non‑blocking operations such as sending emails, logging, or cleaning resources, with simple code examples, parameter details, and insights into its Starlette‑based implementation and limitations.

AsynchronousBackgroundTasksFastAPI
0 likes · 6 min read
How to Run Non-Blocking Background Tasks in FastAPI with BackgroundTasks
Liangxu Linux
Liangxu Linux
May 12, 2025 · Fundamentals

Essential Embedded Concepts: Stack Watermark, Copy Techniques, Sync/Async, Memory Barriers

This article explains key embedded software concepts, including how stack watermark detection tracks maximum stack usage, the differences between shallow and deep copying of data structures, the distinction between synchronous and asynchronous processing, and the role of memory barriers in enforcing operation ordering on weakly consistent architectures.

AsynchronousSynchronousdeep copy
0 likes · 7 min read
Essential Embedded Concepts: Stack Watermark, Copy Techniques, Sync/Async, Memory Barriers
Cognitive Technology Team
Cognitive Technology Team
Apr 29, 2025 · Backend Development

Common CompletableFuture Pitfalls and Best Practices in Java

This article examines the powerful Java CompletableFuture class, identifies frequent misuse pitfalls such as ignored exceptions, wrong thread‑pool choices, blocking callbacks, context loss, and overly fragmented chains, and provides concrete avoidance strategies and best‑practice recommendations for robust asynchronous programming.

AsynchronousCompletableFutureException Handling
0 likes · 9 min read
Common CompletableFuture Pitfalls and Best Practices in Java
php Courses
php Courses
Apr 18, 2025 · Backend Development

Optimizing Email Sending with PHP Asynchronous Coroutines

This article explains how to improve the speed and stability of bulk email delivery in modern web applications by using PHP asynchronous coroutines, detailing the underlying principles, advantages over synchronous sending, and providing a complete code example with Swoole, PHPMailer, and channel coordination.

AsynchronousBackendCoroutines
0 likes · 5 min read
Optimizing Email Sending with PHP Asynchronous Coroutines
Java Captain
Java Captain
Apr 16, 2025 · Backend Development

Design and Implementation of a Generic Asynchronous Processing SDK for Spring Applications

This article describes a generic asynchronous processing SDK built on Spring that leverages transaction events, AOP, and a combination of Kafka, XXL‑Job, and MySQL to provide non‑intrusive, reliable, and idempotent async execution with configurable strategies, security levels, and monitoring dashboards.

AsynchronousEvent-driventransaction
0 likes · 11 min read
Design and Implementation of a Generic Asynchronous Processing SDK for Spring Applications
macrozheng
macrozheng
Mar 28, 2025 · Backend Development

Boost API Performance: 12 Proven Backend Optimization Techniques

This article presents a comprehensive set of backend optimization strategies—including batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelism, indexing, transaction management, program refactoring, pagination, SQL tuning, and fine‑grained locking—to dramatically reduce API latency and improve system efficiency.

API optimizationAsynchronousBackend Performance
0 likes · 10 min read
Boost API Performance: 12 Proven Backend Optimization Techniques
JavaScript
JavaScript
Mar 24, 2025 · Frontend Development

Why Callbacks Are Fading: From Callback Hell to Async/Await

Callback functions, once fundamental to asynchronous JavaScript, suffer from deep nesting, poor error handling, and maintenance challenges, prompting developers to adopt modern alternatives like Promises and async/await, which offer clearer flow, unified error management, and better integration with contemporary frameworks.

AsynchronousCallbacksJavaScript
0 likes · 6 min read
Why Callbacks Are Fading: From Callback Hell to Async/Await
IT Services Circle
IT Services Circle
Mar 22, 2025 · Backend Development

Nine Ways to Implement Asynchronous Programming in Java

This article introduces nine different approaches to achieve asynchronous programming in Java, including using Thread and Runnable, Executors thread pools, custom thread pools, Future and Callable, CompletableFuture, ForkJoinPool, Spring @Async, message queues, and Hutool's ThreadUtil, with code examples and usage tips.

AsynchronousCompletableFutureExecutor
0 likes · 15 min read
Nine Ways to Implement Asynchronous Programming in Java
Java Tech Enthusiast
Java Tech Enthusiast
Mar 22, 2025 · Backend Development

9 Ways to Implement Asynchronous Programming in Java

The article outlines nine practical approaches for asynchronous programming in Java—including low‑level Thread/Runnable, managed Executors and custom thread pools, Future/Callable, CompletableFuture, ForkJoinPool, Spring’s @Async annotation, message‑queue integration, and the Hutool ThreadUtil utility—offering a comprehensive toolbox for scalable, non‑blocking execution.

AsynchronousCompletableFutureExecutor
0 likes · 13 min read
9 Ways to Implement Asynchronous Programming in Java
Architect's Tech Stack
Architect's Tech Stack
Mar 17, 2025 · Backend Development

Comprehensive Interface Performance Optimization Strategies

This article presents a systematic guide to improving API response times by applying batch processing, asynchronous execution, caching, pooling, parallelism, indexing, transaction management, pagination, SQL tuning, and proper lock granularity, supplemented with practical Java code examples and diagrams.

AsynchronousBatch ProcessingSQL pagination
0 likes · 10 min read
Comprehensive Interface Performance Optimization Strategies
Open Source Tech Hub
Open Source Tech Hub
Mar 2, 2025 · Backend Development

Can PHP Achieve True Asynchronous Execution? Inside the True Async RFC

This article examines the PHP True Async RFC, outlining its goals to provide a standard C‑API for non‑blocking I/O, describing implicit versus explicit async models, presenting a scheduler‑reactor design, and showing example code that runs concurrent fibers without altering existing PHP code.

AsynchronousPHPconcurrency
0 likes · 7 min read
Can PHP Achieve True Asynchronous Execution? Inside the True Async RFC
dbaplus Community
dbaplus Community
Jan 23, 2025 · Backend Development

10 Proven Techniques to Supercharge Java API Performance

This guide presents a comprehensive set of practical strategies—including batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelization, indexing, transaction sizing, program refactoring, pagination, SQL tuning, and lock granularity—to dramatically reduce API latency in Java backend services.

API optimizationAsynchronousJava
0 likes · 10 min read
10 Proven Techniques to Supercharge Java API Performance
Top Architecture Tech Stack
Top Architecture Tech Stack
Jan 21, 2025 · Backend Development

Common Backend Interface Performance Optimization Techniques

This article presents a comprehensive set of backend API performance optimization methods—including batch processing, asynchronous execution, caching, preprocessing, pooling, parallelization, indexing, transaction handling, pagination, SQL tuning, and lock granularity—illustrated with code snippets and diagrams to help developers improve response times and resource efficiency.

APIAsynchronousBackend
0 likes · 12 min read
Common Backend Interface Performance Optimization Techniques
Open Source Tech Hub
Open Source Tech Hub
Jan 18, 2025 · Backend Development

What New Features Does workerman v5 Bring to PHP Coroutines?

The article explains workerman v5’s major updates—including a revolt/event-loop based engine and multi‑implementation coroutine support—while detailing PHP coroutine concepts, practical async export examples, code snippets, and the future challenges of expanding coroutine ecosystems in PHP.

AsynchronousPHPcoroutine
0 likes · 8 min read
What New Features Does workerman v5 Bring to PHP Coroutines?
IT Architects Alliance
IT Architects Alliance
Jan 1, 2025 · Backend Development

Comprehensive Guide to IT Architecture Optimization for System Performance

This article explores practical techniques for boosting system performance through IT architecture optimization, covering caching strategies, database query and connection‑pool tuning, load‑balancing, asynchronous messaging, code‑level refinements, memory pooling, network tricks, and real‑world case studies.

AsynchronousCode Optimizationcaching
0 likes · 18 min read
Comprehensive Guide to IT Architecture Optimization for System Performance
Open Source Tech Hub
Open Source Tech Hub
Dec 18, 2024 · Backend Development

What’s New in Swoole v6.0.0? Multithreading, iouring, and Core Optimizations Explained

Swoole v6.0.0 introduces multithreaded mode, new thread classes and synchronization primitives, iouring‑based asynchronous file I/O, numerous bug fixes, kernel optimizations, and deprecations, providing developers with enhanced performance, richer APIs, and broader platform compatibility for high‑concurrency PHP applications.

AsynchronousPHPSwoole
0 likes · 12 min read
What’s New in Swoole v6.0.0? Multithreading, iouring, and Core Optimizations Explained
php Courses
php Courses
Dec 11, 2024 · Backend Development

Optimizing Email Sending with PHP Asynchronous Coroutines

This article explains how to use PHP asynchronous coroutines and Swoole to concurrently send large volumes of email, improving speed, stability, and resource usage, and includes a complete code example with PHPMailer integration.

AsynchronousPHPSwoole
0 likes · 6 min read
Optimizing Email Sending with PHP Asynchronous Coroutines
php Courses
php Courses
Dec 2, 2024 · Backend Development

Understanding PHP 8.1 Fibers: How They Work and Their Limitations

This article explains PHP 8.1 Fibers, describing their cooperative multitasking mechanism, how suspension and resumption affect the main script, why they do not provide true asynchronous execution, and how they can be combined with event loops for more efficient non‑blocking code in backend development.

AsynchronousBackendFibers
0 likes · 7 min read
Understanding PHP 8.1 Fibers: How They Work and Their Limitations
Top Architect
Top Architect
Nov 21, 2024 · Backend Development

Design and Architecture of a Scalable Payment System

This article presents a comprehensive overview of payment system architecture, detailing core transaction and payment modules, service governance, data consistency, asynchronous processing, performance testing, and practical production practices for building a robust backend payment platform.

AsynchronousBackendpayment
0 likes · 11 min read
Design and Architecture of a Scalable Payment System
DevOps
DevOps
Nov 19, 2024 · Backend Development

10 Common Interface Performance Optimization Techniques for Backend Development

This article presents ten widely applicable backend performance‑optimization strategies—including defensive validation, batch processing to eliminate N+1 queries, asynchronous execution, parallelism, caching, connection pooling, security hardening, compression, message‑queue decoupling, and design‑pattern reuse—each illustrated with Go code examples and practical case studies.

AsynchronousBackendDesign Patterns
0 likes · 30 min read
10 Common Interface Performance Optimization Techniques for Backend Development
FunTester
FunTester
Oct 31, 2024 · Backend Development

Understanding Java ExecutorService: Core Concepts, Thread Pools, and Practical Usage

This article explains how Java's ExecutorService abstracts and simplifies asynchronous task execution, covering core features, thread‑pool configurations, task submission methods, future management, shutdown procedures, rejection policies, and real‑world code examples for network requests, image processing, and background tasks.

AsynchronousExecutorServiceJava
0 likes · 20 min read
Understanding Java ExecutorService: Core Concepts, Thread Pools, and Practical Usage
FunTester
FunTester
Oct 12, 2024 · Frontend Development

Mastering JavaScript Asynchronous Programming: Callbacks, Promises, and async/await

JavaScript’s single‑threaded nature makes asynchronous programming essential, and this guide explains callbacks, promises (including states and chaining), and async/await syntax with clear examples, illustrating how each technique avoids blocking the main thread and improves code readability and error handling.

AsynchronousCallbacksJavaScript
0 likes · 9 min read
Mastering JavaScript Asynchronous Programming: Callbacks, Promises, and async/await
Architecture Digest
Architecture Digest
Oct 11, 2024 · Backend Development

Common Interface Performance Optimization Techniques

This article outlines a series of backend interface performance optimization strategies—including batch processing, asynchronous execution, caching, preprocessing, pooling, parallelization, indexing, transaction management, program structure refactoring, deep pagination, SQL tuning, and lock granularity—to help developers reduce latency and improve system efficiency.

AsynchronousBatch Processingcaching
0 likes · 9 min read
Common Interface Performance Optimization Techniques
Java Backend Technology
Java Backend Technology
Sep 18, 2024 · Backend Development

Why Fast‑Retry Beats Spring‑Retry for Massive Asynchronous Retries

Fast‑Retry is a high‑performance, multi‑task asynchronous retry framework for Java that dramatically outperforms traditional synchronous retry libraries like Spring‑Retry and Guava‑Retry, especially when handling millions of tasks, by leveraging non‑blocking execution, customizable strategies, and seamless Spring integration.

AsynchronousJavaRetry
0 likes · 13 min read
Why Fast‑Retry Beats Spring‑Retry for Massive Asynchronous Retries
php Courses
php Courses
Sep 11, 2024 · Backend Development

Optimizing Email Sending with PHP Asynchronous Coroutines

This article explains how to improve the speed and stability of bulk email delivery in modern web applications by using PHP asynchronous coroutines with Swoole, providing a detailed code example that leverages PHPMailer, channels, and coroutine management.

AsynchronousBackendEmail
0 likes · 5 min read
Optimizing Email Sending with PHP Asynchronous Coroutines
Code Ape Tech Column
Code Ape Tech Column
Sep 9, 2024 · Backend Development

Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult

This article explains how Spring Boot supports asynchronous request processing using Servlet 3.0 features and four approaches—AsyncContext, Callable, WebAsyncTask, and DeferredResult—provides code examples, thread‑pool configuration, and guidance on when to apply async handling to improve throughput.

AsynchronousCallableDeferredResult
0 likes · 9 min read
Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult
Architecture and Beyond
Architecture and Beyond
Sep 7, 2024 · Backend Development

Six Proven Backend Techniques to Supercharge System Performance

This comprehensive guide walks backend architects through six core optimization methods—caching, batch processing, asynchronous handling, data compression, parallelization, and eliminating unnecessary requests—detailing their problem domains, implementation strategies, real‑world scenarios, benefits, and trade‑offs.

AsynchronousBackendBatch Processing
0 likes · 48 min read
Six Proven Backend Techniques to Supercharge System Performance
Top Architect
Top Architect
Aug 19, 2024 · Backend Development

Using Spring TransactionSynchronizationManager for Transaction Hooks and Asynchronous Kafka Messaging

This article explains how to leverage Spring's TransactionSynchronizationManager to detect active transactions, register synchronization callbacks, and asynchronously send Kafka messages after transaction commit, providing a starter library design for Java backend services that need reliable transaction‑aware messaging.

AsynchronousJavaTransactionSynchronizationManager
0 likes · 12 min read
Using Spring TransactionSynchronizationManager for Transaction Hooks and Asynchronous Kafka Messaging
FunTester
FunTester
Aug 15, 2024 · Backend Development

9 Proven Techniques to Supercharge Service Performance

This article outlines nine practical methods—caching, parallelization, batch processing, data compression, lock‑free design, sharding, request avoidance, pooling, and asynchronous handling—demonstrating how each can be applied to backend services to dramatically reduce latency and improve throughput.

AsynchronousBatch ProcessingParallelism
0 likes · 25 min read
9 Proven Techniques to Supercharge Service Performance
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 5, 2024 · Backend Development

Boost SpringBoot Reliability with Fast‑Retry Asynchronous Retry Framework

Fast‑Retry is a high‑performance, asynchronous retry framework for SpringBoot that handles millions of concurrent tasks, offering configurable retry attempts, delay, exception handling, and custom result policies, and outperforms traditional synchronous solutions like Spring‑Retry and Guava‑Retry in throughput and resource usage.

AsynchronousRetrySpringBoot
0 likes · 8 min read
Boost SpringBoot Reliability with Fast‑Retry Asynchronous Retry Framework
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 1, 2024 · Backend Development

Backend API Design Best Practices

This article outlines comprehensive backend API design guidelines, covering parameter validation, extensibility, idempotency, logging, thread‑pool isolation, third‑party error handling, asynchronous processing, parallel queries, rate limiting, security, lock granularity, and strategies to avoid long‑running transactions.

AsynchronousBackendIdempotency
0 likes · 11 min read
Backend API Design Best Practices
Open Source Tech Hub
Open Source Tech Hub
Jul 20, 2024 · Backend Development

Mastering lua-resty-http: Asynchronous HTTP Requests in OpenResty

This article introduces lua-resty-http, a non‑blocking Lua library for OpenResty, outlines its key features, typical use cases, installation steps, and provides both basic and advanced code examples—including configuration, Lua scripts, and caching strategies—to help developers efficiently perform HTTP requests within Nginx.

AsynchronousCacheHTTP
0 likes · 12 min read
Mastering lua-resty-http: Asynchronous HTTP Requests in OpenResty
Code Mala Tang
Code Mala Tang
Jul 15, 2024 · Frontend Development

Mastering JavaScript Event Loop: How Browsers and Node Handle Async Tasks

This article demystifies the JavaScript event loop, explaining how browsers and environments like Node.js manage asynchronous tasks through call stacks, macro‑ and micro‑task queues, and various implementation libraries, illustrated with clear code examples and comparisons across Chrome, Firefox, Safari, Edge, Electron, and Deno.

AsynchronousBrowserNode.js
0 likes · 11 min read
Mastering JavaScript Event Loop: How Browsers and Node Handle Async Tasks
FunTester
FunTester
Jun 17, 2024 · Backend Development

Mastering Java CompletableFuture: Simplify Asynchronous Programming

This article explains how Java's CompletableFuture extends traditional concurrency tools with rich APIs for parallel execution, chaining, error handling, and timeout management, providing clear code examples that demonstrate building maintainable asynchronous applications.

AsynchronousCompletableFutureExecutorService
0 likes · 10 min read
Mastering Java CompletableFuture: Simplify Asynchronous Programming
php Courses
php Courses
Jun 13, 2024 · Backend Development

Beginner Node.js Course: Fundamentals and Core Technologies

This beginner-friendly Node.js course guides learners through installation, environment setup, asynchronous programming, module systems, event-driven architecture, and building efficient web servers with practical examples covering HTTP handling, file operations, and database integration.

AsynchronousModulesNode.js
0 likes · 3 min read
Beginner Node.js Course: Fundamentals and Core Technologies
Architect
Architect
Jun 6, 2024 · Backend Development

Why Fast‑Retry Beats Spring‑Retry for Million‑Task Scenarios

The article explains how Fast‑Retry, an asynchronous multi‑task retry framework, dramatically outperforms synchronous retry libraries like Spring‑Retry and Guava‑Retry when handling massive workloads, and provides step‑by‑step code examples, performance benchmarks, and integration tips for Java developers.

AsynchronousBackendJava
0 likes · 8 min read
Why Fast‑Retry Beats Spring‑Retry for Million‑Task Scenarios
Architect's Guide
Architect's Guide
May 26, 2024 · Backend Development

Applying Abstract Methods, Anonymous Inner Classes, and Future Pattern for Highly Abstracted Java Service Design

The article demonstrates how to achieve high abstraction in Java by using abstract methods overridden by subclasses, passing behavior through anonymous inner classes, and implementing an asynchronous Future pattern with listeners to handle request results, providing complete code examples for each technique.

Abstract ClassAsynchronousBackend Development
0 likes · 8 min read
Applying Abstract Methods, Anonymous Inner Classes, and Future Pattern for Highly Abstracted Java Service Design
macrozheng
macrozheng
May 23, 2024 · Backend Development

How to Split and Optimize Large Database Transactions for Faster APIs

This article explains why large database transactions degrade backend API performance and presents practical techniques—such as avoiding RPC inside transactions, using programmatic transactions, batching data, splitting into smaller transactions, and applying asynchronous processing—to dramatically improve efficiency.

AsynchronousJavaSpringBoot
0 likes · 9 min read
How to Split and Optimize Large Database Transactions for Faster APIs
php Courses
php Courses
May 23, 2024 · Backend Development

Why Node.js Outperforms Traditional PHP for Large-Scale E-commerce Platforms

Traditional PHP architectures suffer from single‑threaded request handling that slows page loads on high‑traffic e‑commerce sites, whereas Node.js’s asynchronous, non‑blocking I/O and event‑driven architecture provide faster loading, superior scalability, and real‑time capabilities, making it a better fit for platforms like Amazon.

AsynchronousNode.jsPHP
0 likes · 5 min read
Why Node.js Outperforms Traditional PHP for Large-Scale E-commerce Platforms