The 60-Second Curse in HTTP Protocol: A Performance Mystery Triggered by an Irregular Response

The 60-Second Curse in HTTP Protocol: A Performance Mystery Triggered by an Irregular Response

Introduction The operations engineer stared at the 60-second loading progress bar on the monitoring screen, frowning. A JS file of less than 400KB was stuck in the browser for a full 60 seconds. Network packet capture showed a peculiar TCP closing trilogy between the SSL gateway and the backend server, with everything pointing to that … Read more

Detailed Explanation of MODBUS TCP Communication Commands

Detailed Explanation of MODBUS TCP Communication Commands

Detailed Explanation of MODBUS TCP Communication Commands Continuing from the previous article on the built-in MODBUS TCP command usage, the previous text only briefly mentioned the formats of three commands. Below is a detailed introduction. SP.SOCOPEN – Confirm Link In the list of built-in communication commands, you can see this command and its function description, … Read more

Illustration of the HTTP Protocol

Illustration of the HTTP Protocol

1. Technical Foundations and Overview Q: What is HTTP? A: HTTP is a standard TCP for requests and responses between client and server. It is actually built on top of TCP. When we open the Baidu webpage, it looks like this: https://www.baidu.com The extra ‘S’ actually stands for TLS/SSL. We won’t explain that here, so … Read more

Complete Guide to Network Protocols: In-Depth Conversations from HTTP Long and Short Connections to TCP-UDP

Complete Guide to Network Protocols: In-Depth Conversations from HTTP Long and Short Connections to TCP-UDP

🌐 Complete Guide to Network Protocols: In-Depth Conversations from HTTP Long and Short Connections to TCP-UDP This article adopts a conversational format, through the Q&A of Xiao Li and Xiao Wang, to explain core concepts such as network protocols and long/short connections in a simple and accessible manner, helping readers establish a complete knowledge system … Read more

A Comprehensive Guide to HTTP

A Comprehensive Guide to HTTP

What is HTTP? Basic Information HTTP (HyperText Transfer Protocol) is an application layer protocol used for distributed, collaborative, and hypermedia information systems. Development History The development of HTTP began in 1989, initiated by Tim Berners-Lee at the European Organization for Nuclear Research (CERN). The standardization was coordinated by the World Wide Web Consortium (W3C) and … Read more

30-Day Challenge: In-Depth Study of Linux Server Program Development

30-Day Challenge: In-Depth Study of Linux Server Program Development

In the previous article, “30-Day Challenge: Linux Server Program Development: Starting from Sockets,” we implemented a client that initiates a socket connection and a server that accepts a socket connection. However, for functions like socket, bind, listen, accept, and connect, we assume the program runs perfectly without any exceptions, which is clearly impossible. No matter … Read more

Common Questions and Answers about MODBUS TCP

Common Questions and Answers about MODBUS TCP

In the field of industrial automation, the MODBUS TCP protocol is widely popular due to its simplicity and broad applications. However, some issues are inevitable during its use. Today, we have compiled some common questions to assist you in your debugging and usage! 🚀1. What is MODBUS TCP?MODBUS TCP is a communication protocol based on … Read more

Practical Guide to Network Parameter Tuning in High-Concurrency Linux Scenarios

Practical Guide to Network Parameter Tuning in High-Concurrency Linux Scenarios

Practical Guide to Network Parameter Tuning in High-Concurrency Linux Scenarios Table of Contents • Practical Guide to Network Parameter Tuning in High-Concurrency Linux Scenarios • • Introduction • 1. Background: When Concurrent Connections Encounter Performance Bottlenecks • • 1.1 Case Environment • 1.2 Initial Parameter Analysis • 2. In-Depth Diagnosis: Connection Status and Kernel Parameters … Read more

Fundamentals of Network Programming in C: Socket Programming

Fundamentals of Network Programming in C: Socket Programming

Fundamentals of Network Programming in C: Socket Programming In modern computer science, network programming is an important field. As a low-level language, C provides powerful capabilities for network programming. This article will introduce the basics of socket programming in C, helping beginners understand how to perform simple network communication using C. What is a Socket? … Read more

Basics of Python Web Scraping – Fundamental Principles of HTTP (Part 2)

Basics of Python Web Scraping - Fundamental Principles of HTTP (Part 2)

HTTP Request Process A complete HTTP request process includes DNS requests and responses, domain name resolution, TCP connection, three-way handshake, server response to the HTTP request, browser parsing and rendering of HTML, and finally, the server closes the TCP connection with a four-way handshake. Step 1: DNS Resolution The local DNS uses recursive queries to … Read more