Tagged articles
13 articles
Page 1 of 1
Top Architect
Top Architect
Mar 7, 2023 · Backend Development

Differences Between BIO, NIO, and AIO in Java Network Programming

This article explains the concepts of synchronous vs asynchronous and blocking vs non‑blocking I/O, then details the characteristics, advantages, and drawbacks of Java’s three I/O models—BIO, NIO, and AIO—providing guidance on when to use each approach in backend development.

AIOBIOBackend
0 likes · 9 min read
Differences Between BIO, NIO, and AIO in Java Network Programming
Sanyou's Java Diary
Sanyou's Java Diary
Feb 16, 2023 · Backend Development

Why Is Redis Fast? Unveiling the Real Power of BIO, NIO, and Reactor Models

This article demystifies the true reasons behind Redis's speed by exploring low‑level I/O mechanisms—from basic BIO to NIO and the Reactor model—explaining socket creation, connection handling, blocking behavior, and how Java’s non‑blocking APIs and system calls work together to achieve high‑throughput networking.

BIOBlockingI/O
0 likes · 33 min read
Why Is Redis Fast? Unveiling the Real Power of BIO, NIO, and Reactor Models
JD Tech
JD Tech
Jan 19, 2023 · Fundamentals

Understanding Zookeeper Leader Election Mechanism and Its Implementation

This article explains Zookeeper's leader election process, covering the half‑majority algorithm, cluster configuration files, multi‑layer queue architecture, and detailed Java code analysis of the election workflow, illustrating how BIO communication, threads, and message queues achieve high‑performance distributed consensus.

BIOQueue ArchitectureZooKeeper
0 likes · 23 min read
Understanding Zookeeper Leader Election Mechanism and Its Implementation
Architecture Digest
Architecture Digest
Oct 6, 2020 · Backend Development

Comparing BIO, NIO, and Asynchronous Models Using a Bank Process Analogy

The article uses a simple bank workflow with ten staff members to illustrate the differences in throughput between BIO (blocking I/O), NIO (non‑blocking I/O), and asynchronous processing, showing how task decomposition and specialized threads dramatically improve performance in backend systems.

AsynchronousBIOBackend
0 likes · 6 min read
Comparing BIO, NIO, and Asynchronous Models Using a Bank Process Analogy
Java Captain
Java Captain
Jul 6, 2019 · Fundamentals

Understanding Java IO: BIO, NIO, and AIO with Code Examples

This article explains Java's Input/Output mechanisms, detailing the differences between Blocking IO (BIO), Non‑blocking IO (NIO), and Asynchronous IO (AIO), their synchronization models, suitable scenarios, and provides practical code samples for reading and writing files using each approach.

AIOAsynchronousBIO
0 likes · 10 min read
Understanding Java IO: BIO, NIO, and AIO with Code Examples
Java Captain
Java Captain
Dec 26, 2018 · Backend Development

Comparing BIO, NIO, and Asynchronous Models Using a Bank Process Analogy

The article uses a simple bank workflow with ten employees to illustrate how BIO, NIO, and asynchronous processing differ in task allocation and throughput, showing that dividing work among specialized roles dramatically increases the number of customers served per hour.

BIOBackend DevelopmentThroughput
0 likes · 6 min read
Comparing BIO, NIO, and Asynchronous Models Using a Bank Process Analogy