Tagged articles
118 articles
Page 2 of 2
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 13, 2018 · Backend Development

Why Netty Dominates Modern High‑Performance Network Applications

Netty is a high‑performance, asynchronous, event‑driven NIO framework that supports TCP, UDP and file transfer, offering robust, customizable, and scalable networking solutions widely adopted across internet, big‑data, gaming and telecom industries, with detailed analysis of its architecture, I/O model, threading, serialization, reliability, traffic shaping, graceful shutdown, and security features.

AsynchronousFrameworkNetty
0 likes · 21 min read
Why Netty Dominates Modern High‑Performance Network Applications
Programmer DD
Programmer DD
Aug 15, 2018 · Backend Development

How Kafka’s NIO Reactor Model Powers High‑Throughput Messaging

This article explains Kafka's NIO‑based Reactor network communication model, detailing its 1‑Acceptor + N‑Processor + M‑Handler thread architecture, the roles of SocketServer, Acceptor, Processor, RequestChannel, KafkaRequestHandler and KafkaApis, and includes source code excerpts for deeper insight.

BackendReactornetwork
0 likes · 14 min read
How Kafka’s NIO Reactor Model Powers High‑Throughput Messaging
Java Backend Technology
Java Backend Technology
Jul 5, 2018 · Fundamentals

Unveiling the Hidden Mechanics of Sockets: From Bytes to Network Communication

This article demystifies socket communication by illustrating the end‑to‑end process of TCP/UDP message exchange, detailing how client and server serialize objects, interact with kernel read/write buffers, handle blocking, acknowledgments, packet headers, and flow control, and why understanding these low‑level mechanisms is crucial for reliable network programming.

AcknowledgmentBlockingNetwork programming
0 likes · 9 min read
Unveiling the Hidden Mechanics of Sockets: From Bytes to Network Communication
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
dbaplus Community
dbaplus Community
Mar 27, 2018 · Backend Development

How Tomcat Implements NIO: A Deep Dive into I/O Multiplexing and NioEndpoint

This article explains Tomcat's NIO architecture, covering the I/O multiplexing model, Tomcat's support for various I/O models, NioEndpoint component relationships, step‑by‑step source‑code analysis, performance considerations, and practical configuration tips for optimizing high‑concurrency Java servers.

I/O MultiplexingJavaTomcat
0 likes · 11 min read
How Tomcat Implements NIO: A Deep Dive into I/O Multiplexing and NioEndpoint
Java Captain
Java Captain
Mar 6, 2018 · Backend Development

Java NIO Basics: Channels, Buffers, and Selectors

This article introduces Java NIO fundamentals, explaining the key concepts of Channel, Buffer, and Selector, comparing them with traditional I/O streams, and providing code examples for file reading, writing with FileChannel, and illustrating how selectors enable single‑threaded multiplexed I/O handling.

BackendChannelI/O
0 likes · 8 min read
Java NIO Basics: Channels, Buffers, and Selectors
Java Captain
Java Captain
Feb 9, 2018 · Fundamentals

Introduction to Java I/O and the File Class with Practical Example

This article introduces Java I/O fundamentals, explains the four I/O interface groups, details the File class methods, provides a complete code demo with execution results, and highlights important points such as mkdirs behavior and cross‑platform path separators.

BackendFileI/O
0 likes · 6 min read
Introduction to Java I/O and the File Class with Practical Example
Qunar Tech Salon
Qunar Tech Salon
Dec 1, 2017 · Mobile Development

Long Connection Architecture and Implementation in Android Clients

This article explains the principles of TCP long connections, compares NIO and BIO models, and describes how Android applications can implement and share persistent connections using AIDL, process sharing, and a dedicated SDK to support push, IM, and other real‑time services.

AndroidMobile DevelopmentNetworking
0 likes · 8 min read
Long Connection Architecture and Implementation in Android Clients
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Oct 26, 2017 · Backend Development

Understanding Kafka’s NIO Selector: How the Selector Class Manages Connections

This article delves into Kafka’s network layer implementation, explaining the Selector class’s role in registering socket channels, handling connection events, and orchestrating reads and writes via KafkaChannel and TransportLayer, while illustrating packet structures and providing code snippets for key functions like register, connect, poll, and send.

Backend DevelopmentJavaKafka
0 likes · 7 min read
Understanding Kafka’s NIO Selector: How the Selector Class Manages Connections
Java Captain
Java Captain
Aug 22, 2017 · Backend Development

Understanding Java NIO: Channels, Buffers, Selectors and Example Code

This article explains Java NIO fundamentals—including synchronous vs asynchronous, blocking vs non‑blocking I/O—covers core components such as Channel, Buffer, and Selector, and provides complete example code for file operations and a single‑threaded server/client, comparing NIO with traditional I/O.

ChannelNon-blocking I/Obuffer
0 likes · 16 min read
Understanding Java NIO: Channels, Buffers, Selectors and Example Code
Meituan Technology Team
Meituan Technology Team
Nov 4, 2016 · Backend Development

Understanding NIO: From Blocking I/O to Non-Blocking I/O Models

The article explains how NIO replaces the thread‑intensive blocking I/O model with a non‑blocking, event‑driven architecture that lets a single thread handle many connections, covering BIO vs NIO differences, selector mechanics, Reactor/Proactor patterns, buffer strategies, practical use cases, and framework recommendations.

Event-Driven ArchitectureI/O MultiplexingJava networking
0 likes · 19 min read
Understanding NIO: From Blocking I/O to Non-Blocking I/O Models
Java Backend Technology
Java Backend Technology
Oct 19, 2016 · Backend Development

OIO vs NIO vs AIO: Mastering Sync/Async and Blocking/Non‑Blocking in Java

The article compares Java's OIO, NIO, and AIO models, explaining how each handles threads, channels, and I/O requests, and clarifies the distinctions between synchronous, asynchronous, blocking, and non‑blocking communication, while discussing thread pooling, selector behavior, and performance implications for massive connections.

AIOAsynchronousBlocking
0 likes · 6 min read
OIO vs NIO vs AIO: Mastering Sync/Async and Blocking/Non‑Blocking in Java
Architect
Architect
Jun 15, 2016 · Backend Development

Understanding Kafka's SocketServer: Acceptor, Processor, and RequestChannel Architecture

This article explains the internal design of Kafka's SocketServer, detailing its NIO‑based thread model with Acceptor, Processor, and Handler threads, the startup sequence, how connections are accepted and processed, and the role of RequestChannel in routing requests and responses between processors and handlers.

BackendKafkaScala
0 likes · 17 min read
Understanding Kafka's SocketServer: Acceptor, Processor, and RequestChannel Architecture
Qunar Tech Salon
Qunar Tech Salon
Apr 21, 2015 · Backend Development

Understanding Netty Pitfalls: Autoread, isWritable, and Serialization

This article explains Netty's autoread switch, isWritable back‑pressure mechanism, and serialization strategies, showing how to control read/write rates, avoid thread‑pool overload, and reduce memory copies when handling TCP byte streams in high‑performance Java network applications.

Networkingbackpressureconcurrency
0 likes · 14 min read
Understanding Netty Pitfalls: Autoread, isWritable, and Serialization