官术网_书友最值得收藏!

Concurrent web requests

In the context of concurrent programming, we can see that the process of making a request to a web server and obtaining the returned response is independent from the same procedure for a different web server. This is to say that we could apply concurrency and parallelism to our ping test application to speed up our execution.

In the concurrent ping test applications that we are designing, multiple HTTP requests will be made to the server simultaneously and corresponding responses will be sent back to our program, as shown in the following figure. As discussed before, concurrency and parallelism have significant applications in web development, and most servers nowadays have the ability to handle a large amount of requests at the same time:

Parallel HTTP requests
主站蜘蛛池模板: 堆龙德庆县| 鄯善县| 彰武县| 修水县| 桃园市| 株洲县| 香港 | 五指山市| 西宁市| 北票市| 石门县| 东乡县| 和田市| 孟州市| 天全县| 高碑店市| 库尔勒市| 泰安市| 旬邑县| 武清区| 乌兰浩特市| 美姑县| 应用必备| 齐河县| 璧山县| 万安县| 封丘县| 舒城县| 进贤县| 卓尼县| 南陵县| 历史| 乐东| 尼木县| 沙坪坝区| 沁阳市| 遂昌县| 买车| 安顺市| 嫩江县| 汤阴县|