Tagged articles
7 articles
Page 1 of 1
macrozheng
macrozheng
Nov 28, 2025 · Operations

How Many TCP Connections Can a Single Server Actually Handle?

This article explains the theoretical and practical limits of TCP connections on a Linux server, covering kernel parameters such as fs.file-max, soft/hard nofile and fs.nr_open, memory constraints, client port limits, and step‑by‑step configuration examples to maximize concurrent connections.

NetworkingTCPfile-descriptors
0 likes · 14 min read
How Many TCP Connections Can a Single Server Actually Handle?
Architect
Architect
Mar 2, 2023 · Fundamentals

Understanding the Maximum Concurrent TCP Connections and the Origin of the 65535 Limit

The article explains how TCP connections are identified by a four‑tuple, why the theoretical maximum client connections are 65,535 due to port limits, how servers can theoretically handle up to 2⁴⁸ connections, and why real‑world concurrency is constrained by memory, file descriptors and port reuse rather than the 65535 port count.

NetworkingPort NumbersTCP
0 likes · 12 min read
Understanding the Maximum Concurrent TCP Connections and the Origin of the 65535 Limit
Open Source Linux
Open Source Linux
Jan 29, 2023 · Operations

How Many Files and TCP Connections Can a Linux Server Actually Handle?

This article explains the Linux kernel limits that determine how many files and TCP connections a server can open, describes the key parameters (fs.file-max, soft nofile, fs.nr_open), shows configuration examples, and discusses how memory, ports, and other settings affect real‑world capacity for both servers and clients.

TCP connectionsfile-descriptorslinux
0 likes · 14 min read
How Many Files and TCP Connections Can a Linux Server Actually Handle?
Top Architect
Top Architect
Jul 29, 2022 · Fundamentals

Understanding TCP Connection Limits and the Role of Port Numbers

The article explains how TCP connections are identified by a four‑tuple, why the 65535 port limit does not directly cap concurrent connections, the theoretical maximum connections for client and server roles, and how real‑world limits are governed by memory, file descriptors, and port reuse on Linux systems.

TCPconcurrencyport limits
0 likes · 11 min read
Understanding TCP Connection Limits and the Role of Port Numbers
Programmer DD
Programmer DD
Jul 2, 2022 · Fundamentals

Why 65535 Is Not the Real Limit for TCP Connections

This article explains that the 65535 TCP port limit does not directly cap concurrent connections, detailing how TCP connections are identified by a four‑tuple, the theoretical maximums for client and server sides, and why actual limits depend on memory, file descriptors, and port reuse.

TCPconnection limitslinux
0 likes · 12 min read
Why 65535 Is Not the Real Limit for TCP Connections
21CTO
21CTO
Jul 6, 2017 · Cloud Computing

Can Facebook Run on AWS? Analyzing Server Capacity, Costs & Feasibility

This article explores whether Facebook could be hosted on AWS by estimating Facebook's server count, comparing hardware performance, evaluating software compatibility, and calculating the massive cost implications, ultimately concluding that while technically possible, it would be far more expensive than maintaining its own data centers.

AWSFacebookcloud computing
0 likes · 16 min read
Can Facebook Run on AWS? Analyzing Server Capacity, Costs & Feasibility