- Reactive Programming in Kotlin
- Rivu Chakraborty
- 227字
- 2021-07-02 22:26:36
Reactive Manifesto
So, what is the Reactive Manifesto? The Reactive Manifesto (http://www.reactivemanifesto.org) is a document defining the four reactive principles. You can think of it as the map to the treasure of reactive programming, or like the bible for the programmers of the reactive programming religion.
Everyone starting with reactive programming should have a read of the manifesto to understand what reactive programming is all about and what its principles are.
So, the following is the gist of four principles that Reactive Manifesto defines:
- Responsive:
The system responds in a timely manner. Responsive systems focus on providing rapid and consistent response times, so they deliver a consistent quality of service. - Resilient:
In case the system faces any failure, it stays responsive. Resilience is achieved by replication, containment, isolation, and delegation. Failures are contained within each component, isolating components from each other, so when failure has occurred in a component, it will not affect the other components or the system as a whole. - Elastic:
Reactive systems can react to changes and stay responsive under varying workload. They achieve elasticity in a cost effective way on commodity hardware and software platforms. - Message driven:
In order to establish the resilient principle, reactive systems need to establish a boundary between components by relying on asynchronous message passing.
By implementing all four preceding principles, the system becomes reliable and responsive thus, reactive.
推薦閱讀
- 分布式數(shù)據(jù)庫系統(tǒng):大數(shù)據(jù)時代新型數(shù)據(jù)庫技術(shù)(第3版)
- 大數(shù)據(jù):從概念到運營
- 大話Oracle Grid:云時代的RAC
- “互聯(lián)網(wǎng)+”時代立體化計算機組
- 數(shù)據(jù)科學(xué)工程實踐:用戶行為分析與建模、A/B實驗、SQLFlow
- IPython Interactive Computing and Visualization Cookbook(Second Edition)
- 二進(jìn)制分析實戰(zhàn)
- 數(shù)據(jù)修復(fù)技術(shù)與典型實例實戰(zhàn)詳解(第2版)
- 從實踐中學(xué)習(xí)sqlmap數(shù)據(jù)庫注入測試
- 信息融合中估計算法的性能評估
- 數(shù)據(jù)中臺實戰(zhàn):手把手教你搭建數(shù)據(jù)中臺
- 標(biāo)簽類目體系:面向業(yè)務(wù)的數(shù)據(jù)資產(chǎn)設(shè)計方法論
- MySQL性能調(diào)優(yōu)與架構(gòu)設(shè)計
- Access 2010數(shù)據(jù)庫應(yīng)用技術(shù)教程(第二版)
- Scratch Cookbook