How can a web server handle multiple user's incoming requests at a time on a single port (80)?

前端 未结 5 514
长情又很酷
长情又很酷 2020-12-12 17:23

How does a web server handle multiple incoming requests at the same time on a single port(80)?

Example : At the same time 300k users want to see an image from www.ab

5条回答
  •  一个人的身影
    2020-12-12 17:45

    answer is: virtual hosts, in HTTP Header is name of domain so the web server know which files run or send to client

提交回复
热议问题