Tagged articles
17 articles
Page 1 of 1
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.

CollectionsJavaJava 8
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.

CollectionsJavaLambda
0 likes · 10 min read
Using Java Lambda Expressions to Simplify Collection Operations
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.

Batch InsertExcelJava
0 likes · 12 min read
Optimizing Large-Scale Excel Import in Java: From POI to EasyExcel with Caching, Batch Inserts, and Parallel Streams
Programmer DD
Programmer DD
Jul 9, 2022 · Backend Development

When Is Java Stream Faster Than Traditional Loops? A Performance Comparison

This article explains Java 8 Stream fundamentals, compares intermediate and terminal operations, outlines its advantages over collections, and presents benchmark results showing when streams outperform iterator loops, especially with large data sets and parallel execution.

IteratorJava 8Java Stream
0 likes · 12 min read
When Is Java Stream Faster Than Traditional Loops? A Performance Comparison
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.

IteratorJavaParallel 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.

BackendBenchmarkIterator
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
Java Backend Technology
Java Backend Technology
May 29, 2021 · Backend Development

Avoid Hidden ThreadLocal Pitfalls: Memory Leaks, Context Loss in Thread Pools & Parallel Streams

This article explains three common ThreadLocal misuse traps—memory leaks caused by weak‑referenced keys, loss of thread‑local context in thread‑pool workers, and context disappearance in parallel streams—provides detailed code examples, and offers practical guidelines to prevent them in Java backend applications.

JavaParallel StreamThreadLocal
0 likes · 9 min read
Avoid Hidden ThreadLocal Pitfalls: Memory Leaks, Context Loss in Thread Pools & Parallel Streams
Programmer DD
Programmer DD
May 17, 2021 · Backend Development

Java Stream vs Iterator: Performance Benchmarks and Best Practices

This article explains Java 8 Stream fundamentals, compares intermediate and terminal operations, outlines stream characteristics and advantages over collections, and presents detailed benchmark results comparing Stream, parallel Stream, and traditional iterator across various data‑processing tasks.

BenchmarkIteratorJava
0 likes · 13 min read
Java Stream vs Iterator: Performance Benchmarks and Best Practices
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