Tagged articles
79 articles
Page 1 of 1
Architect's Must-Have
Architect's Must-Have
Nov 2, 2025 · Fundamentals

Master Java Lambda Expressions: From Basics to Advanced Usage

This article explains what Java lambda expressions are, why they were introduced, their syntax and classifications, functional interfaces, core functional interfaces, method references, and provides multiple code examples that progressively simplify traditional anonymous inner classes into concise lambda forms.

Functional InterfacesJavaLambda Expressions
0 likes · 15 min read
Master Java Lambda Expressions: From Basics to Advanced Usage
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 2, 2025 · Backend Development

Mastering flatMap in Java: Real-World Spring Boot 3 Examples

This article explains the powerful flatMap operator in Java streams, covering basic usage, Optional handling, replacing nested loops, API response flattening, combining with filter, reactive programming, and a comprehensive end‑to‑end example, all illustrated with Spring Boot 3 code snippets.

JavaSpring BootStreams
0 likes · 11 min read
Mastering flatMap in Java: Real-World Spring Boot 3 Examples
Open Source Tech Hub
Open Source Tech Hub
Jul 31, 2025 · Backend Development

Mastering Redis Streams: From Basics to Consumer Groups

This comprehensive guide explains Redis Streams—its data model, entry IDs, range queries, blocking reads, consumer groups, pending message handling, trimming, persistence, and performance characteristics—providing practical commands, examples, and best‑practice tips for building reliable streaming applications.

StreamsXADDXCLAIM
0 likes · 41 min read
Mastering Redis Streams: From Basics to Consumer Groups
Lin is Dream
Lin is Dream
Jun 6, 2025 · Backend Development

Master Java Lambda Expressions: From Anonymous Classes to Streamlined Code

This article explains why Java introduced the seemingly odd lambda syntax, shows how lambdas replace verbose anonymous inner classes for loops, grouping and collection operations, introduces functional interfaces, and provides comprehensive code examples demonstrating creation, method references, sorting, filtering, and threading with lambdas.

BackendCode ExampleFunctional Interface
0 likes · 8 min read
Master Java Lambda Expressions: From Anonymous Classes to Streamlined Code
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 23, 2025 · Backend Development

Efficient Large File Processing in Node.js: Stream, Buffer, and Multithreading Techniques

This article explains how to handle massive HDFS‑derived text and CSV files in Node.js by analyzing memory and CPU bottlenecks, comparing client‑side upload strategies, and presenting synchronous, callback, promise, streaming, and multithreaded worker‑thread solutions with complete code examples.

Node.jsStreamsfile I/O
0 likes · 13 min read
Efficient Large File Processing in Node.js: Stream, Buffer, and Multithreading Techniques
Java One
Java One
Mar 1, 2025 · Fundamentals

Master Java IO Streams: Byte, Character, and Object Streams Explained

This article provides a comprehensive guide to Java I/O streams, covering the distinction between node (low‑level) and processing (high‑level) streams, byte versus character streams, their superclasses, common implementations, buffering techniques, object serialization, and practical code examples for reading and writing data.

ByteStreamCharacterStreamJava
0 likes · 16 min read
Master Java IO Streams: Byte, Character, and Object Streams Explained
macrozheng
macrozheng
Feb 20, 2025 · Backend Development

Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls

This article explores how Java 8 streams and lambda expressions can make code shorter and more elegant, while highlighting common mistakes such as poor formatting, oversized functions, misuse of Optional, and over‑reliance on parallel streams, and offers practical guidelines for writing readable, maintainable backend code.

BackendJavaLambda
0 likes · 13 min read
Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls
21CTO
21CTO
Jan 6, 2025 · Backend Development

When Declarative Beats Imperative: Mastering Java Streams and Annotations

Explore the contrast between declarative and imperative programming, dive into Java Stream fundamentals, benchmark parallel versus sequential execution, and understand the role of annotations, offering practical insights for writing cleaner, more efficient backend code.

JavaStreamsannotations
0 likes · 9 min read
When Declarative Beats Imperative: Mastering Java Streams and Annotations
macrozheng
macrozheng
Sep 9, 2024 · Backend Development

Why Redis Streams Can Replace Kafka for Lightweight Messaging

Redis Streams offer a memory‑efficient, easy‑to‑use message queue that matches many Kafka features, making it a practical alternative for projects that cannot afford the overhead of deploying a full‑blown Kafka infrastructure.

Backend DevelopmentKafka AlternativeMessage Queue
0 likes · 7 min read
Why Redis Streams Can Replace Kafka for Lightweight Messaging
FunTester
FunTester
Sep 5, 2024 · Backend Development

Practical Java Streams Techniques: Filtering, Mapping, Reducing, and Grouping

This article introduces five practical Java Streams techniques—including precise filtering, map transformation, aggregation with reduce, and advanced grouping—to help developers write clearer, more efficient backend code, complete with code examples and explanations of each operation.

JavaMAPStreams
0 likes · 8 min read
Practical Java Streams Techniques: Filtering, Mapping, Reducing, and Grouping
Java Tech Enthusiast
Java Tech Enthusiast
May 1, 2024 · Fundamentals

Pitfalls of Arrays.asList in Java

Java's Arrays.asList method has three major pitfalls: it cannot directly convert primitive arrays like int[] because of autoboxing limits, it returns a fixed-size list that throws UnsupportedOperationException on modification, and the list shares its backing array so changes to the original array are reflected in the list; using Arrays.stream for boxing or wrapping the result in a new ArrayList avoids these issues.

Arrays.asListCode ExamplesCollections
0 likes · 4 min read
Pitfalls of Arrays.asList in Java
Su San Talks Tech
Su San Talks Tech
Apr 20, 2024 · Backend Development

Mastering Redis Streams: From Basics to SpringBoot Integration

This article introduces Redis Streams, explains its core concepts and commands, compares it with Kafka, demonstrates practical SpringBoot integration with code examples, and discusses its suitability as a lightweight message queue, highlighting advantages, limitations, and best‑practice considerations.

Kafka ComparisonSpringBootStreams
0 likes · 13 min read
Mastering Redis Streams: From Basics to SpringBoot Integration
Top Architect
Top Architect
Jan 31, 2024 · Backend Development

Java 8 Functional Interfaces and Stream Operations: A Comprehensive Guide

This article explains Java 8's lambda expressions and functional interfaces, demonstrates common functional interfaces with code examples, and shows how to use Stream API operations such as filter, map, flatMap, collect, max/min, count, reduce, and advanced collectors for efficient backend development.

Functional InterfacesJavaLambda
0 likes · 14 min read
Java 8 Functional Interfaces and Stream Operations: A Comprehensive Guide
Architecture Digest
Architecture Digest
Jan 25, 2024 · Backend Development

Understanding Java 8 Functional Interfaces and Stream Operations

This article explains Java 8's lambda expressions, functional interfaces, and the Stream API, demonstrating how immutable values and functions enable concise data processing through lazy and eager evaluation, with practical code examples covering predicates, consumers, mapping, filtering, grouping, and reduction.

CollectorsFunctional InterfacesJava
0 likes · 12 min read
Understanding Java 8 Functional Interfaces and Stream Operations
Sohu Tech Products
Sohu Tech Products
Sep 13, 2023 · Backend Development

Unlocking Redis Streams: How Radix Tree & Listpack Power Modern MQs

This article explains why using Redis List for a message queue is limited, introduces Redis Stream as a purpose‑built MQ with consumer groups, ACKs, and persistence, and dives into its internal Radix‑Tree and listpack structures, command usage, and memory‑saving techniques.

BackendListpackMessage Queue
0 likes · 14 min read
Unlocking Redis Streams: How Radix Tree & Listpack Power Modern MQs
Java Interview Crash Guide
Java Interview Crash Guide
Apr 20, 2023 · Fundamentals

Master Java I/O: Streams, NIO, and Serialization Explained

This article introduces Java I/O streams, explains how to efficiently read large files using buffered streams and NIO, details the core components of Java NIO (Channel, Buffer, Selector), and covers object serialization, the role of serialVersionUID, and alternative serialization frameworks.

Streamsionio
0 likes · 12 min read
Master Java I/O: Streams, NIO, and Serialization Explained
Architect's Tech Stack
Architect's Tech Stack
Oct 12, 2022 · Fundamentals

Java 8 Functional Interfaces and Stream Operations: Concepts, Examples, and Advanced Collectors

This article introduces Java 8's functional interfaces and lambda expressions, explains immutable values and function composition, demonstrates common stream operations such as collect, filter, map, flatMap, max/min, count, and reduce, and shows how to use advanced collectors like groupingBy, partitioningBy, and joining with practical code examples.

CollectorsFunctional InterfaceJava
0 likes · 17 min read
Java 8 Functional Interfaces and Stream Operations: Concepts, Examples, and Advanced Collectors
Java Backend Technology
Java Backend Technology
Sep 25, 2022 · Fundamentals

6 Common Java Pitfalls Every Developer Should Avoid

This article highlights six frequent Java pitfalls—including misuse of == with Integer, Objects.equals quirks, BigDecimal precision loss, Stream filter side‑effects, auto‑unboxing null errors, and String replace nuances—providing code examples and best‑practice recommendations to help developers write safer, more reliable code.

Auto-unboxingBigDecimalJava
0 likes · 12 min read
6 Common Java Pitfalls Every Developer Should Avoid
ITPUB
ITPUB
Sep 9, 2022 · Databases

Can Redis Streams Replace Kafka? A Practical Comparison

While Kafka dominates large‑scale messaging, this article shows how Redis Streams—an in‑memory, low‑cost alternative—can handle peak‑shaving, buffering, decoupling, redundancy, and robustness, offering simpler commands and higher speed for projects where deploying a full Kafka stack is overkill.

In-Memory DatabaseMessage QueueStreams
0 likes · 7 min read
Can Redis Streams Replace Kafka? A Practical Comparison
IT Services Circle
IT Services Circle
Jul 16, 2022 · Fundamentals

Common Java Pitfalls: Equality, Objects.equals, BigDecimal, Streams, Autoboxing, and String Replacement

This article explains six frequent Java pitfalls—including misuse of the == operator with Integer, subtle bugs in Objects.equals, precision loss with BigDecimal constructors, reference sharing in Stream.filter, NullPointerExceptions from autounboxing, and differences between replace, replaceAll, and replaceFirst—providing code examples and best‑practice recommendations.

AutoboxingBigDecimalJava
0 likes · 12 min read
Common Java Pitfalls: Equality, Objects.equals, BigDecimal, Streams, Autoboxing, and String Replacement
Su San Talks Tech
Su San Talks Tech
Jul 15, 2022 · Fundamentals

6 Common Java Pitfalls Every Developer Should Avoid

This article walks Java developers through six frequent pitfalls—including misuse of the == operator, subtle bugs in Objects.equals, precision issues with BigDecimal, unexpected Stream filter behavior, autoboxing/unboxing surprises, and string replace quirks—offering clear explanations, code examples, and best‑practice solutions to help avoid costly bugs.

AutoboxingBigDecimalJava
0 likes · 13 min read
6 Common Java Pitfalls Every Developer Should Avoid
Java Backend Technology
Java Backend Technology
Apr 26, 2022 · Backend Development

Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls

This article explores how to write clean, maintainable Java 8 Stream and Lambda code by emphasizing proper line breaks, function decomposition, judicious use of Optional, choosing between returning Streams or Lists, avoiding parallel streams pitfalls, and leveraging best practices to improve readability and performance.

JavaLambdaStreams
0 likes · 13 min read
Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls
Sanyou's Java Diary
Sanyou's Java Diary
Apr 5, 2022 · Fundamentals

Master Java I/O: From Byte Streams to Object Serialization

This article provides a comprehensive guide to Java I/O, explaining the concepts of input and output streams, distinguishing byte and character streams, detailing node and processing streams, and offering practical code examples for file handling, buffering, conversion, and object serialization.

I/OStreamsfile I/O
0 likes · 22 min read
Master Java I/O: From Byte Streams to Object Serialization
IT Architects Alliance
IT Architects Alliance
Mar 20, 2022 · Backend Development

Implementing Message Queues with Redis: Lists, Streams, and Pub/Sub

This article explains how Redis can be used to build message queues by leveraging List commands with LPUSH/RPOP and BRPOPLPUSH for simple queues, the Stream data type introduced in Redis 5.0 for durable, ordered, consumer‑group‑based queues, and the Pub/Sub model for real‑time broadcasting, while also analyzing the underlying source code structures such as quicklist, radix trees, and stream internals.

BackendPubSubStreams
0 likes · 21 min read
Implementing Message Queues with Redis: Lists, Streams, and Pub/Sub
Java Captain
Java Captain
Mar 12, 2022 · Backend Development

Building a Tree Structure from a Flat List Using Java 8 Streams

This article demonstrates how to retrieve flat menu data from a database into a List, then use Java 8 Stream operations and recursive methods to assemble a hierarchical tree structure, printing the result as JSON for verification.

BackendJavaRecursion
0 likes · 4 min read
Building a Tree Structure from a Flat List Using Java 8 Streams
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
Aug 5, 2021 · Backend Development

Using Java 8 Streams and Functional Interfaces: A Comprehensive Guide

This article explains Java 8's lambda expressions and functional interfaces, demonstrates common Stream operations such as filter, map, flatMap, collect, max/min, count and reduce, and shows how to use advanced collectors for grouping, partitioning and joining with clear code examples.

CollectorsFunctional InterfacesJava
0 likes · 12 min read
Using Java 8 Streams and Functional Interfaces: A Comprehensive Guide
FunTester
FunTester
Jul 20, 2021 · Backend Development

How to Sort a Java Map by Value Using LinkedHashMap and Lambdas

This article explains why HashMap cannot preserve entry order, introduces LinkedHashMap to maintain insertion order, and provides both classic and lambda‑based Java solutions—including detailed code snippets—to sort a Map by its values efficiently.

CollectorsJavaLambda
0 likes · 8 min read
How to Sort a Java Map by Value Using LinkedHashMap and Lambdas
Top Architect
Top Architect
May 15, 2021 · Backend Development

Using IntelliJ IDEA Live Templates to Simplify Java Stream Collectors

This article explains how to create and use IntelliJ IDEA live templates to replace repetitive Java Stream collector calls such as toList(), toSet(), and groupingBy() with concise shortcuts, improving code readability and productivity when migrating legacy code to Java 8 streams.

Backend DevelopmentIntelliJ IDEAJava
0 likes · 6 min read
Using IntelliJ IDEA Live Templates to Simplify Java Stream Collectors
Top Architect
Top Architect
Mar 7, 2021 · Fundamentals

Java 8 Functional Interfaces and Stream Operations: A Comprehensive Guide

This article explains Java 8's functional interfaces, lambda expressions, method references, lazy versus eager evaluation, and demonstrates how to use the Stream API—including collect, filter, map, flatMap, max/min, count, reduce, and various collectors—to write concise, expressive code for processing collections.

CollectorsFunctional InterfacesJava
0 likes · 15 min read
Java 8 Functional Interfaces and Stream Operations: A Comprehensive Guide
Top Architect
Top Architect
Jan 29, 2021 · Fundamentals

Five Ways to Remove Duplicates from a Java ArrayList

This article presents five distinct methods for eliminating duplicate elements from a Java ArrayList, including using LinkedHashSet, Java 8 streams, HashSet with order preservation, manual iteration with contains checks, and nested loops, each accompanied by complete code examples and output results.

ArrayListJavaStreams
0 likes · 6 min read
Five Ways to Remove Duplicates from a Java ArrayList
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 27, 2020 · Fundamentals

Six Ways to Write Files in Java: Streams, Buffers, and Performance Comparison

This article introduces six Java file-writing techniques—including FileWriter, BufferedWriter, PrintWriter, FileOutputStream, BufferedOutputStream, and Files—explains their underlying stream concepts, provides code examples, and benchmarks their performance to guide developers in choosing the most efficient method for text or binary data.

BufferedWriterFileWriterJava
0 likes · 16 min read
Six Ways to Write Files in Java: Streams, Buffers, and Performance Comparison
macrozheng
macrozheng
Nov 24, 2020 · Backend Development

Fastest & Safest HashMap Traversal: Compare Java 8 Streams, Lambdas, and Iterators

This article examines the four major HashMap traversal techniques—Iterator, for‑each loops, Lambda expressions, and Streams API—detailing seven concrete implementations, benchmarking their performance with JMH, analyzing generated bytecode, and evaluating safety when modifying collections during iteration, ultimately recommending the most efficient and secure approaches.

HashMapJavaStreams
0 likes · 19 min read
Fastest & Safest HashMap Traversal: Compare Java 8 Streams, Lambdas, and Iterators
Java Architecture Diary
Java Architecture Diary
Sep 10, 2020 · Backend Development

Master IntelliJ IDEA: Highlighting, Batch Replace, and Stream Debugging Tricks

Explore essential IntelliJ IDEA techniques—including string highlighting with regex validation, batch replacement via Alt+J, interactive Java Streams debugging, enhanced auto‑completion for Stream APIs, and document block rendering—to boost your Java development productivity and streamline code editing workflows.

DebuggingIntelliJ IDEAJava
0 likes · 3 min read
Master IntelliJ IDEA: Highlighting, Batch Replace, and Stream Debugging Tricks
Architect's Tech Stack
Architect's Tech Stack
Aug 8, 2020 · Backend Development

Simplifying Collection Processing with Java 8 Streams and Lambdas

This article explains how Java 8's Stream API and lambda expressions can replace verbose loops with concise, declarative operations for filtering, sorting, mapping, and grouping collections, while also covering stream creation, intermediate and terminal operations, and advanced collectors for data analysis.

CollectionsLambdaStreams
0 likes · 13 min read
Simplifying Collection Processing with Java 8 Streams and Lambdas
Top Architect
Top Architect
Jul 23, 2020 · Backend Development

Using IntelliJ IDEA Live Templates to Simplify Java Stream Collectors

This article explains how to create and use IntelliJ IDEA live templates to replace verbose Java Stream collector calls such as collect(Collectors.toList()) with concise shortcuts like .toList, improving code readability and productivity for backend developers.

Live TemplatesStreamsbackend-development
0 likes · 6 min read
Using IntelliJ IDEA Live Templates to Simplify Java Stream Collectors
Programmer DD
Programmer DD
Jul 3, 2020 · Backend Development

10 Powerful Java One‑Liners to Simplify Your Code

This article showcases ten concise Java one‑liners that use Java 8 features such as Lambda, Stream, try‑with‑resources, and JAXB to perform common tasks like mapping, summing, filtering, file I/O, XML parsing, and parallel processing without any additional code.

JavaLambdaOne-liners
0 likes · 6 min read
10 Powerful Java One‑Liners to Simplify Your Code
Amap Tech
Amap Tech
May 14, 2020 · Backend Development

Java Code Simplification Techniques and Best Practices

The article compiles a comprehensive set of Java refactoring techniques—ranging from ternary operators, Optional handling, and Stream‑API transformations to Lombok annotations, generics, utility libraries, and design‑pattern applications—aimed at reducing boilerplate, improving readability, and eliminating dead code while preserving functionality and performance.

Code SimplificationJavaLombok
0 likes · 29 min read
Java Code Simplification Techniques and Best Practices
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 13, 2020 · Fundamentals

Java 8 New Features and Functional Programming Overview

An extensive guide to Java 8’s new capabilities, covering lambda expressions, functional interfaces, streams, default methods, Optional, CompletableFuture, the new date‑time API, concurrency enhancements, and numerous language and library improvements, with detailed explanations and code examples.

CompletableFutureFunctional InterfacesJava 8
0 likes · 51 min read
Java 8 New Features and Functional Programming Overview
FunTester
FunTester
Jul 2, 2019 · Fundamentals

Print a Heart Shape in Java Console with a Single Stream Expression

This article demonstrates how to generate a heart-shaped pattern directly in the Java console using a compact IntStream‑based one‑liner, explaining the mathematical formula and stream operations that produce the visual output without external libraries.

ASCII artHeart ShapeIntStream
0 likes · 3 min read
Print a Heart Shape in Java Console with a Single Stream Expression
Programmer DD
Programmer DD
Apr 19, 2019 · Fundamentals

Master Java’s Comparator: Sorting Collections, Streams, and Sets Made Easy

This article explains Java's Comparator interface, its compare method, lambda definitions, and how to use it with Collections.sort, List.sort, Arrays.sort, Stream.sorted, as well as with SortedSet and SortedMap structures, covering static and default methods like reversed, nullsFirst, thenComparing, and more.

ComparatorJavaLambda
0 likes · 31 min read
Master Java’s Comparator: Sorting Collections, Streams, and Sets Made Easy
Java High-Performance Architecture
Java High-Performance Architecture
Oct 1, 2018 · Backend Development

Unlock Java 11: Powerful New Features You Need to Know

This article introduces Java 11's most useful enhancements—including the var keyword, new String utilities, collection factory methods, Stream API additions, InputStream.transferTo, and the revamped HttpClient—showing how each feature simplifies code and improves productivity for modern Java developers.

CollectionsHttpClientInputStream
0 likes · 7 min read
Unlock Java 11: Powerful New Features You Need to Know
High Availability Architecture
High Availability Architecture
Sep 28, 2018 · Fundamentals

New Features in Java 9–11: Local Variable Type Inference, HTTP Client, Collections, Streams, Optionals, and More

This article introduces the major Java 9‑11 language and API enhancements—including var type inference, the standardized HttpClient, immutable collection factories, new Stream methods, Optionals improvements, and additional VM features—providing concise code examples for engineers and architects.

CollectionsHTTP clientJava
0 likes · 6 min read
New Features in Java 9–11: Local Variable Type Inference, HTTP Client, Collections, Streams, Optionals, and More
Node Underground
Node Underground
Aug 14, 2018 · Backend Development

Enterprise‑Grade Node.js: Insights from Chengdu’s Underground Rail Salon

A recap of Chengdu’s Node.js underground rail salon reveals how industry experts tackled enterprise‑grade challenges such as microservice architecture, security of third‑party dependencies, TypeScript adoption, RPC communication, and stream best practices, followed by an engaging round‑table discussion.

BackendEnterprise DevelopmentNode.js
0 likes · 4 min read
Enterprise‑Grade Node.js: Insights from Chengdu’s Underground Rail Salon
Java High-Performance Architecture
Java High-Performance Architecture
Jul 21, 2018 · Databases

Master Redis Streams: From Simple Adds to Powerful Consumer Groups

This guide walks through Redis 5's stream feature, showing how to set up a Docker Redis instance, add entries, perform range queries, use blocking reads, create and manage consumer groups, handle pending messages, claim ownership, inspect stream metadata, delete entries, and limit stream length for efficient message queue implementations.

BackendMessage QueueStreams
0 likes · 10 min read
Master Redis Streams: From Simple Adds to Powerful Consumer Groups
High Availability Architecture
High Availability Architecture
Jun 1, 2018 · Databases

Redis 5.0 New Features and Migration Considerations

The article outlines Redis 5.0's major new capabilities—including Streams, module APIs, enhanced RDB metadata, cluster management improvements, new sorted‑set commands, active memory defragmentation, HyperLogLog upgrades, better memory reporting, HELP sub‑commands, connection performance, bug fixes, and Jemalloc 5.1—while also detailing important migration notes from version 4.0 and providing a reference link to the Streams introduction.

RDBStreamsVersion 5
0 likes · 4 min read
Redis 5.0 New Features and Migration Considerations
Java Captain
Java Captain
May 8, 2018 · Backend Development

Understanding Java I/O: Streams, Decorators, and Practical Examples

This article explains Java's I/O system, detailing how streams and decorator patterns enable flexible file reading and writing, and provides clear code examples illustrating BufferedReader, FileReader, InputStream, and OutputStream usage.

BufferedReaderDecoratorFileReader
0 likes · 7 min read
Understanding Java I/O: Streams, Decorators, and Practical Examples
Java Captain
Java Captain
Apr 2, 2018 · Fundamentals

Understanding Java I/O: Streams, Decorator Pattern, NIO.2, and Asynchronous I/O

This article provides a comprehensive guide to Java I/O, explaining the distinction between byte and character streams, the role of abstract and concrete stream classes, how the Decorator pattern extends functionality, the enhancements introduced in NIO.2, and the use of asynchronous I/O with Futures and Callbacks.

Decorator PatternI/OJava
0 likes · 28 min read
Understanding Java I/O: Streams, Decorator Pattern, NIO.2, and Asynchronous I/O
360 Quality & Efficiency
360 Quality & Efficiency
Mar 5, 2018 · Backend Development

Design Patterns for Node.js Applications

This article explains key Node.js design patterns—including EventEmitter, streams, control‑flow libraries, coding style, testing, and logging—providing practical guidance and recommended tools for building robust, maintainable backend applications.

Design PatternsEventEmitterNode.js
0 likes · 11 min read
Design Patterns for Node.js Applications
Java Captain
Java Captain
Dec 4, 2017 · Fundamentals

Understanding Java IO Streams: Concepts, Class Hierarchy, and Usage

This article explains the concept of streams, classifies Java IO streams into character/byte and input/output types, details the main InputStream and OutputStream class hierarchies, and describes related classes such as Reader, Writer, File, and RandomAccessFile for effective data handling.

InputStreamOutputStreamReader
0 likes · 10 min read
Understanding Java IO Streams: Concepts, Class Hierarchy, and Usage
Java High-Performance Architecture
Java High-Performance Architecture
Oct 13, 2017 · Databases

Why Redis Added Streams and How to Use Them Effectively

Redis introduced the Streams data type to address limitations of sorted sets, lists, and Pub/Sub for handling continuous data flows, offering features like field-value entries, efficient range queries, and client blocking with ID tracking, and the article explains its design, commands, and usage examples.

Data StructuresStreamsTime Series
0 likes · 7 min read
Why Redis Added Streams and How to Use Them Effectively
Java Captain
Java Captain
Sep 5, 2017 · Fundamentals

Java Fundamentals: Streams, Exceptions, Annotations, Class Loading, Keywords, Multithreading, Thread Pools, and Memory Model

This article provides a comprehensive overview of core Java concepts, including the hierarchy of I/O streams, checked and unchecked exceptions, built‑in and custom annotations, the class‑loader delegation model, important language keywords, multithreading techniques, thread‑pool implementations, and the Java memory model.

ExceptionsStreamsannotations
0 likes · 17 min read
Java Fundamentals: Streams, Exceptions, Annotations, Class Loading, Keywords, Multithreading, Thread Pools, and Memory Model
Taobao Frontend Technology
Taobao Frontend Technology
Aug 31, 2017 · Backend Development

Mastering Node.js Streams: From Readable to Duplex and Beyond

Explore the inner workings of Node.js streams—including readable, writable, duplex, transform, and pipe—through detailed explanations, code demos, and visual diagrams, revealing how backpressure, flow modes, and internal mechanisms shape data handling in backend development.

Backend DevelopmentDuplexNode.js
0 likes · 14 min read
Mastering Node.js Streams: From Readable to Duplex and Beyond
Node Underground
Node Underground
Aug 24, 2016 · Backend Development

Master Node.js Core: Event Loop, Streams, Clusters & More

This article reviews the essential Node.js core concepts—including the event loop, global and process objects, event emitters, streams and buffers, clustering, asynchronous error handling, and creating C++ addons—to help developers solidify their understanding and fill knowledge gaps.

BackendC++ AddonsNode.js
0 likes · 2 min read
Master Node.js Core: Event Loop, Streams, Clusters & More
Meituan Technology Team
Meituan Technology Team
Jul 22, 2016 · Frontend Development

Designing and Using Pipelines with Node.js Streams, Browserify, and Gulp

The article explains how to build and manipulate Node.js stream pipelines—encapsulating multiple Transform streams into a reusable Duplex, using helper libraries like stream‑splicer, and demonstrates their role in Browserify’s module processing and Gulp’s file tasks, including a customizable changelog tool.

Node.jsPipelineStreams
0 likes · 13 min read
Designing and Using Pipelines with Node.js Streams, Browserify, and Gulp
Qunar Tech Salon
Qunar Tech Salon
Nov 27, 2014 · Backend Development

Guava I/O Streams, Sources and Sinks Overview

This article explains Guava’s terminology for streams, the ByteStreams and CharStreams utility methods, the deprecation of InputSupplier/OutputSupplier, and introduces the source and sink abstractions with their creation methods, common operations, and practical code examples for handling byte and character data in Java.

ByteSourceCharSourceGuava
0 likes · 14 min read
Guava I/O Streams, Sources and Sinks Overview