Tagged articles
7 articles
Page 1 of 1
Sohu Tech Products
Sohu Tech Products
May 7, 2025 · Backend Development

Master Java Concurrency: Fork/Join, CountDownLatch, CyclicBarrier, Semaphore & Exchanger Deep Dive

This article provides a comprehensive guide to Java's core concurrency utilities—including Fork/Join, CountDownLatch, CyclicBarrier, Semaphore, and Exchanger—explaining their principles, internal AQS implementation, practical usage patterns, performance optimizations, and complete code examples for real‑world scenarios.

CountDownLatchCyclicBarrierExchanger
0 likes · 25 min read
Master Java Concurrency: Fork/Join, CountDownLatch, CyclicBarrier, Semaphore & Exchanger Deep Dive
JavaEdge
JavaEdge
Apr 21, 2021 · Backend Development

Mastering Java Concurrency: When to Use ThreadPool, CompletableFuture, and Fork/Join

The article explains Java’s concurrency utilities—thread pools, Future, CompletableFuture, and CompletionService—and introduces the divide‑and‑conquer Fork/Join framework, detailing its task model, core classes, work‑stealing mechanism, and best practices for CPU‑bound versus I/O‑bound parallel streams.

CompletableFutureForkJoinJava
0 likes · 7 min read
Mastering Java Concurrency: When to Use ThreadPool, CompletableFuture, and Fork/Join
Top Architect
Top Architect
Sep 17, 2020 · Backend Development

Benchmarking Fork/Join Framework vs Parallel Streams vs ExecutorService in Java

This article benchmarks Java's Fork/Join framework, Parallel Streams, and ExecutorService across IO‑bound and CPU‑bound workloads on an 8‑core machine, analyzing how thread count and pool configuration affect performance and offering practical recommendations for concurrent Java applications.

BenchmarkExecutorServiceForkJoin
0 likes · 10 min read
Benchmarking Fork/Join Framework vs Parallel Streams vs ExecutorService in Java
Selected Java Interview Questions
Selected Java Interview Questions
May 18, 2020 · Backend Development

Understanding Java's java.util.concurrent (J.U.C) Framework and AQS Mechanism

This article provides a comprehensive overview of Java's java.util.concurrent package, detailing its core components such as atomic classes, locks, collections, executors, tools, as well as an in‑depth explanation of the AbstractQueuedSynchronizer (AQS) framework, its fields, methods, and related concurrency utilities like FutureTask, BlockingQueue, ForkJoin, and work‑stealing algorithms.

AQSForkJoinFutureTask
0 likes · 22 min read
Understanding Java's java.util.concurrent (J.U.C) Framework and AQS Mechanism
Qunar Tech Salon
Qunar Tech Salon
Jan 27, 2015 · Backend Development

Performance Comparison of Java Fork/Join, ExecutorService, and Parallel Streams under Different Configurations

This article presents a comprehensive performance evaluation of Java's ExecutorService, Fork/Join framework, and Parallel Streams across CPU‑intensive and I/O‑intensive tasks, analyzing thread‑count effects, default pool limitations, and JVM tuning to guide optimal concurrency choices.

ExecutorServiceForkJoinJava
0 likes · 9 min read
Performance Comparison of Java Fork/Join, ExecutorService, and Parallel Streams under Different Configurations
Qunar Tech Salon
Qunar Tech Salon
Jan 17, 2015 · Backend Development

Four Styles of Java Concurrency: Threads, Executors, ForkJoin, and Actors

This article compares four Java concurrency approaches—raw threads, the Executor framework, parallel streams backed by ForkJoinPool, and the Actor model—explaining their implementations, advantages, drawbacks, and typical pitfalls through concrete code examples and practical discussion.

ActorsExecutorsForkJoin
0 likes · 13 min read
Four Styles of Java Concurrency: Threads, Executors, ForkJoin, and Actors