Tagged articles

TCP

632 articles · Page 7 of 7
ITPUB
ITPUB
Jun 23, 2016 · Operations

Mastering HAProxy: Deep Dive into TCP/HTTP Load Balancing, Configuration & Debugging

This comprehensive guide walks through HAProxy's version landscape, connection and closing modes, load‑balancing algorithms, persistence, content routing, header rewriting, multiple configuration examples—including dynamic and multi‑process setups—and practical debugging tips, supplemented by a live Q&A session.

HAProxyHTTPTCP
0 likes · 13 min read
Mastering HAProxy: Deep Dive into TCP/HTTP Load Balancing, Configuration & Debugging
Architecture Digest
Architecture Digest
Jun 17, 2016 · Backend Development

Understanding HTTP, TCP, UDP, and Socket Communication

This article provides a comprehensive overview of HTTP, TCP, UDP, and socket communication, explaining protocol layers, request/response structures, key headers, and the differences between GET and POST methods for web development.

HTTPSocketsTCP
0 likes · 10 min read
Understanding HTTP, TCP, UDP, and Socket Communication
Tencent Music Tech Team
Tencent Music Tech Team
May 20, 2016 · Fundamentals

In‑Depth Analysis of TCP Connection Timeout, TIME_WAIT, Nagle Algorithm and Kernel Parameters

This article examines three common TCP issues—missing client‑side socket timeouts leading to monitor‑killed processes, excessive TIME_WAIT sockets after service failures and their kernel tunables, and 40 ms keep‑alive latency caused by Nagle and delayed ACK—explaining kernel behavior and offering practical configuration fixes.

Linux kernelNagle algorithmTCP
0 likes · 19 min read
In‑Depth Analysis of TCP Connection Timeout, TIME_WAIT, Nagle Algorithm and Kernel Parameters
MaGe Linux Operations
MaGe Linux Operations
May 12, 2016 · Fundamentals

Understanding IP, TCP, and UDP Packet Structures: A Quick Guide

This article explains the structure and fields of IP packets, including version, header length, TOS, total length, ID, flags, fragment offset, TTL, protocol, checksum, source and destination addresses, as well as the formats and key functions of TCP and UDP headers, highlighting their differences.

IPNetworkingTCP
0 likes · 8 min read
Understanding IP, TCP, and UDP Packet Structures: A Quick Guide
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.

Client‑ServerSocketTCP
0 likes · 10 min read
Master Python Socket Programming: From Basics to Full TCP/UDP Client‑Server
Baidu Maps Tech Team
Baidu Maps Tech Team
Apr 1, 2016 · Mobile Development

How Baidu Maps Optimizes Mobile Network Performance: Real-World Practices

This article outlines Baidu Maps' mobile network optimization strategies, covering the overall architecture, common wireless issues such as DNS failures and hijacking, and practical solutions like HTTP‑DNS, custom TCP/UDP HTTP, data compression, unified domain entry, and deployment tactics that significantly improve user search latency and engagement.

Baidu MapsTCPUDP
0 likes · 10 min read
How Baidu Maps Optimizes Mobile Network Performance: Real-World Practices
21CTO
21CTO
Mar 23, 2016 · Backend Development

Mastering High-Performance TCP Servers in .NET/C#: APM, TAP, SAEA & RIO Explained

This article explores four high‑performance TCP server models in .NET/C#—Asynchronous Programming Model (APM), Task‑based Asynchronous Pattern (TAP), SocketAsyncEventArgs (SAEA), and Registered I/O (RIO)—detailing their accept and read loops, implementation nuances, pooling strategies, and sample code, while highlighting performance considerations and real‑world usage.

.NETC++Networking
0 likes · 14 min read
Mastering High-Performance TCP Servers in .NET/C#: APM, TAP, SAEA & RIO Explained
21CTO
21CTO
Mar 13, 2016 · Backend Development

How 58’s Messaging Platform Solved High‑Load Real‑Time Delivery Challenges

This article details the design and implementation of 58’s real‑time messaging platform, covering its business background, overall architecture, protocol design for extensibility and debugging, and solutions for fast TCP reconnection to ensure stable, high‑throughput delivery for intra‑city freight services.

TCParchitecturebackend
0 likes · 9 min read
How 58’s Messaging Platform Solved High‑Load Real‑Time Delivery Challenges
21CTO
21CTO
Dec 21, 2015 · Fundamentals

Why UDP Is Overtaking TCP: Speed, Stability, and Real‑World Wins

With broadband speeds soaring, UDP’s simplicity and low latency now outperform TCP in web browsing, streaming, gaming, and IoT, as real‑world tests from Akamai and Google show dramatically lower packet loss, faster connections, and reduced buffering, signaling a shift toward UDP‑centric networking.

Network PerformanceQUICReal-time Streaming
0 likes · 5 min read
Why UDP Is Overtaking TCP: Speed, Stability, and Real‑World Wins
21CTO
21CTO
Dec 9, 2015 · Mobile Development

How Ctrip Boosted Mobile App Network Performance: Real-World Practices and Lessons

Ctrip's wireless development team shares a comprehensive overview of their app's network architecture, common performance pitfalls such as DNS and TCP issues, and a series of practical optimizations—including DNS caching, quality detection, priority handling, retransmission, payload reduction, and protocol upgrades—that dramatically improved service success rates and reduced latency.

DNSNetwork PerformanceQUIC
0 likes · 16 min read
How Ctrip Boosted Mobile App Network Performance: Real-World Practices and Lessons
21CTO
21CTO
Nov 16, 2015 · Fundamentals

Understanding HTTP vs TCP: Long vs Short Connections Explained

This article explains how HTTP relies on TCP/IP, clarifies the stateless nature of HTTP, and compares long‑lasting persistent connections with short‑lived ones, covering their handshakes, advantages, disadvantages, and appropriate usage scenarios.

HTTPTCPlong-connection
0 likes · 9 min read
Understanding HTTP vs TCP: Long vs Short Connections Explained
ITPUB
ITPUB
Nov 9, 2015 · Fundamentals

Why HTTP Uses Long vs Short Connections: Statelessness & TCP/IP Basics

This article explains how HTTP relies on TCP/IP, clarifies the stateless nature of HTTP, compares short and long connections in HTTP/1.0 and HTTP/1.1, and discusses the advantages, disadvantages, and appropriate use cases for each connection type.

HTTPNetworkingTCP
0 likes · 9 min read
Why HTTP Uses Long vs Short Connections: Statelessness & TCP/IP Basics
21CTO
21CTO
Sep 22, 2015 · Backend Development

How to Integrate Protocol Buffers with PHP over Binary TCP Sockets

This article explains how to add Protocol Buffer communication to a PHP web system, covering library setup, proto file adjustments, code generation, binary TCP handling with pack/unpack, and the switch from read_line to fread for reliable socket reads.

Binary SocketPHPPack
0 likes · 5 min read
How to Integrate Protocol Buffers with PHP over Binary TCP Sockets
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
May 5, 2015 · Mobile Development

Ctrip App Network Service Architecture and Performance Optimization Practices

The article details Ctrip's mobile app network service architecture, explaining native TCP and hybrid HTTP communication, describing common performance issues such as DNS, TCP, payload size, and presents six optimization practices—including DNS caching, quality detection, priority handling, retransmission, payload reduction, and overseas network improvements—to achieve higher success rates and lower latency.

TCPhybridmobile
0 likes · 14 min read
Ctrip App Network Service Architecture and Performance Optimization Practices
Alibaba Cloud Infrastructure
Alibaba Cloud Infrastructure
Apr 30, 2015 · Operations

Understanding and Tuning Linux TCP Queue and Buffer Parameters

This article explains the Linux TCP connection‑establishment, packet‑receive, and packet‑send paths, categorizes related kernel parameters such as backlog, SYN‑cookie, ring buffers, and socket buffers, and provides practical commands and guidelines for optimizing network performance on servers.

BufferLinuxNetwork Performance
0 likes · 13 min read
Understanding and Tuning Linux TCP Queue and Buffer Parameters
Ctrip Technology
Ctrip Technology
Apr 25, 2015 · Mobile Development

Mobile Development Network Performance Optimization Practices at Ctrip

The article details Ctrip's mobile app network architecture, common performance bottlenecks such as DNS, TCP, and payload issues, and presents six practical optimization techniques—including DNS caching, network‑quality detection, service prioritization, retry mechanisms, payload compression, and overseas CDN improvements—that collectively reduced latency by 150‑200 ms and raised service success rates above 99 %.

DNSTCPhybrid
0 likes · 14 min read
Mobile Development Network Performance Optimization Practices at Ctrip
Qunar Tech Salon
Qunar Tech Salon
Mar 13, 2015 · Backend Development

Design and Optimization of Massive Push Services Using Netty

This article analyzes common push‑service questions, presents a real‑world IoT case of memory leakage, and outlines key design points—including kernel limits, CLOSE_WAIT handling, heartbeat configuration, buffer management, memory pooling, logging pitfalls, TCP tuning, and JVM settings—to build a scalable, stable Netty‑based push server for millions of concurrent connections.

NettyPush ServiceTCP
0 likes · 24 min read
Design and Optimization of Massive Push Services Using Netty
Baidu Tech Salon
Baidu Tech Salon
Jul 8, 2014 · Information Security

Understanding TCP RST Attacks: From Handshakes to Exploiting Sequence Numbers

This article explains TCP fundamentals—including three‑way handshakes, sliding windows, and four‑way termination—then details how the RST flag works and how attackers can forge packets using source ports and sequence numbers to execute powerful RST denial‑of‑service attacks.

HandshakeRST attackSliding Window
0 likes · 9 min read
Understanding TCP RST Attacks: From Handshakes to Exploiting Sequence Numbers