Tagged articles

Asynchronous IO

23 articles · Page 1 of 1
LuTiao Programming
LuTiao Programming
Jan 11, 2026 · Backend Development

Beyond HTTP: Building a Custom TCP Protocol with Spring Boot and Netty from Scratch

This article walks through why raw ServerSocket code is unsuitable for high‑concurrency custom protocols, explains Netty’s event‑driven architecture, and provides a step‑by‑step Spring Boot integration—including Maven setup, boss/worker groups, pipeline configuration, a ByteToMessageDecoder for a 49‑byte binary format, and a business handler—to achieve a clean, maintainable TCP solution.

Asynchronous IOCustom TCP ProtocolDevice Communication
0 likes · 9 min read
Beyond HTTP: Building a Custom TCP Protocol with Spring Boot and Netty from Scratch
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 2, 2025 · Backend Development

Why Nginx’s Master‑Worker Architecture Powers High‑Performance Web Services

This article explains how Nginx achieves high‑performance web serving through its master‑worker multi‑process model, event‑driven mechanism, and asynchronous non‑blocking I/O, detailing each component’s role, configuration tips, and the reasons behind its superior concurrency handling.

Asynchronous IOevent-drivenhigh performance
0 likes · 5 min read
Why Nginx’s Master‑Worker Architecture Powers High‑Performance Web Services
Lin is Dream
Lin is Dream
Aug 22, 2025 · Backend Development

Mastering Asynchronous Writes in Java NIO: Build a Reliable Write Queue

This article explains why direct writes to a Java NIO channel fail for large messages, introduces a write‑queue and OP_WRITE listener to handle partial writes, and provides a complete PacketWriter implementation that transforms synchronous writes into efficient asynchronous operations.

Asynchronous IOJava NIONetty
0 likes · 9 min read
Mastering Asynchronous Writes in Java NIO: Build a Reliable Write Queue
Deepin Linux
Deepin Linux
Jul 1, 2025 · Backend Development

Mastering IO Models: From Blocking to Asynchronous for High‑Performance Servers

This comprehensive guide explains the fundamentals of IO models—including blocking, non‑blocking, multiplexing, and asynchronous approaches—detailing their kernel interactions, practical Python examples, performance trade‑offs, and real‑world optimization strategies for high‑concurrency server applications.

Asynchronous IOBlocking IOIO models
0 likes · 33 min read
Mastering IO Models: From Blocking to Asynchronous for High‑Performance Servers
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 9, 2024 · Backend Development

Implementing Internal Network Penetration (Port Forwarding) with Java AIO Asynchronous Sockets

This article explains the principle of internal network penetration, describes how to build a Java AIO‑based client‑service tunnel with separate modules for registration and data exchange, and provides complete source code and testing steps for remote access to locally deployed services.

AIOAsynchronous IOBackend Development
0 likes · 11 min read
Implementing Internal Network Penetration (Port Forwarding) with Java AIO Asynchronous Sockets
Top Architect
Top Architect
Sep 22, 2023 · Backend Development

Understanding Java I/O: BIO, NIO, AIO, and Netty – A Comprehensive Guide

This article provides a comprehensive overview of Java I/O models—including blocking (BIO), non‑blocking (NIO), asynchronous (AIO)—explains their differences, demonstrates file and network programming with code examples, and introduces Netty as a high‑performance framework for building scalable server applications.

Asynchronous IOFile I/OJava I/O
0 likes · 32 min read
Understanding Java I/O: BIO, NIO, AIO, and Netty – A Comprehensive Guide
Sanyou's Java Diary
Sanyou's Java Diary
Jun 19, 2023 · Backend Development

Master Netty: 32 Essential Interview Questions and Answers

This comprehensive guide covers Netty fundamentals, core components, thread models, zero‑copy techniques, channel pipelines, codecs, bootstrapping, IO models, TCP framing, large file transfer, heartbeat mechanisms, SSL/TLS, default thread counts, WebSocket support, performance advantages, differences from Tomcat, server architecture, threading models, long‑connection handling, message‑sending methods, heartbeat types, memory management, and high‑availability strategies, providing Java developers with everything needed to ace Netty interview questions.

Asynchronous IONettyNetwork Programming
0 likes · 49 min read
Master Netty: 32 Essential Interview Questions and Answers
MaGe Linux Operations
MaGe Linux Operations
Apr 2, 2023 · Fundamentals

Understanding Linux I/O Models: From Blocking to Asynchronous

This article explains the five Linux I/O models—blocking, non‑blocking, I/O multiplexing, signal‑driven, and asynchronous—detailing their system calls, behavior, and performance characteristics while using vivid analogies to illustrate each model’s workflow.

Asynchronous IOBlocking IOIO models
0 likes · 10 min read
Understanding Linux I/O Models: From Blocking to Asynchronous
Tencent Cloud Developer
Tencent Cloud Developer
Jul 19, 2022 · Backend Development

Designing a Reactor‑Based Asynchronous Network Library in Go

To overcome Go’s per‑connection goroutine memory and GC limits at massive scale, the article designs a three‑layer Reactor‑based network library that uses epoll/kqueue, lock‑protected file descriptors, zero‑copy buffers, and load‑balanced sub‑reactors, enabling stable operation with up to a million concurrent connections.

Asynchronous IOGoHigh concurrency
0 likes · 19 min read
Designing a Reactor‑Based Asynchronous Network Library in Go
Wukong Talks Architecture
Wukong Talks Architecture
Dec 7, 2021 · Backend Development

Netty Core Concepts and NIO Fundamentals in Java

This article provides a comprehensive overview of Java network programming fundamentals, including socket basics, IO models (BIO, NIO, AIO), NIO core components such as Channel, Buffer, and Selector, and detailed example code for building NIO client‑server applications.

Asynchronous IOJavaNIO
0 likes · 28 min read
Netty Core Concepts and NIO Fundamentals in Java
Liangxu Linux
Liangxu Linux
Aug 31, 2021 · Fundamentals

Understanding the Four Core I/O Models: Blocking, Non‑Blocking, Multiplexing, and Asynchronous

Explore the four fundamental I/O models—Blocking, Non‑Blocking, I/O Multiplexing (Reactor), and Asynchronous (Proactor)—with clear explanations and illustrative diagrams, helping readers grasp how each model works, their typical use cases, and why technologies like epoll or Redis benefit from multiplexing.

Asynchronous IOBlocking IOI/O multiplexing
0 likes · 3 min read
Understanding the Four Core I/O Models: Blocking, Non‑Blocking, Multiplexing, and Asynchronous
New Oriental Technology
New Oriental Technology
Jul 5, 2021 · Backend Development

Introduction to Java NIO: Buffers, Channels, and Selectors

This article provides a comprehensive overview of Java NIO, explaining the differences between BIO and NIO, the concepts of synchronous/asynchronous and blocking/non‑blocking I/O, and detailing the usage and implementation of Buffers, Channels, and Selectors with code examples.

Asynchronous IOBufferChannel
0 likes · 10 min read
Introduction to Java NIO: Buffers, Channels, and Selectors
Code Ape Tech Column
Code Ape Tech Column
Feb 18, 2021 · Fundamentals

Understanding Linux I/O Models: Blocking, Non‑Blocking, Multiplexing, Signal‑Driven, and Asynchronous

This article explains the five Linux I/O models—blocking, non‑blocking, I/O multiplexing, signal‑driven, and asynchronous—detailing their system calls, synchronization characteristics, and how they map to Java BIO, NIO, and AIO implementations, with illustrative analogies and usage scenarios.

Asynchronous IOBlocking IOIO models
0 likes · 15 min read
Understanding Linux I/O Models: Blocking, Non‑Blocking, Multiplexing, Signal‑Driven, and Asynchronous
Ctrip Technology
Ctrip Technology
Aug 20, 2020 · Backend Development

Improving Java High‑Concurrency I/O Performance with Quasar Coroutines

This article explains how to replace complex Java NIO callback code with lightweight Quasar coroutines to boost throughput, simplify asynchronous programming, and reduce thread usage in high‑concurrency backend systems, while also covering integration with Netty, RPC, and handling of blocking operations.

Asynchronous IOCoroutinesJava
0 likes · 17 min read
Improving Java High‑Concurrency I/O Performance with Quasar Coroutines
MaGe Linux Operations
MaGe Linux Operations
Apr 11, 2017 · Fundamentals

Master Python asyncio: From Coroutines to Event Loops Explained

Learn how Python's asyncio library enables asynchronous I/O by defining coroutines with async/await, managing event loops, handling futures, using gather and wait, and properly closing loops, with clear code examples illustrating each concept and practical tips for concurrent programming.

Asynchronous IOasynciocoroutine
0 likes · 6 min read
Master Python asyncio: From Coroutines to Event Loops Explained
Architect
Architect
Apr 8, 2016 · Databases

InnoDB IO Subsystem and Buffer Pool Memory Management Overview

This article explains InnoDB's file I/O interfaces, asynchronous and synchronous read/write mechanisms, background IO threads, AIO request handling, concurrency controls, prefetch strategies, log write padding, and the evolution of buffer pool initialization, chain management, and page eviction in MySQL 5.7.

Asynchronous IOBuffer PoolIO
0 likes · 19 min read
InnoDB IO Subsystem and Buffer Pool Memory Management Overview
21CTO
21CTO
Sep 10, 2015 · Fundamentals

Why Erlang’s BEAM VM Is Unique: Garbage Collection and Async IO

Eric Merritt explains how Erlang’s BEAM VM differs from other VMs with its actor‑based, per‑process garbage collection and efficient asynchronous I/O, discusses the motivations behind Joxa, offers a balanced view on Elixir, explores language laziness, type‑system considerations, and mentions emerging technologies like micro‑kernels and Nix.

Asynchronous IOBEAMErlang
0 likes · 5 min read
Why Erlang’s BEAM VM Is Unique: Garbage Collection and Async IO