Back to Browse

How to scale your backend API? | Practical and Theoretical Connection Limits Explained

1.7K views
Aug 16, 2023
15:28

Is there a limit to the number of connections or requests your backend can handle? Well there is. But does it depend on the programming language such as PHP, Node.js or Go? Does TCP 65k port limit problem affect your backend server? Let's explore! 🚀 In this video, I'll explain the factors affecting the scalability of your backend, especially regarding the number of requests or connections it can handle. There are several factors like linux kernel parameters, nginx configurations, port limitations etc that limits your API from achieving such high throughputs. Let's understand. 00:00 Introduction 1:35 How HTTP works over TCP 2:55 The file-description limitation in Linux 4:03 The server capacity (CPU/Memory) 4:59 Nginx Reverse Proxy explained 5:45 The 65K port limitation in TCP 8:18 The port limitation with Nginx Reverse Proxy 11:33 Nginx configuration limits Follow me for more content on software engineering and system design related content. Twitter - https://twitter.com/anandrmedia Website - https://anands.me If you like my video, consider subscribing to my Youtube channel Thanks for watching, 👋 Anand`

Download

0 formats

No download links available.

How to scale your backend API? | Practical and Theoretical Connection Limits Explained | NatokHD