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

Summary

In this chapter, we have revisited a few well-known design patterns by GoF—including Observer, Publish-Subscribe, and Iterator to build the basis of reactive programming. We have written a few implementations to review both the strong and weak sides of the instruments we already have for asynchronous programming. We have also leveraged Spring Framework support for Server-Sent Events, WebSockets, and also played with Event-Bus provided by Spring. Also, we have used Spring Boot and start.spring.io for fast application bootstrapping. Even though our examples were pretty simple, they demonstrated the potential issues that arise from immature approaches that are used for asynchronous data processing.

We also looked at reactive programming's history to highlight architectural problems, which reactive programming was invented to fight against. In this context, the success story of Netflix demonstrates that a small library like RxJava may become a starting point toward making a significant success in a very competitive business field. We have also discovered that following RxJava's success, a lot of companies and open source projects re-implemented reactive libraries bearing in mind these considerations, which led to the versatile reactive landscape. This versatility motivated the need for Reactive Standard, which we will talk about in the next chapter.

主站蜘蛛池模板: 皋兰县| 贵州省| 黑水县| 嵊州市| 青铜峡市| 鞍山市| 黄石市| 铜鼓县| 南靖县| 墨竹工卡县| 集贤县| 云霄县| 高台县| 鹰潭市| 池州市| 咸丰县| 麻城市| 永兴县| 台江县| 平阴县| 遂平县| 凤城市| 遂宁市| 铜鼓县| 普安县| 新余市| 安康市| 浦江县| 沐川县| 大竹县| 阳曲县| 鹿邑县| SHOW| 南丰县| 潮安县| 双鸭山市| 旌德县| 达孜县| 盘山县| 大渡口区| 百色市|