- Spring 5.0 Projects
- Nilang Patel
- 245字
- 2021-07-02 12:35:01
Reactive Streams
Reactive Streams is described simply as an initiative to provide a standard for asynchronous stream processing with non-blocking backpressure. It is a small and straightforward statement. However, it is essential to note that the first focus here is on the asynchronous stream processing and not just on the asynchronous programming. As discussed earlier, asynchronous systems have been around for a long time.
Before processing a stream, comes receiving the stream data. Asynchronously, this would mean managing the risk of uncertainties in the world of streams. For example, how much more data or messages could there be? Another challenge might be how to know when the stream has finished sending data. There could be a lot of questions, and we will see all of them in a little while.
Reactive Streams is used to perform Reactive Programming in Java. It is an API specification or, say, low-level contract given by the collaborations of various companies like Pivotal, Netflix, Red Hat, Twitter, Lightbend (previously known as Typesafe), Kaazing, Oracle, and many more. You can consider the Reactive Streams API to be just like JPA or JDBC. The actual implementations are provided by various vendors.
For example, JPA specifications have various vendors like Hibernate, TopLink, Apache OpenJPA that provide actual implementation. Similarly, there are many popular JVM-based libraries that support Reactive Programming like Reactor, Akka stream, Ratpack, Vert.x, and so on. They all provide an implementation of the Reactive Streams specifications, which bring interchangeability.
- 通信網(wǎng)絡(luò)基礎(chǔ)與設(shè)備
- 物聯(lián)網(wǎng)短距離無(wú)線通信技術(shù)應(yīng)用與開(kāi)發(fā)
- GPS/GNSS原理與應(yīng)用(第3版)
- 數(shù)字烏托邦
- 互聯(lián)網(wǎng)安全的40個(gè)智慧洞見(jiàn):2015年中國(guó)互聯(lián)網(wǎng)安全大會(huì)文集
- 物聯(lián)網(wǎng)技術(shù)與應(yīng)用
- Mastering TypeScript 3
- Yii Application Development Cookbook(Second Edition)
- Learning Swift(Second Edition)
- 通信原理及MATLAB/Simulink仿真
- Unity Artificial Intelligence Programming
- Building Web Applications with ArcGIS
- 搶占下一個(gè)智能風(fēng)口:移動(dòng)物聯(lián)網(wǎng)
- 物聯(lián)網(wǎng)場(chǎng)景設(shè)計(jì)與開(kāi)發(fā)(初級(jí))
- 云計(jì)算技術(shù)與標(biāo)準(zhǔn)化