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

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
主站蜘蛛池模板: 宁城县| 石林| 基隆市| 集安市| 云阳县| 西峡县| 蒙自县| 新巴尔虎左旗| 崇明县| 工布江达县| 南康市| 温宿县| 永泰县| 临潭县| 太仆寺旗| 日喀则市| 定兴县| 浦县| 华坪县| 布尔津县| 四平市| 秭归县| 江华| 潮州市| 那坡县| 乡城县| 于田县| 鲁甸县| 永宁县| 红桥区| 平陆县| 宝鸡市| 永宁县| 石渠县| 孙吴县| 徐水县| 古蔺县| 波密县| 宜宾市| 华阴市| 玛多县|