Tagged articles
io-model
12 articles · Page 1 of 1
This tutorial walks through core operating‑system concepts—including resource management, user vs. kernel mode, processes and threads, state transitions, synchronization, PV (producer‑consumer) semantics, deadlock conditions and prevention, paging address translation, virtual memory, page‑replacement algorithms, file‑system allocation, and I/O models such as blocking, non‑blocking, multiplexing, and asynchronous I/O—using a regional medical imaging platform as a running example.
SynchronizationThreaddeadlock
0 likes · 44 min read

This article explains Netty’s architecture, compares Java’s BIO/NIO/AIO models, describes its thread models and pipeline, and provides a step‑by‑step guide with code to build a WebSocket‑based real‑time chat server using Spring Boot 3 and JDK 21.
JavaNettyReal-time Chat
0 likes · 21 min read

This article explains the fundamentals of Java I/O models, introduces Netty’s architecture and thread models, compares real‑time communication techniques, and provides step‑by‑step code for creating a WebSocket‑based instant messaging service using Spring Boot 3 and Netty.
JavaNettySpring Boot 3
0 likes · 24 min read

Redis 6.0 adds a multithreaded network I/O model, client caching, ACL and RESP3, and explains why earlier versions were single‑threaded, how the new IO threads cooperate with the main thread, and the practical steps to enable and tune multithreading for better performance.
Database PerformanceMultithreadingRedis
0 likes · 10 min read

This article explains Netty's asynchronous architecture, compares BIO/NIO/AIO models, describes its thread and pipeline designs, evaluates real‑time communication options, and provides complete frontend and backend code examples for creating a WebSocket‑based instant messaging service using Netty and Spring Boot 3.
JavaNettyWebSocket
0 likes · 18 min read

This article provides a comprehensive overview of Netty's core layers, protocol support, transport services, logical architecture, various I/O models, packet framing techniques, custom protocol design, write‑and‑flush behavior, off‑heap memory management, and high‑performance data structures such as FastThreadLocal and HashedTimerWheel.
JavaNettyhigh-performance
0 likes · 26 min read

The article analyzes the high load and low CPU utilization problems of a Java service, compares various I/O models, introduces coroutine fundamentals and the Quasar library, demonstrates practical migration steps with code examples, and evaluates the performance gains and risks of adopting coroutine‑based concurrency.
BackendConcurrencyQuasar
0 likes · 19 min read

This article examines why Netty has become the preferred high‑performance server framework over Tomcat, covering Java I/O models, zero‑copy techniques, off‑heap memory usage, and Netty’s custom object‑pooling, and explains how these features enable handling thousands of concurrent connections efficiently.
Java NetworkingNettyOff-heap Memory
0 likes · 8 min read

This article explains Redis's high‑performance I/O architecture by tracing the evolution from blocking, non‑blocking, and multiplexed network models to various Reactor‑based thread designs, illustrating each model with Java pseudo‑code and diagrams to clarify why Redis adopts a single‑threaded Reactor with optional multi‑threaded I/O extensions.
JavaReactor PatternRedis
0 likes · 19 min read

This article explains the structure and principles of Tomcat connectors, describes how they handle network IO through components like Endpoint, Processor, and Adapter, and compares the synchronous NioEndpoint with the asynchronous Nio2Endpoint using various IO models and multithreading techniques.
ConnectorJavaNio2Endpoint
0 likes · 16 min read

This article explains the principles of event‑driven programming, compares traditional linear execution with event‑driven models, and details various I/O models—including blocking, non‑blocking, multiplexing, signal‑driven, and asynchronous—providing Python code examples and discussing their advantages and use cases.
Pythonasynchronousevent-driven
0 likes · 26 min read


58 TechJun 14, 2019 · Backend Development
This article explains the two main network I/O architectures—thread‑based designs such as one‑connection‑per‑thread, pre‑forked processes, and their pros and cons, as well as event‑driven designs like the Reactor pattern, thread pools, and multiple reactors—helping readers choose the appropriate model for different server workloads.
Reactor Patternevent-drivenio-model
0 likes · 11 min read
