Tagged articles
171 articles
Page 2 of 2
macrozheng
macrozheng
Jun 3, 2021 · Backend Development

How Redis Starts: Inside the Server’s Event Loop and Reactor Model

This article walks through Redis's startup sequence, explaining how the server creates a listening socket, registers events with the aeFileEvent system, runs a single‑threaded select‑based event loop, and processes client commands using the Reactor pattern, complete with code examples and diagrams.

Backend DevelopmentNetwork programmingReactor Pattern
0 likes · 8 min read
How Redis Starts: Inside the Server’s Event Loop and Reactor Model
Aikesheng Open Source Community
Aikesheng Open Source Community
May 27, 2021 · Databases

Essential Skills for Middleware Development and Database Middleware

This article outlines the fundamental and specialized technical skills required for developing middleware in general and database middleware in particular, covering multithreading, network programming, design patterns, asynchronous programming, algorithms, testing, performance tuning, as well as SQL, transaction handling, protocol implementation, and replication.

Design PatternsNetwork programmingmiddleware
0 likes · 9 min read
Essential Skills for Middleware Development and Database Middleware
TAL Education Technology
TAL Education Technology
May 20, 2021 · Operations

Implementing HttpDNS on Windows via API Hook for WinInet

This article explains why HttpDNS is used to improve DNS resolution for a WinInet‑based installer, compares two implementation schemes, and details a Windows API Hook solution—including inline hook techniques, detours usage, and custom GetAddrInfoEx handling—to achieve transparent, secure domain resolution on Windows clients.

API HookDNS over HTTPSHTTPDNS
0 likes · 12 min read
Implementing HttpDNS on Windows via API Hook for WinInet
Intelligent Backend & Architecture
Intelligent Backend & Architecture
Apr 29, 2021 · Backend Development

Why Netty Is the Go-To Framework for High‑Performance Java Backend Development

This article explains how Netty, an asynchronous event‑driven network framework built on Java NIO, simplifies the creation of high‑performance, scalable web servers and client components by handling I/O streams, connection management, threading, zero‑copy transfers, and offering flexible reactor thread models for various application scenarios.

Backend DevelopmentJavaNetty
0 likes · 39 min read
Why Netty Is the Go-To Framework for High‑Performance Java Backend Development
vivo Internet Technology
vivo Internet Technology
Apr 28, 2021 · Backend Development

Tars Java RPC Client Design and Implementation Analysis

The article thoroughly examines Tars’s Java RPC client, explaining its initialization, proxy generation via JDK dynamic proxies, diverse load‑balancing strategies, NIO‑based Reactor networking, and both synchronous (CountDownLatch) and asynchronous callback mechanisms, supplemented with detailed source‑code illustrations of each component.

Client DesignDistributed SystemsNIO Selector
0 likes · 15 min read
Tars Java RPC Client Design and Implementation Analysis
Top Architect
Top Architect
Apr 19, 2021 · Backend Development

Thread Models and Reactor/Proactor Patterns in Server Architecture

This article explains server thread models—including traditional blocking I/O, the Reactor pattern with its single‑thread, multi‑thread, and master‑slave variants, and the asynchronous Proactor model—detailing their mechanisms, advantages, disadvantages, and typical use cases in backend development.

Network programmingReactor PatternThread Model
0 likes · 12 min read
Thread Models and Reactor/Proactor Patterns in Server Architecture
php Courses
php Courses
Apr 2, 2021 · Backend Development

Implementing Ping Using ICMP Raw Sockets in PHP

This tutorial explains how to use PHP's raw socket functions to construct and send an ICMP echo request packet, calculate its checksum, receive the reply, and wrap the logic into a reusable ping($host, $retry) function for backend network diagnostics.

BackendICMPNetwork programming
0 likes · 6 min read
Implementing Ping Using ICMP Raw Sockets in PHP
ITPUB
ITPUB
Mar 18, 2021 · Fundamentals

Unveiling Linux epoll: How the Kernel Detects Ready Sockets in Microseconds

This article provides a deep, step‑by‑step analysis of Linux's epoll mechanism, covering socket creation with accept, the internal structures of eventpoll, how epoll_ctl registers sockets, the wait‑queue interactions, and the exact code paths that move a TCP packet from the NIC to a user‑space process.

IO MultiplexingLinuxNetwork programming
0 likes · 26 min read
Unveiling Linux epoll: How the Kernel Detects Ready Sockets in Microseconds
vivo Internet Technology
vivo Internet Technology
Mar 17, 2021 · Backend Development

Implementation and Principles of HTTP Range (Breakpoint) File Download in Java

The article explains how Vivo’s platform implements a fault‑tolerant HTTP Range (breakpoint) download in Java—detecting server support, choosing single‑or multi‑threaded segmented downloads, using RandomAccessFile and retry logic, verifying integrity with ETag/MD5, and issuing alerts, while noting when the added complexity is justified.

Breakpoint DownloadHTTP RangeJava
0 likes · 23 min read
Implementation and Principles of HTTP Range (Breakpoint) File Download in Java
ITPUB
ITPUB
Jan 28, 2021 · Backend Development

Mastering High‑Performance Network Frameworks: IO Events, Multiplexing, and the Reactor Pattern

This article explains the fundamentals of IO events and multiplexing, compares thread‑based and event‑driven architectures, details the Reactor pattern variants, and clarifies synchronous versus asynchronous IO, providing a practical guide for building high‑performance network frameworks in Linux environments.

IO MultiplexingLinuxNetwork programming
0 likes · 13 min read
Mastering High‑Performance Network Frameworks: IO Events, Multiplexing, and the Reactor Pattern
JD Retail Technology
JD Retail Technology
Dec 28, 2020 · Backend Development

Simplified Analysis of Netty Server and Client Startup and Communication

This article provides a concise, code‑driven walkthrough of Netty's core components—including event‑loop groups, channel initialization, pipeline handling, and the server‑client handshake process—by simplifying the original source to highlight the essential mechanisms behind asynchronous network communication in Java.

Backend DevelopmentChannel pipelineJava NIO
0 likes · 19 min read
Simplified Analysis of Netty Server and Client Startup and Communication
MaGe Linux Operations
MaGe Linux Operations
Dec 25, 2020 · Backend Development

Build a Simple UDP Chatroom with Python Sockets – Step‑by‑Step Guide

This article explains socket fundamentals and walks through creating a simple UDP‑based chatroom in Python, covering basic socket creation, common methods, a straightforward server‑client example, and an enhanced multi‑user implementation with full source code and execution details.

Backend DevelopmentChatroomNetwork programming
0 likes · 7 min read
Build a Simple UDP Chatroom with Python Sockets – Step‑by‑Step Guide
Liangxu Linux
Liangxu Linux
Dec 19, 2020 · Backend Development

Unlocking High‑Performance Linux Network Frameworks: IO Events, Multiplexing & Reactor Patterns

This article explains the core concepts of high‑performance Linux network programming, covering IO events, IO multiplexing, thread and event‑driven architectures, the Reactor pattern and its variants, as well as synchronous versus asynchronous IO, providing clear examples and practical guidance for building efficient server frameworks.

Backend DevelopmentIO MultiplexingNetwork programming
0 likes · 14 min read
Unlocking High‑Performance Linux Network Frameworks: IO Events, Multiplexing & Reactor Patterns
JavaEdge
JavaEdge
Dec 12, 2020 · Backend Development

Why Does TCP Have Sticky and Half Packets? Causes and Effective Solutions

This article explains why TCP experiences sticky and half packets, analyzes the underlying causes such as buffer size mismatches and MTU limits, and presents practical solutions including short connections, fixed‑length framing, delimiter‑based framing, and length‑field framing, with their advantages and trade‑offs.

NettyNetwork programmingTCP
0 likes · 5 min read
Why Does TCP Have Sticky and Half Packets? Causes and Effective Solutions
Java Captain
Java Captain
Dec 10, 2020 · Backend Development

Implementing a Real-Time Network Chatroom in Java Using TCP and Multithreading

This article explains how to build a real‑time network chatroom in Java using TCP sockets, multithreading, and a ConcurrentHashMap to manage user connections, detailing command handling for listing users, group chat, private messages, exiting, and server shutdown, with full source code examples.

ChatroomConcurrentHashMapJava
0 likes · 14 min read
Implementing a Real-Time Network Chatroom in Java Using TCP and Multithreading
JavaEdge
JavaEdge
Nov 3, 2020 · Backend Development

Why select and poll Fall Behind epoll: A Deep Dive into Linux I/O Multiplexing

This article compares Linux's select, poll, and epoll mechanisms, explaining their internal workings, limitations such as FD_SETSIZE and linear scanning, and why epoll's event‑driven design offers superior scalability and performance for high‑concurrency network servers.

I/O MultiplexingLinuxNetwork programming
0 likes · 7 min read
Why select and poll Fall Behind epoll: A Deep Dive into Linux I/O Multiplexing
Liangxu Linux
Liangxu Linux
Oct 8, 2020 · Backend Development

Master Blocking vs Non‑Blocking I/O: From select to epoll and Reactor Patterns

This article explains the fundamentals of blocking and non‑blocking I/O, compares select, poll, and epoll mechanisms, introduces the Reactor model and its variants, and shows how to solve the C10K problem with processes, threads, thread pools, and event‑driven architectures, complete with code examples.

Backend DevelopmentI/O MultiplexingNetwork programming
0 likes · 28 min read
Master Blocking vs Non‑Blocking I/O: From select to epoll and Reactor Patterns
Laravel Tech Community
Laravel Tech Community
Jul 25, 2020 · Backend Development

Using PHP pfsockopen() for Persistent Socket Connections

This article explains the PHP pfsockopen() function, its parameters, return values, and provides a complete example demonstrating how to establish a persistent SSL socket, send an HTTP POST request, and read the response using low‑level socket operations.

Network programmingPHPPersistent Connection
0 likes · 4 min read
Using PHP pfsockopen() for Persistent Socket Connections
Laravel Tech Community
Laravel Tech Community
Jul 24, 2020 · Backend Development

PHP fsockopen() Function: Usage, Parameters, and Examples

fsockopen() opens a network or Unix socket connection in PHP, with detailed parameter explanations, default behavior, error handling, and two practical code examples demonstrating HTTP GET requests and UDP socket usage, along with notes on blocking mode and related functions.

BackendNetwork programmingPHP
0 likes · 4 min read
PHP fsockopen() Function: Usage, Parameters, and Examples
Architecture Digest
Architecture Digest
Jul 17, 2020 · Backend Development

Comparison of select, poll, and epoll: Time Complexity, Advantages, and Implementation Details

This article compares the three I/O multiplexing mechanisms—select, poll, and epoll—by analyzing their time complexities, limitations, trigger modes, performance characteristics, and implementation details, helping developers choose the most suitable method for different Linux networking scenarios.

IO MultiplexingLinuxNetwork programming
0 likes · 14 min read
Comparison of select, poll, and epoll: Time Complexity, Advantages, and Implementation Details
Selected Java Interview Questions
Selected Java Interview Questions
Jul 6, 2020 · Backend Development

Comprehensive Netty Tutorial for Beginners: Installation, Core Concepts, and a Simple String Transmission Example

This article provides a step‑by‑step Netty tutorial for Java beginners, covering framework basics, installation of JDK, Maven and IDEA, core Netty components, differences between BIO/NIO/AIO, practical usage scenarios, and complete client‑server code to transmit a simple string.

JavaNettyNetwork programming
0 likes · 19 min read
Comprehensive Netty Tutorial for Beginners: Installation, Core Concepts, and a Simple String Transmission Example
iQIYI Technical Product Team
iQIYI Technical Product Team
Jun 5, 2020 · Backend Development

Design and Implementation of iQiyi's libfiber Network Coroutine Library

Using iQiyi’s open‑source libfiber as a case study, the article explains how network coroutines combine sequential programming simplicity with non‑blocking I/O scalability, detailing libfiber’s single‑threaded scheduler, cross‑platform event engine, coroutine‑aware synchronization, API hooking, and its deployment in high‑performance CDN caching and DNS services.

Network programmingcoroutinehigh concurrency
0 likes · 26 min read
Design and Implementation of iQiyi's libfiber Network Coroutine Library
JavaEdge
JavaEdge
May 6, 2020 · Backend Development

Why Netty Powers High‑Performance Java Network Applications

Netty, a Java‑based asynchronous event‑driven framework created in 2008, offers a unified API for multiple transports, a powerful reactor thread model, built‑in codecs, extensive protocol support, high throughput, low latency, robust error handling, and a vibrant ecosystem adopted by major tech companies and open‑source projects.

AsynchronousEvent-drivenJava
0 likes · 4 min read
Why Netty Powers High‑Performance Java Network Applications
Programmer DD
Programmer DD
Apr 25, 2020 · Fundamentals

How Many TCP Connections Can a Single Server Really Handle?

This article examines the theoretical and practical limits of concurrent TCP connections on a single Linux server, covering the historic C10K problem, file‑descriptor and port constraints, the 4‑tuple identification, and real‑world factors such as memory and bandwidth that cap achievable connections.

C10KNetwork programmingTCP
0 likes · 5 min read
How Many TCP Connections Can a Single Server Really Handle?
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Apr 16, 2020 · Backend Development

Unlock Netty’s Core: Deep Dive into ServerBootstrap, EventLoop, and ByteBuf

This article provides a comprehensive walkthrough of Netty’s core components—including ServerBootstrap, EventLoop, Channel, ChannelFuture, ChannelHandler, and ByteBuf—illustrated with a simple server example, code snippets, diagrams, and detailed explanations of threading, zero‑copy, and pipeline processing.

ByteBufEventLoopJava
0 likes · 30 min read
Unlock Netty’s Core: Deep Dive into ServerBootstrap, EventLoop, and ByteBuf
360 Tech Engineering
360 Tech Engineering
Nov 14, 2019 · Backend Development

Building a Simple TCP Port Scanner in Go

This article walks through creating a lightweight TCP port scanner in Go, covering basic TCP handshake theory, single‑port testing, looping over ports, adding concurrency with WaitGroup, implementing timeouts, using the flag package for command‑line options, and handling race conditions with a mutex.

GoNetwork programmingPort Scanner
0 likes · 8 min read
Building a Simple TCP Port Scanner in Go
Meitu Technology
Meitu Technology
Aug 29, 2019 · Backend Development

Memory Optimization in Long Connection Services: A Three-Year Journey

Over three years, Meitu’s long‑connection service “bifrost,” built in Go with MQTT, cut memory use from 22.3 GB to 5.1 GB for 210 k connections—and about 10 GB for a million—by tuning buffers, reducing allocations, employing memory pools, and replacing a goroutine‑per‑connection model with an epoll‑driven event architecture.

Garbage CollectionGoMQTT
0 likes · 13 min read
Memory Optimization in Long Connection Services: A Three-Year Journey
360 Tech Engineering
360 Tech Engineering
Aug 15, 2019 · Backend Development

Building a Simple RPC Framework in Go

This article walks through building a simple RPC framework in Go using about 300 lines of code, covering RPC fundamentals, TLV network data format, serialization, transport layer, server and client implementations, and a complete example to help readers understand RPC concepts.

Backend DevelopmentGoNetwork programming
0 likes · 11 min read
Building a Simple RPC Framework in Go
360 Tech Engineering
360 Tech Engineering
Jul 25, 2019 · Backend Development

Building a Simple C++ TCP Server from Scratch with cppbox

This article explains why the author created a custom C++ TCP server framework, outlines the required prerequisites and coding standards, and walks through a minimal echo server implementation together with the key cppbox library interfaces and usage examples.

BackendCNetwork programming
0 likes · 8 min read
Building a Simple C++ TCP Server from Scratch with cppbox
Architects' Tech Alliance
Architects' Tech Alliance
Jul 16, 2019 · Backend Development

Understanding Thread Models in High‑Performance Network Programming

This article explains how servers manage connections using different I/O and thread models—including traditional blocking I/O, the Reactor pattern with its single‑thread, multi‑thread, and master‑slave variants, and the Proactor model—highlighting their advantages, drawbacks, and typical use cases in backend development.

I/O ModelsNetwork programmingReactor Pattern
0 likes · 10 min read
Understanding Thread Models in High‑Performance Network Programming
Youzan Coder
Youzan Coder
May 22, 2019 · Mobile Development

YouZan Mobile Testing Environment Switching Solution: VpnService + ZanProxy Implementation

YouZan’s Mobile Assistant combines Android VpnService (or iOS NetworkExtension) with the open‑source ZanProxy, using tun2socks‑based SOCKS5 tunneling, UUID‑based user isolation, and an ACL‑driven fake‑DNS scheme to replace complex Charles/hosts setups with a single‑click, certificate‑only, PC‑free environment‑switching solution supporting TCP, UDP, and WebSocket traffic.

ACLAndroid VpnServiceDNS
0 likes · 14 min read
YouZan Mobile Testing Environment Switching Solution: VpnService + ZanProxy Implementation
Architecture Talk
Architecture Talk
May 22, 2019 · Backend Development

Why Netty Dominates Modern High‑Performance Network Development

This article explains Netty’s high‑performance asynchronous NIO architecture, its three‑layer design, I/O and threading models, serialization options, reliability, security features, traffic shaping, and graceful shutdown, showing why it’s the preferred framework for backend and distributed systems.

Network programmingnioperformance
0 likes · 17 min read
Why Netty Dominates Modern High‑Performance Network Development
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 21, 2019 · Backend Development

Essential Netty Knowledge and Source Code Analysis

This article introduces the "Big Data Path to God" series, lists several Java advanced topics, and provides a comprehensive Netty guide covering BIO/NIO/AIO differences, Netty features, threading model, TCP packet handling, serialization choices, zero‑copy, performance aspects, and key source‑code components.

JavaNettyNetwork programming
0 likes · 3 min read
Essential Netty Knowledge and Source Code Analysis
MaGe Linux Operations
MaGe Linux Operations
Jan 5, 2019 · Backend Development

Build a Simple FTP Server in 9 Python Lines with pyftpdlib

This tutorial shows how to quickly set up a functional FTP server using just nine lines of Python code with the pyftpdlib library, covering installation, core script, execution, and troubleshooting common IP address issues.

Backend DevelopmentFTPNetwork programming
0 likes · 3 min read
Build a Simple FTP Server in 9 Python Lines with pyftpdlib
Architects' Tech Alliance
Architects' Tech Alliance
Oct 29, 2018 · Backend Development

Overview of High‑Performance Server I/O Models

This article provides a comprehensive overview of high‑performance server I/O models—including blocking, non‑blocking, multiplexing, signal‑driven, and asynchronous I/O—explaining their principles, advantages, disadvantages, and typical usage scenarios for designing scalable backend services in production.

BackendI/O ModelsJava
0 likes · 14 min read
Overview of High‑Performance Server I/O Models
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
JD Tech
JD Tech
Jun 21, 2018 · Backend Development

Understanding High Concurrency: From Network Cards to Multithreading Models

This article explains the fundamentals of high‑concurrency systems, covering how network cards and routers handle massive traffic, the role of the operating system and epoll/select, various I/O models, reactor and multithreading patterns, and strategies to improve CPU and I/O utilization.

IO MultiplexingNetwork programmingReactor Pattern
0 likes · 19 min read
Understanding High Concurrency: From Network Cards to Multithreading Models
Architecture Digest
Architecture Digest
May 6, 2018 · Backend Development

Design and Prototype of a Distributed VPN Using Go and KCP

This article describes the motivation, requirements, solution research, and detailed design of a lightweight distributed VPN built with Go, employing KCP as the transport protocol, and includes prototype source code for both hub and peer components.

GoKCPNetwork programming
0 likes · 12 min read
Design and Prototype of a Distributed VPN Using Go and KCP
MaGe Linux Operations
MaGe Linux Operations
Dec 30, 2017 · Backend Development

Build a Simple FTP Server in 9 Python Lines with pyftpdlib

This tutorial shows how to quickly create a functional FTP server using only nine lines of Python code with pyftpdlib, covering installation, essential configuration of users and permissions, server startup, and testing via an FTP client.

FTPNetwork programmingPython
0 likes · 4 min read
Build a Simple FTP Server in 9 Python Lines with pyftpdlib
Hujiang Technology
Hujiang Technology
Sep 27, 2017 · Backend Development

Understanding Netty: Principles, Architecture, and Thread Model

This article introduces Netty, an asynchronous event‑driven network framework, covering its design goals, performance benefits, core components such as zero‑copy and unified APIs, advanced features like SSL/TLS and WebSocket support, and explains its single‑thread, multi‑thread, and master‑slave thread models for high‑concurrency backend development.

Backend DevelopmentEvent-drivenNetty
0 likes · 9 min read
Understanding Netty: Principles, Architecture, and Thread Model
360 Quality & Efficiency
360 Quality & Efficiency
Mar 29, 2017 · Backend Development

Introduction to Java Socket Programming: Basics, Usage, and Best Practices

This article explains the fundamentals of Java socket programming, covering what sockets are, the three essential components for establishing a connection, sample server and client code, connection monitoring techniques, multithreaded handling of multiple clients, and UDP communication with practical considerations.

JavaNetwork programmingTCP
0 likes · 4 min read
Introduction to Java Socket Programming: Basics, Usage, and Best Practices
ZhiKe AI
ZhiKe AI
Mar 9, 2017 · Backend Development

Key Components of a Netty Application

The article outlines the core components of Netty—Bootstrap/ServerBootstrap, EventLoop, EventLoopGroup, ChannelPipeline, Channel, Future/ChannelFuture, ChannelInitializer, and ChannelHandler (Inbound and Outbound)—explaining their roles in configuring, handling I/O, and processing data within a non‑blocking, event‑driven network application.

BootstrapChannelHandlerChannelPipeline
0 likes · 3 min read
Key Components of a Netty Application
MaGe Linux Operations
MaGe Linux Operations
Mar 8, 2017 · Backend Development

Build a Python HTTP Server from Scratch Using Raw Sockets

This tutorial explains why mastering low‑level socket programming is valuable, introduces TCP/IP fundamentals, walks through creating a TCP socket server in Python, shows how to implement a simple HTTP server, and suggests ways to extend the server with multithreading and additional features.

HTTP serverNetwork programmingPython
0 likes · 12 min read
Build a Python HTTP Server from Scratch Using Raw Sockets
Architecture Digest
Architecture Digest
Dec 14, 2016 · Backend Development

Deep Dive into Netty: How a Server Starts and Binds a Port

This article explains the internal workflow of Netty when launching a server, covering why Netty is chosen over raw JDK NIO, the key components created during bootstrap, the step‑by‑step source‑code analysis of channel creation, initialization, registration, and the final bind operation that activates the server.

ChannelEventLoopJava NIO
0 likes · 18 min read
Deep Dive into Netty: How a Server Starts and Binds a Port
MaGe Linux Operations
MaGe Linux Operations
Oct 24, 2016 · Backend Development

Mastering epoll: High-Performance I/O Multiplexing in Linux

This article introduces Linux’s epoll mechanism, explains how to create and control epoll instances with epoll_create, epoll_ctl, and epoll_wait, describes the associated data structures and event flags, compares epoll to select, and highlights its O(1) scalability advantages for high‑connection backend applications.

BackendI/O MultiplexingLinux
0 likes · 7 min read
Mastering epoll: High-Performance I/O Multiplexing in Linux
Architecture Digest
Architecture Digest
Oct 9, 2016 · Backend Development

Building a Minimal Game Server Framework from Scratch

This article explains how to design and implement a simple game server framework, covering the definition of server development, the two main game‑server architectures, core scene‑service requirements, a lightweight network library built on sockets, and sample C# code for connectors, server and client networking components.

CFrameworkNetwork programming
0 likes · 14 min read
Building a Minimal Game Server Framework from Scratch
ITPUB
ITPUB
Aug 16, 2016 · Fundamentals

Capture Ethernet Frames with Linux Raw Sockets (PF_PACKET)

This tutorial explains how to use Linux raw sockets (PF_PACKET) to send and receive link‑layer Ethernet frames, covering socket creation, protocol selection, sockaddr_ll structure, interface binding, promiscuous mode, and provides a complete C example that prints MAC and IP information for each captured packet.

LinuxNetwork programmingPF_PACKET
0 likes · 12 min read
Capture Ethernet Frames with Linux Raw Sockets (PF_PACKET)
ITPUB
ITPUB
Apr 10, 2016 · Backend Development

Master Python Socket Programming: From Basics to Full TCP/UDP Client‑Server

This guide introduces Python’s socket module, explains socket families and types, details essential server and client functions, walks through step‑by‑step TCP connection creation, and provides complete server and client code examples for practical network programming.

Network programmingSocketTCP
0 likes · 10 min read
Master Python Socket Programming: From Basics to Full TCP/UDP Client‑Server
ITPUB
ITPUB
Dec 21, 2015 · Backend Development

Build a Simple Python Web Server from Scratch – Step‑by‑Step Guide

This article walks you through the philosophy of rebuilding software systems, explains what a network server is, and provides a detailed, hands‑on tutorial for creating a minimal Python web server, covering URLs, sockets, HTTP requests, and responses.

BackendHTTPNetwork programming
0 likes · 9 min read
Build a Simple Python Web Server from Scratch – Step‑by‑Step Guide
MaGe Linux Operations
MaGe Linux Operations
Aug 4, 2015 · Fundamentals

Long vs Short Connections: When to Use Each in TCP/IP Programming

This article explains the differences between long and short TCP/IP connections, outlines three major communication models (server/client, connection type, and send/receive mode), describes synchronous and asynchronous transmission, and reviews various message formats and read/write strategies to help developers design robust network programs.

AsynchronousNetwork programmingSynchronous
0 likes · 6 min read
Long vs Short Connections: When to Use Each in TCP/IP Programming
Qunar Tech Salon
Qunar Tech Salon
Jul 30, 2015 · Fundamentals

Creating a Simple TCP Server with inetd/xinetd and Shell Scripts

This article demonstrates how to build a minimal TCP server on Unix by configuring inetd or xinetd to redirect socket traffic to a shell script that reads from standard input and writes to standard output, illustrating core networking and scripting concepts.

Network programminginetdtcp server
0 likes · 6 min read
Creating a Simple TCP Server with inetd/xinetd and Shell Scripts
MaGe Linux Operations
MaGe Linux Operations
Oct 31, 2014 · Backend Development

How Event‑Driven Servers Outperform Threaded Models: A Deep Dive with libev

This article examines various network server architectures—from blocking sockets and multithreaded designs to select‑based and libev‑driven event loops—highlighting their trade‑offs, performance implications, and practical implementation details for building efficient high‑concurrency services.

CEvent-drivenNetwork programming
0 likes · 13 min read
How Event‑Driven Servers Outperform Threaded Models: A Deep Dive with libev