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

Message-driven

In reactive applications, one of the main aspects is the usage of asynchronous messages to pass data from one component to another. This brings loose coupling between components and aids in achieving location transparency (as long as the component is reachable/discoverable, it can reside in a single node or a cluster of nodes anywhere). Create a message, publish, and forget. Registered subscribers receive the message, process it, and broadcast the message for the other subscribes to do their jobs. This is one of the core aspects of reactive programming and it is one of the fundamental aspects needed for a reactive system. This fire-and-forget concept brings in a non-blocking way of communication, resulting in highly scalable applications.

The following diagram (Figure 1) clearly shows the Reactive Manifesto in a pictorial fashion. It also clearly shows the relationship between the main concepts on the Reactive Manifesto:

Figure 1: Reactive Manifesto

Since reactive applications are responsive, resilient, elastic, and message-driven, these applications are inherently highly flexible, highly scalable, loosely coupled, and fault-tolerant.

Mateusz Gajewski, in one of his presentations shared on www.slideshare.net, sums up the Reactive Manifesto in a very nice way:

Figure 2: Reactive Manifesto as conceived by Mateusz Gajewski

主站蜘蛛池模板: 尖扎县| 文山县| 安多县| 吴江市| 铁岭市| 阳曲县| 建昌县| 琼结县| 嘉鱼县| 宜黄县| 科尔| 巧家县| 望奎县| 乃东县| 文水县| 龙里县| 宁波市| 腾冲县| 翼城县| 上饶县| 西华县| 平凉市| 连云港市| 揭西县| 托克逊县| 白河县| 滨州市| 全州县| 静海县| 沁源县| 长海县| 鄂州市| 商洛市| 万山特区| 乐山市| 犍为县| 濮阳县| 淮滨县| 武穴市| 陈巴尔虎旗| 葵青区|