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

Designing for parallel processing

It is a lot easier to design for parallelization on the cloud platform. You need to use parallel designs throughout your architecture from data ingestion to its processing. So, use multithreading for parallelizing your cloud service requests, distribute load using load balancing, ensure multiple processing components or service endpoints are available via horizontal scaling, and so on.

Exploit both multithreading and multi-node processing. For example, using multiple concurrent threads for fetching objects from cloud data storage service is a lot faster than fetching them sequentially. In the pre-cloud or non-cloud environments, parallel processing across a large number of nodes was a difficult and expensive problem to solve. However, with the advent of cloud it has become very easy to provision a large number of compute instances within minutes. These instances can be provisioned, used and then released using APIs. In addition, frameworks such as Apache Spark and Hadoop have reduced the earlier complexity and expenses involved in building large-scale distributed applications.

主站蜘蛛池模板: 莱阳市| 仪征市| 襄樊市| 鸡东县| 广元市| 屏东市| 宁蒗| 吉木萨尔县| 晴隆县| 宜兰县| 河曲县| 象山县| 麻阳| 文水县| 台南市| 三都| 天峻县| 比如县| 茌平县| 彰武县| 盐山县| 随州市| 西乌珠穆沁旗| 东乡县| 乌拉特中旗| 刚察县| 乐陵市| 寻乌县| 曲水县| 方正县| 射洪县| 莎车县| 黑山县| 民权县| 施秉县| 湾仔区| 根河市| 张家港市| 乳源| 武乡县| 清丰县|