filmov
tv
Visualizing Hybrid Push/Pull Backpressure with Java Reactive Streams

Показать описание
This program applies Project Reactor features to implement hybrid push/pull backpressure between a publisher and a subscriber running in different threads/schedulers. This program also measures the performance of checking random numbers for primality with and without a memoizer based on Java ConcurrentHashMap. In addition, it demonstrates the use of slicing with the Flux takeWhile() and skipWhile() operations.