Tagged articles
11 articles
Page 1 of 1
Lin is Dream
Lin is Dream
Jun 9, 2025 · Backend Development

Master Java Stream API: Real‑World Examples Covering 90% of Business Scenarios

This article introduces Java 8 functional programming concepts such as lambda expressions and method references, explains the Stream API, and provides dozens of practical code snippets for querying, grouping, aggregating, sorting, partitioning, and parallel processing of collections, helping developers handle most everyday business logic efficiently.

CollectionsJavaLambda
0 likes · 14 min read
Master Java Stream API: Real‑World Examples Covering 90% of Business Scenarios
Top Architect
Top Architect
Apr 18, 2023 · Backend Development

Understanding Java 8 Stream API, Parallel Streams, and ForkJoinPool

This article provides a comprehensive overview of Java 8's Stream API, explaining its core concepts, composition, BaseStream and Stream interfaces, the differences between parallel and sequential streams, the underlying ForkJoinPool mechanism, performance factors, and best practices for effective use in backend development.

Backend DevelopmentForkJoinPoolJava
0 likes · 21 min read
Understanding Java 8 Stream API, Parallel Streams, and ForkJoinPool
Code Ape Tech Column
Code Ape Tech Column
Apr 13, 2023 · Backend Development

Understanding Java Stream API: Implementation, Parallelism, and Performance

This article explains Java 8 Stream API's concepts, composition, pipelining, internal iteration, parallel execution using ForkJoinPool, performance considerations, and best practices, providing code examples and detailed analysis for developers seeking to write efficient, clean, and scalable backend Java code.

Backend DevelopmentForkJoinPoolJava
0 likes · 20 min read
Understanding Java Stream API: Implementation, Parallelism, and Performance
macrozheng
macrozheng
Sep 30, 2021 · Backend Development

Master Clean Java 8 Stream Code: Practical Tips for Readable Lambdas

This article explains how to write concise, readable Java 8 Stream and Lambda code by using proper line breaks, function extraction, Optional, choosing between Stream and List returns, and avoiding parallel streams, illustrated with real code examples and refactoring guidelines.

LambdaParallel StreamsStreams
0 likes · 14 min read
Master Clean Java 8 Stream Code: Practical Tips for Readable Lambdas
Top Architect
Top Architect
Feb 23, 2021 · Backend Development

Understanding Java 8 Stream API: Architecture, Parallelism, and Best Practices

This article explains the design and implementation of Java 8 Stream API, covering its composition, pipelining, internal iteration, parallel execution via ForkJoinPool, performance considerations, ordering semantics, and practical guidelines for using parallel streams effectively.

Backend DevelopmentForkJoinPoolJava
0 likes · 21 min read
Understanding Java 8 Stream API: Architecture, Parallelism, and Best Practices
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
vivo Internet Technology
vivo Internet Technology
Sep 11, 2019 · Backend Development

Parallel Stream Class Loading Failure Analysis in Tomcat Containers

The article explains how Java 8 parallel streams in Tomcat containers trigger class‑loading failures because ForkJoinWorkerThreads inherit a null context class loader after Tomcat 7.0.74 introduced SafeForkJoinWorkerThreadFactory, leading to deserialization errors and memory‑leak risks, and recommends avoiding dynamic class loading or using custom thread pools.

DubboForkJoinPoolHessian
0 likes · 8 min read
Parallel Stream Class Loading Failure Analysis in Tomcat Containers
Qunar Tech Salon
Qunar Tech Salon
Dec 11, 2014 · Backend Development

Pitfalls of Java 8 Parallel Streams, Lambdas, Default Methods, and Jigsaw

The article examines how Java 8 features such as parallel streams, lambda expressions, default methods, and the Jigsaw module system can unintentionally degrade performance, increase code complexity, and introduce compatibility issues, urging developers to understand their underlying mechanisms before adoption.

Default MethodsLambdaParallel Streams
0 likes · 8 min read
Pitfalls of Java 8 Parallel Streams, Lambdas, Default Methods, and Jigsaw