Tagged articles
BIO
17 articles · Page 1 of 1
An online gateway crashed despite low CPU and memory because its one‑connection‑one‑thread BIO model exhausted threads, prompting a deep dive into thread‑pool limits, epoll, Reactor patterns, Proactor, and back‑pressure, showing how each evolution decouples connections from resource consumption to achieve million‑QPS scalability.
BIOEpollReactor
0 likes · 18 min read

This article explains the core differences of Java's three I/O models—BIO, NIO, and AIO—through analogies, code examples, and a benchmark of 1,000 concurrent connections, then provides practical guidance on selecting the right model for various workloads.
AIOBIOI/O
0 likes · 16 min read

The article explains the three major high‑concurrency I/O models—Blocking I/O, Non‑blocking I/O, and Asynchronous I/O—detailing their principles, advantages, drawbacks, and provides practical guidance on selecting the appropriate model based on workload characteristics and team constraints.
AIOBIOIO models
0 likes · 4 min read

This article compares Java's three I/O communication models—BIO, NIO, and AIO—detailing their characteristics, performance trade‑offs, programming complexities, and suitable scenarios, then examines the limitations of native AIO and how the smart‑socket library enhances it with optimized threading, memory management, stability improvements, and a simplified API.
AIOBIOIO
0 likes · 14 min read

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

This article explains the concepts of synchronous vs asynchronous and blocking vs non‑blocking I/O, then compares Java's BIO, NIO, and AIO models, describing their mechanisms, advantages, drawbacks, and suitable usage scenarios for server‑side development.
AIOBIOI/O
0 likes · 7 min read

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.
BIOI/ONIO
0 likes · 33 min read

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

This article introduces Java's three generations of IO frameworks, explains the differences between blocking BIO, NIO, and NIO2, details byte and character streams, and provides complete example programs for writing to and reading from text files using try‑with‑resources and stream conversions.
BIOFileIO
0 likes · 14 min read

The article explains Java's I/O ecosystem, covering synchronous blocking BIO, synchronous non‑blocking NIO, and asynchronous non‑blocking AIO, their classifications, practical code examples, and when to choose byte streams versus character streams.
AIOBIOBufferedStream
0 likes · 12 min read

This article introduces the fundamentals of network I/O for the DBLE database system, covering the TCP/IP protocol stack, the MySQL application‑layer protocol, and the performance differences between BIO and NIO approaches, laying the groundwork for deeper source‑code analysis.
BIOMySQLNIO
0 likes · 6 min read

This article explains Tomcat's Connector architecture, compares BIO, NIO and APR protocols, details key parameters such as acceptCount, maxConnections, maxThreads, and shows how to configure and monitor thread pools and connection limits for optimal server performance.
BIOConnectorNIO
0 likes · 14 min read

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.
BIOBackendNIO
0 likes · 6 min read

This article explores the fundamentals of high‑performance I/O design in Java, comparing BIO and NIO throughput, analyzing thread‑based and event‑driven architectures, and detailing the Reactor pattern with code examples and performance considerations for scalable web services.
BIOIOJava
0 likes · 18 min read

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.
AIOBIOFile I/O
0 likes · 10 min read

This article explains Java's I/O mechanisms—blocking BIO, non‑blocking NIO, and asynchronous AIO—detailing their definitions, key differences, appropriate use‑cases, and provides practical code examples for reading and writing files with each approach in Java applications.
AIOBIOFile I/O
0 likes · 10 min read

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
