High-Performance UDP Service Implementation with Netty on Linux

Introduction Recently, I implemented a UDP packet processing feature using Netty for statistical analysis of business data. Since Netty's default UDP handling relies on a single thread, unlike TCP's master-slave reactor model that supports multi-threading, I explored whether there were performance optimization techniques available for UDP packe ...

Posted on Sat, 01 Aug 2026 17:06:34 +0000 by andreea115

Foundations of Network Socket Programming with UDP

Core Networking Concepts Every online interaction—fetching a web page or posting a status—can be viewed as input/output. At its heart, network communicasion is simply inter-process communication carried out across machines. The global internet identifies a unique process through the combination of an IP address (which locates the host) and a po ...

Posted on Sat, 01 Aug 2026 16:19:43 +0000 by steamPunk

Network Programming with UDP Protocol

Network Protocol Models OSI Reference Model Application Layer: Actual data being transmitted Presentation Layer: Data encryption/decryption Session Layer: Session establishment and connection management Transport Layer: Data transmission methods (datagram, stream) Network Layer: Data routing between networks (IP addressing ...

Posted on Sat, 18 Jul 2026 17:05:33 +0000 by jonny 5ive

Fundamentals of Python Socket Programming and Network Architecture

Software Development Architectures Network communication applications generally fall into two primary architectural categories: Client/Server (C/S) and Browser/Server (B/S). The C/S Architecture requires a dedicated client application installed on the user's machine. This architecture typically offers richer user interfaces and higher performan ...

Posted on Sun, 28 Jun 2026 17:22:00 +0000 by dnice

Implementing UDP Broadcasting in C with epoll

UDP Broadcasting Implementation in C The follownig example demonstraets how to create a UDP broadcast cliant in C using epoll for efficient I/O multiplexing. This client broadcasts messages to a specified network address and port, then listens for server responses. Code Implementation #include <sys/socket.h> #include <netinet/in.h> ...

Posted on Mon, 01 Jun 2026 16:58:26 +0000 by morph07

Computer Network Notes: Implementing Simple UDP and TCP Communication in Python

Understanding UDP and TCP communication protocols is fundamental to computer network programming. This article explores the basic operational principles of both protocols and demonstrates their implementation through practical Python examples. UDP and TCP Basic Operation Processes UDP (User Datagram Protocol): UDP follows a straightforward comm ...

Posted on Sat, 30 May 2026 23:36:59 +0000 by skylert

Implementing UDP and Multicast Communication in Java

User Datagram Protocol (UDP) provides a connectionless method for transmitting data across a network. Unlike TCP, UDP does not establish a persistent connection, making it suitable for scenarios where speed is prioritized over guaranteed delivery. Core UDP Communication Components UDP communication typically involves two primary classes: Datagr ...

Posted on Tue, 26 May 2026 22:04:00 +0000 by phpfreak

Linux Network Programming: TCP and UDP Protocols

While we often use serial ports for information printing in embedded systems, this approach isn't suitable for multi-host network environments. This introduces the concept of network programming. In Linux, network programming involves using sockets for inter-process communication, particularly between processes on different hosts. Sockets provi ...

Posted on Sat, 23 May 2026 20:50:48 +0000 by guzman-el-bueno

Diagnosing and Resolving UDP Packet Loss with iperf3

When experiencing network packet loss, the following optimization strategies are typically employed:1. NUMA node configuration<br>2. Network interface ring buffer adjustments<br>3. Network interface multi-queue setup<br>4. Network interrupt affinity configuration<br>5. Flow control settings<br>6. Hardware interrupt ...

Posted on Mon, 18 May 2026 22:53:26 +0000 by tkm

Embedded Linux Network Programming: A Comprehensive Guide

Introduction This article covers the essential concepts and practical implementation of network programming in embedded Linux systems. The content focuses on socket programming, protocol fundamentals, and development techniques. Network Fundamentals 1.1 Network Layer Models Two primary layered models exist in networking: OSI Seven-Layer Mod ...

Posted on Mon, 11 May 2026 05:36:33 +0000 by aaronhall