filmov
tv
Reactive Programming with Cassandra | Ep. 93 Distributed Data Show

Показать описание
The new 2.0 version of the DataStax Enterprise Java Driver introduced some new patterns for accessing your data: reactive programming. In this episode, Alexandre explains the reactive APIs available in the new driver and the "sweet spots" for when to use them.
Highlights:
0:00 - Welcoming Alex back to the show to continue the conversation about new features in the DataStax Java Driver 4.0 for Cassandra.
0:30 - When people talk about reactive programming in Java they are often talking about the Reactive Streams API which includes interfaces such as Publisher, Subscriber and Subscription. One major advantage is not having to manage threads and futures.
4:10 - The driver uses a custom implementation of the reactive APIs in order to avoid bringing in additional dependencies. The implementation passed the Reactive Streams compatibility tests (TCK).
5:20 - The subscriber supports a backpressure feature - it does not requesting additional pages from the publisher if there are not resources to handle on the client.
Highlights:
0:00 - Welcoming Alex back to the show to continue the conversation about new features in the DataStax Java Driver 4.0 for Cassandra.
0:30 - When people talk about reactive programming in Java they are often talking about the Reactive Streams API which includes interfaces such as Publisher, Subscriber and Subscription. One major advantage is not having to manage threads and futures.
4:10 - The driver uses a custom implementation of the reactive APIs in order to avoid bringing in additional dependencies. The implementation passed the Reactive Streams compatibility tests (TCK).
5:20 - The subscriber supports a backpressure feature - it does not requesting additional pages from the publisher if there are not resources to handle on the client.