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

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
主站蜘蛛池模板: 综艺| 兴义市| 贵定县| 成安县| 汶上县| 义乌市| 泸州市| 合江县| 喀什市| 崇仁县| 巫山县| 长海县| 沧州市| 深水埗区| 鄂托克旗| 镇远县| 临武县| 永修县| 忻州市| 河北区| 鲁甸县| 胶南市| 礼泉县| 贵定县| 二手房| 景谷| 衢州市| 兴山县| 玉龙| 南宫市| 共和县| 电白县| 木兰县| 铜山县| 营山县| 老河口市| 许昌县| 宜阳县| 红桥区| 务川| 沛县|