问题原文
原帖链接 · rook99 · CC BY-SA 4.0
While learning about what websockets are and how they work, I find it hard to understand what they mean by "concurrent connection".
Can anyone explain to me what "concurrent connection" means in a Blog web app as an example?
社区高分解答
原帖链接 · SushiGuy · CC BY-SA 4.0
"Concurrent connection" means the maximum number of TCP connections your server can handle at any one time. At any given time many TCP/IP requests are coming to your server. For instance a single, simple web page might require 10 connections.
- 1 for the HTML page
- 2 for included JS scripts
- 7 for JPEG and PNG image files
If 5 people request this page at the same time it could result in 50 concurrent connections.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
