Tag

Network Programming

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Apr 25, 2025 · Backend Development

Understanding HTTP Protocol and Using Python requests Library

This article introduces the fundamentals of the HTTP protocol, explains its request and response structures, and provides a comprehensive guide to using Python's requests library for sending GET, POST, PUT, DELETE requests, handling headers, parameters, JSON responses, timeouts, and exceptions.

HTTPNetwork ProgrammingPython
0 likes · 9 min read
Understanding HTTP Protocol and Using Python requests Library
Deepin Linux
Deepin Linux
Apr 25, 2025 · Backend Development

Understanding epoll: Linux I/O Multiplexing, Design, and Practical Usage

This article explains the limitations of traditional I/O models, introduces epoll as a high‑performance Linux I/O multiplexing mechanism, details its design principles, API usage, kernel data structures, and provides practical coding examples and optimization tips for building scalable backend services.

High ConcurrencyI/O multiplexingLinux
0 likes · 41 min read
Understanding epoll: Linux I/O Multiplexing, Design, and Practical Usage
Deepin Linux
Deepin Linux
Apr 20, 2025 · Backend Development

Understanding IOCP: Windows Asynchronous I/O Completion Port

This article explains the IOCP (I/O Completion Port) mechanism in Windows, covering its principles, advantages, core components, workflow, practical usage steps with code examples, comparisons to other asynchronous models, and common pitfalls such as thread synchronization, memory management, error handling, and load balancing.

IOCPNetwork Programmingasynchronous i/o
0 likes · 31 min read
Understanding IOCP: Windows Asynchronous I/O Completion Port
Deepin Linux
Deepin Linux
Apr 18, 2025 · Backend Development

Deep Dive into Linux epoll: Design, Implementation, and Performance

epoll is a high‑performance Linux I/O multiplexing mechanism that replaces select/poll by using an event‑driven design with a red‑black tree and ready list, supporting edge‑ and level‑triggered modes, efficient data transfer via mmap, and providing superior scalability for high‑concurrency network applications.

High ConcurrencyI/O multiplexingLinux
0 likes · 85 min read
Deep Dive into Linux epoll: Design, Implementation, and Performance
Cognitive Technology Team
Cognitive Technology Team
Mar 24, 2025 · Fundamentals

Understanding Sockets and epoll: Kernel Abstractions and High‑Concurrency Design

Socket provides a file‑descriptor based network communication abstraction in the OS, while epoll uses a red‑black‑tree and ready‑queue mechanism to deliver O(log N) scalable I/O event handling, together forming the core design that enables high‑concurrency servers to efficiently manage thousands of connections.

High ConcurrencyLinuxNetwork Programming
0 likes · 7 min read
Understanding Sockets and epoll: Kernel Abstractions and High‑Concurrency Design
Deepin Linux
Deepin Linux
Mar 1, 2025 · Backend Development

Comprehensive Guide to C++ Network Programming Interview Questions

This article provides an extensive overview of C++ network programming concepts frequently asked in interviews, covering sockets, TCP/UDP differences, I/O multiplexing models, handshake mechanisms, packet framing issues, concurrency strategies, code examples for servers and clients, and performance optimization techniques.

C++ConcurrencyNetwork Programming
0 likes · 85 min read
Comprehensive Guide to C++ Network Programming Interview Questions
Deepin Linux
Deepin Linux
Feb 6, 2025 · Backend Development

A Comprehensive Guide to epoll in Linux: Principles, Design, and Practical Usage

This article explains how epoll improves Linux I/O multiplexing by using red‑black trees and ready lists, compares level‑triggered and edge‑triggered modes, details the epoll_create/epoll_ctl/epoll_wait system calls, discusses common pitfalls, and provides a complete TCP server example for handling many concurrent connections.

High ConcurrencyI/O multiplexingLinux
0 likes · 72 min read
A Comprehensive Guide to epoll in Linux: Principles, Design, and Practical Usage
Deepin Linux
Deepin Linux
Feb 3, 2025 · Backend Development

Understanding and Using io_uring for High‑Performance Asynchronous I/O in Linux

This article introduces Linux's io_uring framework, explains its design goals and advantages over traditional I/O models, details its core components and system calls, provides step‑by‑step implementation examples for file and network operations, and discusses performance comparisons and practical application scenarios.

Linux kernelNetwork Programmingasynchronous i/o
0 likes · 43 min read
Understanding and Using io_uring for High‑Performance Asynchronous I/O in Linux
Deepin Linux
Deepin Linux
Jan 23, 2025 · Backend Development

Zero‑Copy Techniques in Linux: sendfile, mmap, splice and tee

This article explains the concept of zero‑copy in Linux, compares the four main system calls—sendfile, mmap, splice and tee—describes their APIs, internal mechanisms, performance characteristics, typical use‑cases and provides practical code examples for high‑performance network programming.

LinuxMMAPNetwork Programming
0 likes · 37 min read
Zero‑Copy Techniques in Linux: sendfile, mmap, splice and tee
Deepin Linux
Deepin Linux
Dec 29, 2024 · Backend Development

Understanding epoll: High‑Performance I/O Multiplexing in Linux

This article explains the principles, advantages, and implementation details of Linux's epoll I/O multiplexing mechanism, compares it with select and poll, describes its level‑ and edge‑triggered modes, and provides practical C and Python examples for building high‑concurrency network servers.

I/O multiplexingLinuxNetwork Programming
0 likes · 61 min read
Understanding epoll: High‑Performance I/O Multiplexing in Linux
Deepin Linux
Deepin Linux
Dec 25, 2024 · Fundamentals

An Introduction to RDMA: Principles, Programming, and Applications

This article explains RDMA technology, covering its core principles, programming model with Verbs API, various communication modes, and its impact on data‑center networking, high‑performance computing, and distributed storage, highlighting its low‑latency, zero‑copy advantages over traditional TCP/IP.

Data CenterHigh Performance ComputingNetwork Programming
0 likes · 30 min read
An Introduction to RDMA: Principles, Programming, and Applications
Deepin Linux
Deepin Linux
Dec 18, 2024 · Backend Development

Understanding Linux Kernel Sockets: Concepts, Types, and API Functions

This article provides a comprehensive overview of Linux socket programming, covering socket definitions, classifications such as stream, datagram, and raw sockets, connection-oriented versus connectionless communication, IP/port/MAC addressing, byte order considerations, and practical C API examples for creating and using sockets.

C++LinuxNetwork Programming
0 likes · 35 min read
Understanding Linux Kernel Sockets: Concepts, Types, and API Functions
Python Programming Learning Circle
Python Programming Learning Circle
Dec 7, 2024 · Fundamentals

Implementing a Simple UDP Chatroom with Python Sockets

This article explains the fundamentals of socket programming in Python by demonstrating how to build a lightweight UDP-based chatroom, covering socket creation, common methods, and complete server‑client examples with code snippets for multi‑user communication.

BackendNetwork ProgrammingSockets
0 likes · 8 min read
Implementing a Simple UDP Chatroom with Python Sockets
Deepin Linux
Deepin Linux
Sep 28, 2024 · Fundamentals

Understanding io_uring: Linux Asynchronous I/O Framework and Its Implementation

This article provides a comprehensive overview of Linux's io_uring, explaining its design goals, shared‑memory mechanism, submission and completion queues, core system calls, performance advantages over traditional I/O models, typical use cases, and includes a complete example of a network server built with io_uring.

Linux kernelNetwork Programmingasynchronous i/o
0 likes · 39 min read
Understanding io_uring: Linux Asynchronous I/O Framework and Its Implementation
IT Services Circle
IT Services Circle
Aug 28, 2024 · Backend Development

Interview Experience and Technical Guide: HTTP Versions, Java Network Programming, OS I/O, Database Concurrency, Bloom Filter, Reflection, Annotations, and Synchronization

The article shares a graduate's interview experience and provides a comprehensive technical guide covering HTTP/1.x vs HTTP/2 differences, Java socket and HTTP server code, OS I/O buffering vs direct I/O, database concurrency control, Bloom filter principles, Java reflection, annotation usage, and synchronized locking semantics.

Bloom FilterConcurrencyHTTP
0 likes · 21 min read
Interview Experience and Technical Guide: HTTP Versions, Java Network Programming, OS I/O, Database Concurrency, Bloom Filter, Reflection, Annotations, and Synchronization
FunTester
FunTester
Jun 3, 2024 · Backend Development

Implementing Unix Domain Socket Communication in Java with junixsocket

This article demonstrates how to use the junixsocket library to add Unix domain socket support to Java applications, providing Maven dependency details, full server and client code examples, and cross‑language testing with a Go server implementation.

BackendIPCJava
0 likes · 6 min read
Implementing Unix Domain Socket Communication in Java with junixsocket
Selected Java Interview Questions
Selected Java Interview Questions
May 19, 2024 · Backend Development

Netty Interview Questions and Answers: Core Concepts and Features

This article provides a comprehensive set of Netty interview questions and detailed answers covering its architecture, Reactor pattern, core components such as Channel, ChannelHandler, ChannelPipeline, ByteBuf advantages, EventLoop groups, codecs, handling of packet framing, and graceful shutdown procedures.

BackendJavaNetty
0 likes · 10 min read
Netty Interview Questions and Answers: Core Concepts and Features
Deepin Linux
Deepin Linux
Apr 13, 2024 · Fundamentals

Understanding POSIX: Concepts, Network APIs, and Semaphore Programming in C

This article explains the POSIX standards, their role in providing portable Unix-like system interfaces, demonstrates network client‑server programming with POSIX sockets, analyzes key socket functions and the TCP three‑way handshake, and introduces POSIX named and unnamed semaphores with example code for synchronization and producer‑consumer patterns.

C++ConcurrencyNetwork Programming
0 likes · 26 min read
Understanding POSIX: Concepts, Network APIs, and Semaphore Programming in C