Tag

Parallel Stream

0 views collected around this technical thread.

Top Architect
Top Architect
Oct 31, 2024 · Backend Development

Using Java 8 Stream API for POJO Collection Processing

This article introduces Java 8 Stream API, demonstrates filtering, mapping, sorting, collecting, and parallel streams with POJO examples, including code snippets, performance tips, and links to related resources, while also containing promotional messages for ChatGPT services.

CollectionsJava 8Parallel Stream
0 likes · 11 min read
Using Java 8 Stream API for POJO Collection Processing
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 26, 2023 · Backend Development

Using Java Lambda Expressions to Simplify Collection Operations

This article explains how Java lambda expressions and the Stream API can replace verbose loops, comparators, and aggregation code with concise, readable functional constructs, covering traversal, sorting, aggregation, optional handling, thread creation, mapping, grouping, and parallel processing of collections.

CollectionsFunctional ProgrammingParallel Stream
0 likes · 10 min read
Using Java Lambda Expressions to Simplify Collection Operations
Wukong Talks Architecture
Wukong Talks Architecture
Jul 19, 2023 · Backend Development

Understanding Java Lambda Expressions, Method References, and Stream API

This article explains Java's functional programming features—including Lambda expressions, method references, and the Stream API—by detailing their syntax, underlying mechanisms, and practical usage examples such as thread creation, data processing, and parallel streams.

Functional InterfaceMethod ReferenceParallel Stream
0 likes · 21 min read
Understanding Java Lambda Expressions, Method References, and Stream API
Code Ape Tech Column
Code Ape Tech Column
Jun 28, 2023 · Backend Development

Optimizing Large-Scale Excel Import in Java: From POI to EasyExcel with Caching, Batch Inserts, and Parallel Streams

This article details a step‑by‑step optimization of a high‑volume Excel import workflow in Java, covering the migration from raw POI to EasyPOI and EasyExcel, caching database lookups, using MySQL batch inserts, and leveraging parallel streams to reduce import time from minutes to under two minutes.

EasyExcelExcelMySQL
0 likes · 12 min read
Optimizing Large-Scale Excel Import in Java: From POI to EasyExcel with Caching, Batch Inserts, and Parallel Streams
Architect's Tech Stack
Architect's Tech Stack
Oct 10, 2022 · Backend Development

Java 8 Stream API: Declarative Data Processing with PO/VO Examples

This article introduces Java 8's Stream API, explains its SQL‑like pipeline operations such as filter, map, sorted, collect and parallelStream, and demonstrates practical PO/VO processing with comprehensive code examples and performance considerations.

Data ProcessingFunctional ProgrammingParallel Stream
0 likes · 11 min read
Java 8 Stream API: Declarative Data Processing with PO/VO Examples
Architect's Tech Stack
Architect's Tech Stack
Jun 7, 2022 · Backend Development

Java Stream Efficiency Analysis and Performance Comparison with Iterator

This article examines Java 8 Stream's data flow operations, compares its performance against traditional iterator loops across various tasks such as mapping, filtering, sorting, reduction, and string joining, and provides recommendations on when to use Stream, parallel Stream, or iterator based on data size and CPU cores.

BenchmarkIteratorParallel Stream
0 likes · 10 min read
Java Stream Efficiency Analysis and Performance Comparison with Iterator
Selected Java Interview Questions
Selected Java Interview Questions
Nov 27, 2021 · Backend Development

Understanding Java Stream API: Operations, Characteristics, and Performance Compared to Iterator

This article introduces Java 8's Stream API, explains its intermediate and terminal operations, highlights its functional characteristics, compares its performance with traditional iterator loops through benchmark tests, and offers practical recommendations for using streams and parallel streams in backend development.

BenchmarkIteratorParallel Stream
0 likes · 12 min read
Understanding Java Stream API: Operations, Characteristics, and Performance Compared to Iterator
Top Architect
Top Architect
Jun 29, 2021 · Backend Development

Performance Comparison of Java Stream API vs Iterator and Recommendations

This article explains Java 8 Stream fundamentals, compares its intermediate and terminal operations with traditional iterator loops through a series of benchmark tests (mapping, filtering, sorting, reduction, string joining, and mixed operations), analyzes results for different data sizes and CPU configurations, and provides practical guidance on when to use Stream, parallel Stream, or iterator in backend development.

Backend DevelopmentBenchmarkIterator
0 likes · 12 min read
Performance Comparison of Java Stream API vs Iterator and Recommendations
Code Ape Tech Column
Code Ape Tech Column
Jan 11, 2021 · Backend Development

Optimizing Large-Scale Excel Import Performance in Java Backend Applications

This article details how to dramatically speed up the import of massive Excel files in a Java backend by switching to EasyExcel, caching database lookups, using batch inserts, and applying parallel streams while eliminating excessive logging.

EasyExcelExcelMySQL
0 likes · 11 min read
Optimizing Large-Scale Excel Import Performance in Java Backend Applications
Architect's Tech Stack
Architect's Tech Stack
Aug 31, 2019 · Backend Development

Performance Comparison of Java Stream API vs Iterator for Common Operations

This article analyzes Java 8 Stream API versus traditional iterator approaches across mapping, filtering, sorting, reduction, string concatenation and mixed operations, presenting benchmark results on various data sizes and offering practical recommendations for when to use streams, parallel streams, or iterators.

BenchmarkIteratorParallel Stream
0 likes · 12 min read
Performance Comparison of Java Stream API vs Iterator for Common Operations
Java Architecture Diary
Java Architecture Diary
Aug 23, 2019 · Backend Development

Why Java 8 Parallel Stream May Not Speed Up Your Tasks and How to Fix It

This article explains how Java 8 Parallel Stream uses the common ForkJoinPool, why it may not improve performance for large proxy‑IP validation tasks, and demonstrates a custom ForkJoinPool solution that dramatically reduces execution time.

ConcurrencyForkJoinPoolParallel Stream
0 likes · 5 min read
Why Java 8 Parallel Stream May Not Speed Up Your Tasks and How to Fix It