The article surveys the evolution of web communication from HTTP/1.x through HTTPS, HTTP/2, and HTTP/3, explaining request/response structure, methods, status codes, URIs, connection handling, cookies, caching, TLS encryption, and the performance‑boosting features of header compression, multiplexing, and QUIC‑based transport.
This article explains why a trailing dot appears in DNS names, how fully‑qualified domain names (FQDNs) are encoded, the role of zone files and search domains, and when tools like dig, curl, or system resolvers add or omit the dot.
Content Delivery Networks (CDNs) add a caching layer to the Internet, placing content on edge nodes near users to reduce latency, alleviate bandwidth constraints, and improve response speed, with DNS-based smart routing, cache servers, and load balancing forming the core of their operation.
This tutorial walks through building a minimal MVP for the Linkworld iOS app by applying the MVVM pattern, creating a ViewModel, fetching JSON data with URLSession, and adding, editing, and deleting identity cards using SwiftUI state management and context menus.
This article provides a detailed tutorial on Python's urllib library, covering its main modules (request, error, parse, robotparser), key functions and classes, code examples for URL fetching, parsing, encoding, and handling robots.txt, making it a practical resource for backend developers and web scrapers.
The article shows how to transform a single‑threaded Rust STUN server into a high‑performance, multi‑core service by using Linux’s SO_REUSEPORT to bind multiple threads, assigning each to a NIC queue, and employing batch syscalls recvmmsg/sendmmsg, achieving over a million packets per second with significantly lower CPU usage.
This comprehensive Q&A guide covers over one hundred essential networking concepts, including definitions of links, OSI layers, backbone, LAN, nodes, routers, protocols, topologies, security measures, IP addressing, and many other fundamentals needed to understand and manage computer networks.
This article explains the fundamentals of HTTP, how browsers build and send requests, the structure of request and response messages, and the performance improvements introduced by HTTP 2.0 and the QUIC protocol built on UDP.
This article explains the fundamentals of the HTTP protocol, covering request preparation, message structure, methods, headers, caching, the request/response cycle, HTTP/2 enhancements, and the QUIC protocol's advanced features for faster, more reliable web communication.
This comprehensive guide explains the TCP/IP protocol suite, detailing each of its four layers, key protocols such as IP, TCP, UDP, ICMP, ARP, and DNS, and illustrates essential mechanisms like encapsulation, three‑way handshake, flow control, congestion control, and tools like ping and traceroute.
This article explains Docker's networking fundamentals, covering Linux veth pairs, the default docker0 bridge, container linking with --link, the creation and use of custom bridge networks, and how to connect containers across isolated networks for reliable service communication.
The article explains why MAC addresses are essential by tracing the history and design of the Internet, comparing network protocols to languages, describing the shift from star to mesh topologies for resilience, and showing how TCP/IP relies on underlying layers like Ethernet to function.
This article explains how Kubernetes forwards packets from the initial web request through pod network namespaces, the role of the pause container, veth pairs, bridges, CNI plugins, and iptables‑based service NAT, providing a step‑by‑step view of intra‑cluster and external traffic handling.
This article summarizes a series of technical Q&A from an OSChina event covering Linux networking fundamentals such as port limits, network namespaces, TCP connection handling, C10K problem, packet loss troubleshooting, TCP memory usage, high CPU causes, useful monitoring tools, kernel parameters, and practical socket examples.
This article explains the fundamental networking components of a Kubernetes cluster, detailing the three IP types—NodeIP, PodIP, and ClusterIP—along with how services are exposed using NodePort, LoadBalancer, and Ingress, and provides practical guidance on configuring cloud‑native load balancers and Ingress controllers.
This article explains the TCP keepalive mechanism, its purpose, default parameters, how to configure and verify it on Linux, its drawbacks, and the distinction between TCP keepalive and HTTP Keep-Alive, providing practical code examples and network analysis steps.
This article provides a comprehensive overview of NVIDIA's DOCA framework, BlueField DPU architecture, SDK components, programming models, and related technologies such as RDMA, RoCE, and GPUDirect RDMA, highlighting their roles in modern data‑center acceleration and security.
This article provides a comprehensive guide to diagnosing and fixing a wide range of Docker problems, including storage migration, disk space shortages, missing libraries, container corruption, network configuration, permission errors, image management, and timeout issues, with detailed command-line solutions and configuration examples.
In high‑concurrency scenarios, massive TIME_WAIT TCP connections can exhaust local ports, causing new connections to fail, but by understanding the TCP four‑handshake, adjusting socket reuse settings, and using keep‑alive, you can mitigate the issue.
This article provides a concise overview of Kubernetes architecture—including the master, nodes, and etcd—explains how deployments create replica sets and pods, describes pod fundamentals, container orchestration features, networking basics, and the role of services for microservice discovery and external access.
This article explains the fundamentals of TCP, why raw TCP lacks message boundaries, how HTTP and RPC are built on top of TCP, and the practical reasons why both protocols coexist in modern software architectures.
This article provides a comprehensive overview of TCP and UDP, explaining their roles in the transport layer, key differences in reliability and speed, the three‑way handshake and four‑way termination processes of TCP, and how data transmission is handled by both protocols.
This article provides a comprehensive overview of Kubernetes, explaining its master‑node architecture, key components such as API Server, Scheduler, Controller, kubelet and kube‑proxy, the lifecycle of a Deployment, Pod design, Service discovery, networking models, and external access methods.
This article explains the fundamental differences between TCP and UDP, covering their purposes, reliability, speed, handshake mechanisms, data transmission processes, and termination procedures, and includes visual diagrams to illustrate each concept in.
This article provides a comprehensive overview of Kubernetes, covering its master‑node architecture, core components such as API Server, Scheduler, and Controllers, the step‑by‑step creation of Deployments, the role of Pods, container orchestration patterns, networking fundamentals, and service discovery mechanisms for microservices.
The article thoroughly examines Asio’s core mechanisms—its scheduler’s post handling, the strand’s lock‑based ordering, and the timer subsystem’s heap‑driven queues—detailing executor operations, multi‑threaded execution paths, platform‑specific timer schedulers, and the efficient C++ techniques that enable high‑performance asynchronous programming.
This article explains the fundamentals of TCP sockets, why raw TCP lacks message boundaries, how custom protocols add headers to solve the sticky‑packet problem, and compares HTTP and RPC as application‑layer protocols, highlighting their histories, use‑cases, and performance trade‑offs.
This tutorial explains how to programmatically log into a campus network by analyzing HTTP requests, crafting POST data, retrieving the local IP address, automating Wi‑Fi connection on macOS using pywifi, and finally packaging the script into a standalone executable with pyinstaller.
This article provides a comprehensive overview of Kubernetes, covering its master‑node architecture, core components like API server, scheduler, controller, kubelet and kube‑proxy, the deployment creation process, pod fundamentals, service networking, and common patterns such as scaling, rolling updates, and ingress access.
This article provides a concise overview of Kubernetes, explaining its master‑node architecture, describing key components such as API server, scheduler, controller, kubelet and kube‑proxy, and detailing how deployments, pods, services, networking, scaling, updates and ingress work together to orchestrate containerized applications.
This article explains the Kubernetes networking model, covering container‑to‑container, pod‑to‑pod, pod‑to‑service, and external traffic flows, and shows how Linux network namespaces, virtual Ethernet pairs, bridges, iptables, IPVS, LoadBalancers and Ingress controllers work together to route traffic inside and outside a cluster.
This comprehensive guide explains Kubernetes' networking model, covering core concepts, pod-to-pod communication, service routing, DNS integration, and external traffic handling, while detailing the underlying Linux network namespaces, virtual Ethernet pairs, bridges, and CNI plugins.
This article explains the fundamentals of Kubernetes Service, walks through a real‑world failure case, details how to configure different Service types (ClusterIP, NodePort, LoadBalancer, ExternalName, Headless), and explores the underlying implementation mechanisms such as user‑space proxy, iptables, and IPVS.
This article uses vivid school analogies and detailed diagrams to explain how computers communicate over networks, covering concepts such as hosts, subnets, IP and MAC addresses, subnet masks, ARP, DHCP, routing, and NAT, helping readers grasp both basic and advanced networking principles.
This article provides a comprehensive overview of TCP and UDP, explaining their roles in the transport layer, key differences such as connection orientation and reliability, the three‑way handshake and four‑way termination processes of TCP, and the typical use cases and limitations of each protocol.
This article demonstrates how to build a Netty‑based WebSocket server integrated with Spring Boot, covering Maven dependencies, server initialization, channel handlers, a simple HTML client, and extending the handler to parse URL query parameters for custom communication.
This comprehensive guide explains the Kubernetes networking model, covering core concepts such as the API server, controllers, pods, nodes, and the layered network architecture, then walks through pod‑to‑pod, pod‑to‑service, and external traffic flows using CNI plugins, iptables, IPVS, bridges, and ingress controllers.
This tutorial explains how to obtain a user's IP address from an HttpServletRequest, interpret the IP using the ip2region offline database, and display the corresponding province or country in a Java backend application, including code examples and Maven integration.
A recent Hacker News discussion revealed that Docker’s iptables rule allows containers bound to 127.0.0.1 to be reachable from other hosts, and a step‑by‑step proof‑of‑concept demonstrates the issue while a revised iptables rule is proposed to enforce proper source‑address restrictions.
This article explains the concept of Power over Ethernet (PoE), why it is needed, its advantages, the roles of power‑sourcing and powered devices, power delivery modes, negotiation processes, IEEE standards (802.3af/at/bt), and the types of equipment that can support PoE.
This article analyses the rapid evolution of cloud‑native networking, identifies key challenges across traditional, data‑center, edge, multi‑cluster, financial, and telecom scenarios, and presents open‑source and commercial solutions such as Kube‑OVN, Underlay networks, flexible IPAM, and hardware‑software acceleration.
This guide provides concise English explanations of dozens of essential Linux commands—including compression tools, process utilities, and network utilities—covering their purpose, syntax, key options, and practical usage examples for system administrators and developers.
This article breaks down Kubernetes' networking model by defining key concepts such as network namespaces, veth pairs, iptables, bridges, services, ClusterIP, NodePort, and illustrates intra‑ and inter‑node communication, as well as external access methods like NodePort and Ingress.
This article explains the essential concepts of TCP and UDP, covering the OSI layers, physical and data‑link networking, IP addressing, transport‑layer mechanisms such as sliding windows, congestion control, reliable transmission, connection establishment and termination, and compares the strengths and weaknesses of TCP versus UDP.
This article traces the development of the HTTP protocol from its earliest 0.9 version through 1.0, 1.1, 2.0, and the modern HTTP/3 over QUIC, detailing key features, header compression, multiplexing, caching mechanisms, server push, and the security and performance trade‑offs of each iteration.
This article compiles a comprehensive list of over a hundred Linux, networking, load‑balancing, database, caching, monitoring, container and cloud‑native interview questions, providing candidates with essential knowledge to ace system‑administration and DevOps job interviews.
This article explains Kubernetes' networking model, covering container‑to‑container, pod‑to‑pod (same‑node and cross‑node), pod‑to‑service, and external traffic handling via load balancers and Ingress, while detailing the underlying Linux namespaces, veth pairs, bridges, iptables, and IPVS mechanisms.
This comprehensive guide explains Kubernetes' networking model, covering core concepts such as network namespaces, virtual Ethernet pairs, pod-to-pod and pod-to-service communication, CIDR routing, NAT, iptables, IPVS, DNS, and how traffic flows between pods, services, and the external Internet.
This visual guide presents a detailed mind map of core networking concepts—including transmission media, Ethernet frames, IP addressing, routing protocols, VLANs, NAT, IPv6, DHCP, and VPN technologies—providing concise illustrations for each topic to aid learners in mastering network fundamentals.
This article explains the differences between layer‑2 and layer‑3 switches, their operating principles, ARP handling, collision and broadcast domains, VLAN concepts, configuration commands, and typical use cases, providing a comprehensive overview for networking fundamentals.
The article explains how HTTP/3, standardized as RFC 9114 after five years of work, replaces TCP with the UDP‑based QUIC protocol to overcome HTTP/1.1 and HTTP/2 limitations such as head‑of‑line blocking, improving multiplexing, congestion control, and security.
This article explains the significance of HTTP/3 for web performance, outlines its standardization history, compares it with HTTP/1.1 and HTTP/2, presents benchmark results, and discusses practical adoption considerations such as QUIC, 0‑RTT, and current implementation support.
This article explains the fundamentals of Network Address Translation (NAT), covering public and private IP concepts, various NAT types—including static, dynamic, NAPT, and Easy IP—along with their configurations, advantages, disadvantages, and the role of NAT servers in enabling internal devices to access the Internet.
This comprehensive C/C++ knowledge base covers everything from basic syntax, const, static, and this pointers to advanced topics like inline functions, virtual methods, smart pointers, STL containers, data structures, algorithms, operating system concepts, networking layers, and common interview problems, complete with code examples and diagrams.
This article analyzes the rapid evolution of cloud‑native networking, identifies key trends such as the limits of a single CNI, the rise of auxiliary components, emerging technologies and hardware‑software integration, and examines six major application scenarios—from traditional workloads to edge, multi‑cluster, financial‑grade security, and telecom—offering open‑source and commercial solutions for each.
This article provides a comprehensive overview of Kubernetes, covering its revolutionary role in cloud computing, master‑worker architecture, core concepts such as Pods and Controllers, storage and networking models, workload types, and extensibility through CRI, CNI, and CSI standards.
This guide explains Docker's networking fundamentals, covering Linux veth pairs, the default docker0 bridge, container linking with --link, creating custom bridge networks, and connecting containers across networks, complete with command examples and inspection outputs.
This guide covers step‑by‑step methods to recover forgotten root passwords on various Linux distributions, explains common filesystem directories, lists essential commands, details SUID/SGID/sticky bit usage, shows how to configure static IPs in bridge and NAT modes, set up local yum repositories, manage iptables and firewalld rules, and provides basic shell scripting and hardening tips.
DNS translates human‑readable domain names into IP addresses through a hierarchical, distributed system of root, top‑level, and authoritative servers, employing caching and recursive queries, and supports both internal and global load balancing to ensure high availability and low latency for internet users.
This article explains the technical distinctions between HTTP GET and POST requests, covering how parameters are transmitted, practical limitations imposed by browsers and servers, differences in caching, security, and packet flow, and why both methods ultimately rely on the same TCP/IP transport.
This article explains what sockets are, how they relate to TCP/IP and HTTP, introduces the origin and purpose of WebSocket, compares it with traditional sockets, and details the WebSocket handshake, data framing, and differences from HTTP for real‑time bidirectional communication.
This article demonstrates how to implement HTTP requests in Java using the built-in HttpURLConnection class, covering request creation, adding parameters, setting headers, handling timeouts, cookies, redirects, and reading responses, including error handling, with complete code examples.
This article introduces the Python Requests library, explains how to install it, demonstrates basic HTTP methods such as GET and POST with code examples, and explores advanced use‑cases like handling JSON, binary data, custom headers, cookies, sessions, SSL verification, proxies, timeouts, and authentication.
This article systematically organizes essential computer‑networking concepts—hosts, links, packets, routing, protocols, OSI layers, addressing, security mechanisms and common services—into clear sections so readers can understand each term’s role and how the layers interact in modern networks.
This article explains Kubernetes service discovery by first covering essential networking concepts, then detailing how Services provide stable endpoints, how they register with cluster DNS, how Endpoints track healthy Pods, and how kube-proxy routes traffic using iptables or IPVS to ensure reliable intra‑cluster communication.
This guide explains why home broadband users need to discover their dynamic public IP, compares browser, cURL, and dig methods for fetching it, and provides a Bash script that intelligently falls back between multiple services to ensure reliable IP retrieval for DDNS and other network tasks.
This article explains Kubernetes service discovery by first covering essential networking concepts, then detailing how Services provide stable endpoints, how they register with cluster DNS, and how kube-proxy and iptables/IPVS route traffic to dynamic Pods.
This article explains Kubernetes service discovery by first covering essential network concepts, then detailing how Services, Endpoints, and kube-proxy work together to provide stable, load‑balanced communication between dynamic Pods in a cloud‑native environment.
This article explains in detail how Linux handles local network I/O for 127.0.0.1, comparing it with cross‑machine communication, describing the routing, device subsystem, driver code, and soft‑interrupt processing, and concluding with performance considerations and a discussion on eBPF acceleration.
This article provides an in‑depth tutorial on TCP, covering its header structure, three‑way handshake, reasons for three handshakes, four‑way termination, TIME_WAIT, SYN attacks, Linux kernel parameters, and practical socket programming examples, all illustrated with diagrams and code snippets.
This article breaks down Kubernetes' networking model by defining key terms, explaining Service abstractions, IP and port concepts, detailing intra‑cluster communication, and outlining external access methods such as NodePort and Ingress, all supported by practical YAML and command examples.
This article explains how Linux handles local network I/O for 127.0.0.1, detailing the differences from cross‑machine communication, the routing decisions, the loopback device driver, soft‑interrupt processing, and the complete kernel execution flow for both sending and receiving packets.
This article explains how Redis uses the simple text‑based RESP protocol for client‑server communication, details each reply type, shows how to capture traffic with tcpdump, and dives into the internal C structures and error codes that power Redis commands.
This article explains why Go programs may pick unusable link‑local addresses on machines with multiple network interfaces, shows how to filter them out, and presents three practical solutions—including per‑NIC binding, Docker container isolation, and DNAT/SNAT rules—to control inbound and outbound traffic.
This article explains what DNS root servers are, how they function in the hierarchical name‑resolution process, why there are only thirteen IPv4 root addresses, where they are located worldwide—including China’s nodes—and lists common public DNS services for both IPv4 and IPv6.
This article provides a comprehensive overview of Kubernetes, covering its purpose for container operations, key functions, core components, multi‑center deployment, service discovery methods, pod resource sharing, common CNI plugins, load‑balancing layers, isolation dimensions, network model principles, and IP address classifications.
This guide shows how to modify a Go custom DNS resolver to perform simple load balancing by predefining IP addresses and randomly selecting one for each new connection, including full code examples and test output.
This article explains the fundamentals of Kubernetes networking, compares popular CNI implementations such as Flannel, Calico, and Weave Net, and details the key networking scenarios—including container‑to‑container, pod‑to‑pod, pod‑to‑service, and Internet‑to‑service—required for reliable and secure cluster operation.
This article explains the definitions, relationships, and components of URI, URL, and URN, illustrating how they locate resources on the web, detailing protocol, domain, port, path, and filename rules, and providing references to the relevant RFC specifications.
This article explains the definitions and relationships of URI, URL, and URN, illustrates how URLs are composed of protocol, domain, port, path and filename, and provides examples and RFC references to help readers grasp how web addresses locate resources.
This article explains why the default InMemoryDnsResolver cannot provide load balancing, shows how to create a custom SystemDefaultDnsResolver that randomly selects IPs, and demonstrates single‑thread, multi‑thread, and single‑connection pool tests to verify the behavior.
This article provides a thorough introduction to the Domain Name System (DNS), covering its hierarchical design, query workflow, caching mechanisms, message structure, resource record types, and common security threats along with mitigation techniques, offering essential knowledge for networking fundamentals.
This article provides a comprehensive reference of essential Linux commands and procedures, covering system shutdown and reboot, hardware and environment inspection, file and directory management, user and permission handling, networking utilities, performance monitoring tools, and common text processing techniques for administrators and developers.
This guide explains why IPVS outperforms iptables for large Kubernetes clusters, then walks through installing ipvsadm, loading kernel modules on master and worker nodes, configuring kube-proxy to use IPVS, cleaning iptables rules, and verifying network and DNS functionality with a BusyBox pod.
This article explains what DNS root servers are, how they function in the hierarchical name resolution process, why there are only 13 of them, their global distribution—including China’s nodes—and provides a list of public DNS services, highlighting their critical role in internet stability and security.
This article explains the fundamentals of the Domain Name System, how DNS queries work, the role of DNS servers, hierarchical name resolution, record types, and useful command‑line tools such as dig, host, and nslookup, providing clear examples and diagrams for each concept.
This article explains step‑by‑step how a request to www.baidu.com travels from a local PC through the LAN, across subnets, and through NAT, detailing IPv4 addressing, MAC resolution via ARP, routing table lookups, and the OSI‑model layers involved.
This article compiles 15 common interview topics—from sorting linked lists and encryption differences to TCP reliability, I/O models, Hystrix, delayed tasks, HTTPS flow, transaction isolation, index pitfalls, virtual memory, ranking with Redis, distributed locks, zero‑copy techniques, synchronized internals, and Snowflake ID generation—providing concise explanations, code examples, and diagrams for each.
This article explains Docker’s built‑in network drivers, the construction and external exposure of the default bridge network, and then dives into Kubernetes networking challenges, illustrating how Flannel provides cross‑node Pod communication through subnet allocation, virtual interfaces, and packet encapsulation.
This article explains the total number of IPv4 addresses worldwide, details China's allocated IPv4 blocks, shows how to extract and sum them using a script, and compares the IP holdings of major Chinese cloud providers and global giants like Amazon.
This article explains VLAN fundamentals, why they are needed, how they differ from subnets, the role of VLAN tags and IDs, various interface types, practical deployment scenarios, related protocols, and the challenges VLANs face in modern cloud environments.
This article explains DNS fundamentals, its distributed hierarchical structure, TCP/UDP usage, top‑level domains, resolution workflow, caching, smart geo‑aware routing, BIND server setup, zone file syntax, DNS load balancing, sub‑domain delegation, debugging tools, and the risk of DNS amplification attacks.
This article walks through Docker's built‑in network drivers—including bridge, host, none, overlay, macvlan and plugins—then dives into Kubernetes networking, detailing Pod communication, the Flannel CNI workflow, and how data traverses virtual bridges and physical interfaces.
The article provides an in‑depth analysis of NVIDIA’s BlueField DPU series—detailing the roadmap from BlueField‑2 to BlueField‑4, the technical capabilities of BlueField‑3 across networking, security, and storage, and the DOCA ecosystem that enables programmable, hardware‑accelerated data‑center services, positioning DPUs as a core pillar of modern cloud infrastructure.
This article explores the evolution of BPF from its origins as a packet‑filtering mechanism to the modern eBPF engine, detailing its architecture, security and performance benefits, core features such as hooks, maps and helper functions, and real‑world cloud‑native use cases like Cilium, Falco and kubectl‑trace.
This article explains the fundamentals of load balancing, covering why it is needed for high‑traffic services, the difference between vertical and horizontal scaling, various load‑balancing techniques (DNS, HTTP, IP, link‑layer, hybrid), common algorithms, and the trade‑offs of software versus hardware solutions.
This article provides a comprehensive overview of Kubernetes networking, explaining key concepts such as network namespaces, veth pairs, iptables, services, ClusterIP, NodePort, Ingress, and the role of CNI plugins, while illustrating internal and external communication with practical YAML and kubectl examples.