Tag

Async

2 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 14, 2025 · Backend Development

Boost Spring Boot 3 Performance: Caching, Actuator, Async & DB Tuning

This guide explains how to improve Spring Boot 3 applications by using Actuator for monitoring, enabling caching, optimizing database connections with HikariCP, and applying asynchronous request handling and tasks to achieve faster response times and better resource utilization.

ActuatorAsyncCaching
0 likes · 8 min read
Boost Spring Boot 3 Performance: Caching, Actuator, Async & DB Tuning
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 4, 2025 · Backend Development

Master Spring Boot Interceptors: From Basics to Advanced Techniques

This article explains what Spring MVC interceptors are, when to use them, provides a simple implementation and registration example, and then dives into advanced patterns such as MappedInterceptor, global interceptors, and asynchronous interceptors with complete code snippets and usage guidance.

AsyncBackendInterceptor
0 likes · 8 min read
Master Spring Boot Interceptors: From Basics to Advanced Techniques
Code Mala Tang
Code Mala Tang
May 27, 2025 · Backend Development

Mastering Database Connections in FastAPI: Best Practices and Code Samples

Learn how to efficiently configure and manage database connections in FastAPI, covering synchronous and asynchronous setups, dependency injection, session handling, and testing strategies, to prevent leaks, boost performance, and ensure scalable, reliable applications.

AsyncConnection ManagementDatabase
0 likes · 8 min read
Mastering Database Connections in FastAPI: Best Practices and Code Samples
Java Architect Essentials
Java Architect Essentials
May 25, 2025 · Backend Development

Simplifying Asynchronous Tasks in Spring Boot with @Async Annotation

Spring Boot's @Async annotation enables developers to replace manual thread and thread‑pool management with simple method annotations, providing automatic asynchronous execution, customizable thread pools, and flexible return types such as Future and CompletableFuture, thereby streamlining code, improving efficiency, and reducing complexity in backend services.

AsyncBackendJava
0 likes · 7 min read
Simplifying Asynchronous Tasks in Spring Boot with @Async Annotation
Code Mala Tang
Code Mala Tang
May 20, 2025 · Backend Development

Master FastAPI’s Application Lifecycle: From Startup to Shutdown

This guide explains FastAPI’s full application lifecycle—including startup initialization, middleware handling, request processing steps, background tasks, and graceful shutdown—so developers can design, debug, and deploy robust asynchronous APIs efficiently.

APIApplication LifecycleAsync
0 likes · 7 min read
Master FastAPI’s Application Lifecycle: From Startup to Shutdown
Code Mala Tang
Code Mala Tang
May 12, 2025 · Backend Development

How to Build a FastAPI Service with RabbitMQ Consumer & Publisher

This guide walks through creating a FastAPI application that both publishes and consumes messages via RabbitMQ, detailing the setup of a Pika client, asynchronous consumer, message handling, API routes, and deployment with uvicorn, complete with code snippets and testing instructions.

AsyncFastAPIMessage Queue
0 likes · 7 min read
How to Build a FastAPI Service with RabbitMQ Consumer & Publisher
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 10, 2025 · Backend Development

7 Advanced Spring Boot Cases: Resilience4j, Actuator, Cache & More

This article presents seven advanced Spring Boot topics—including Resilience4j circuit breaking, custom Actuator health checks, Saga-based distributed transactions, cache optimization, asynchronous processing, Gateway vs. Zuul, and OAuth2/JWT security—each illustrated with concise explanations, implementation steps, and code samples.

ActuatorAsyncCache
0 likes · 11 min read
7 Advanced Spring Boot Cases: Resilience4j, Actuator, Cache & More
Architect's Tech Stack
Architect's Tech Stack
May 9, 2025 · Backend Development

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

This article explains how to use Spring Boot's asynchronous request handling with Callable, WebAsyncTask, and DeferredResult, compares their processing flows, shows how to configure a custom thread pool, and discusses when asynchronous endpoints improve throughput in backend services.

AsyncCallableDeferredResult
0 likes · 9 min read
Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 6, 2025 · Backend Development

Why @Transactional Fails with @Async in Spring Boot 3 – A Deep Dive

This article explains how @Transactional and @Async normally cooperate in Spring Boot, demonstrates cases where the transaction does not roll back when @EnableAsync order is changed, analyzes the underlying AOP proxy creation and bean post‑processor execution order, and introduces new Spring 6.2 transaction‑rollback configuration options.

AOPAsyncSpring Boot
0 likes · 9 min read
Why @Transactional Fails with @Async in Spring Boot 3 – A Deep Dive
php中文网 Courses
php中文网 Courses
Apr 23, 2025 · Backend Development

Key New Features in PHP 9.0 and Their Impact on Modern Web Development

PHP 9.0 introduces a dramatically optimized JIT compiler, native generics and advanced type system, a stabilized fiber‑based async model, numerous developer‑experience enhancements, and strong backward‑compatibility tools, together delivering 15‑25% speed gains, lower memory usage, and better scalability for modern web applications.

AsyncBackendJIT
0 likes · 7 min read
Key New Features in PHP 9.0 and Their Impact on Modern Web Development
Java Captain
Java Captain
Apr 22, 2025 · Backend Development

Implementing Asynchronous Calls in SpringBoot with @Async

This article explains why asynchronous programming improves concurrency in SpringBoot applications, describes how to enable @Async support, configure a custom ThreadPoolTaskExecutor, annotate methods for async execution, and outlines the underlying proxy mechanism that powers @Async.

AsyncAsyncJava
0 likes · 5 min read
Implementing Asynchronous Calls in SpringBoot with @Async
Code Mala Tang
Code Mala Tang
Apr 18, 2025 · Backend Development

Why HTTPX Beats Requests: 5 Key Differences Every Python Backend Should Know

Discover the five crucial differences between the classic requests library and the modern httpx client—including async support, HTTP/2, type hints, streaming APIs, and client lifecycle management—so you can choose the right tool for high‑performance Python backend projects.

AsyncHTTP ClientHTTP/2
0 likes · 9 min read
Why HTTPX Beats Requests: 5 Key Differences Every Python Backend Should Know
Code Ape Tech Column
Code Ape Tech Column
Apr 15, 2025 · Backend Development

Understanding the Compatibility of @Transactional and @Async in Spring

This tutorial explains how Spring's @Transactional and @Async annotations work, explores their interaction in various scenarios such as bank‑transfer examples, discusses thread‑context propagation, highlights pitfalls when mixing them, and provides best‑practice recommendations for maintaining data integrity.

AsyncAsynchronous ExecutionBackend Development
0 likes · 11 min read
Understanding the Compatibility of @Transactional and @Async in Spring
Java Architect Essentials
Java Architect Essentials
Apr 14, 2025 · Backend Development

Asynchronous Request Handling in Spring Boot: Callable, WebAsyncTask, and DeferredResult

This article explains how to implement asynchronous request handling in Spring Boot using Callable, WebAsyncTask, and DeferredResult, detailing their processing flow, configuration of thread pools, and scenarios where async requests improve throughput while outlining potential trade‑offs.

AsyncCallableDeferredResult
0 likes · 10 min read
Asynchronous Request Handling in Spring Boot: Callable, WebAsyncTask, and DeferredResult
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 9, 2025 · Backend Development

Master Spring Boot 3: 8 Real-World Cases to Boost Your Backend Skills

This article presents eight practical Spring Boot 3 examples—including Resilience4j protection, custom Actuator endpoints, distributed transactions, caching, asynchronous programming, API gateway, OAuth2/JWT security, and scheduled tasks—each with code snippets and configuration guidance to help developers build robust backend services.

ActuatorAsyncCaching
0 likes · 8 min read
Master Spring Boot 3: 8 Real-World Cases to Boost Your Backend Skills
Architecture Digest
Architecture Digest
Apr 6, 2025 · Backend Development

Design and Implementation of a General‑Purpose Asynchronous Processing SDK for Backend Systems

This article introduces a reusable asynchronous processing SDK built on Spring, Kafka, and MySQL that leverages @AsyncExec annotations, transactional event listeners, and configurable thread pools to ensure reliable, non‑blocking execution, data consistency, and fault‑tolerant handling of business logic in backend applications.

AsyncBackendJava
0 likes · 8 min read
Design and Implementation of a General‑Purpose Asynchronous Processing SDK for Backend Systems
Code Mala Tang
Code Mala Tang
Mar 26, 2025 · Backend Development

Boost FastAPI Performance: 9 Proven Techniques with Code Samples

Learn how to dramatically improve FastAPI application speed by implementing asynchronous endpoints, database connection pooling, Redis caching, query optimization, Gzip compression, background tasks, performance monitoring, CDN static file serving, and faster JSON serialization with ujson, each illustrated with practical code examples.

AsyncBackground TasksCaching
0 likes · 7 min read
Boost FastAPI Performance: 9 Proven Techniques with Code Samples
Code Ape Tech Column
Code Ape Tech Column
Mar 19, 2025 · Backend Development

ExecutorService vs CompletionService: In‑Depth Comparison and Practical Usage in Java

This article explains the differences between ExecutorService and CompletionService, demonstrates how to replace a simple Future‑based approach with CompletionService for faster result retrieval, analyzes the underlying source code, and outlines typical use‑cases such as load‑balancing and early‑return patterns in concurrent Java applications.

AsyncCompletionServiceExecutorService
0 likes · 12 min read
ExecutorService vs CompletionService: In‑Depth Comparison and Practical Usage in Java
Architecture Development Notes
Architecture Development Notes
Mar 16, 2025 · Backend Development

Choosing the Right Concurrency Model: Go vs Python vs Rust

This article compares Go, Python, and Rust concurrency implementations—covering CSP‑based goroutines, GIL constraints, and ownership‑driven thread safety—to help developers select the most suitable model for high‑throughput, CPU‑bound, or safety‑critical applications.

AsyncConcurrencyGo
0 likes · 9 min read
Choosing the Right Concurrency Model: Go vs Python vs Rust