Tag

Thread Pools

0 views collected around this technical thread.

政采云技术
政采云技术
Nov 21, 2023 · Backend Development

Why Do We Need Thread Pools?

Thread pools are essential for managing concurrent tasks efficiently, reducing resource overhead by reusing threads instead of creating new ones for each task, which is crucial for handling high-volume operations like exporting large datasets to Excel.

Performance OptimizationThread Poolsbackend development
0 likes · 13 min read
Why Do We Need Thread Pools?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 3, 2023 · Backend Development

Unlock Massive Concurrency in Java with Virtual Threads and Structured Concurrency

This article introduces Java virtual threads, compares them with traditional platform threads, demonstrates multiple creation and execution patterns, showcases performance benefits through code examples, and explains structured concurrency as a preview feature for building high‑throughput, scalable backend applications.

Spring BootThread PoolsVirtual Threads
0 likes · 15 min read
Unlock Massive Concurrency in Java with Virtual Threads and Structured Concurrency
Sohu Tech Products
Sohu Tech Products
Sep 20, 2023 · Backend Development

Java CompletableFuture Tutorial: Asynchronous Programming and Task Composition

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

Asynchronous ProgrammingCompletableFutureFunctional Programming
0 likes · 17 min read
Java CompletableFuture Tutorial: Asynchronous Programming and Task Composition
DaTaobao Tech
DaTaobao Tech
Jul 26, 2023 · Backend Development

Design and Implementation of a Netty‑Based Microservice Communication Module

The article walks Java developers through constructing a lightweight Netty‑based RPC framework—using RocketMQ’s NettyRemotingServer and NettyRemotingClient to handle synchronous, asynchronous and one‑way calls, routing request codes to dedicated processors and thread pools, exposing services via dynamic proxies, and outlining extensions such as service‑registry integration for a full microservice communication solution.

NettyRPCThread Pools
0 likes · 28 min read
Design and Implementation of a Netty‑Based Microservice Communication Module