John McCleanMar 253 min read
Reactive programming with Java 8 and simple-react : The Tutorial
Java 8 Reactive Programming with simple-react
The tutorial covers the following areas -
- getting started
- error handling
- filter /map/ reduce /flatMap
- choosing a stream type
- stream creation
- pooling reactors
- pull / push model
- flow control
- batching and chunking
- sharding
- zipping streams
- firstOf, anyOf, allOf
- stream operations
- sequence operations
Reactive programming with Java 8 and simple-react : getting started
The easiest way to get started with simple-react is to simply create an instance of SimpleReact and go from there.medium.com
The easiest way to get started with simple-react is to simply create an instance of SimpleReact and go from there.medium.com
Reactive programming with Java 8 and simple-react : error handling
simple-react provides three mechanisms to handle and recover from errors. They are :-medium.com
simple-react provides three mechanisms to handle and recover from errors. They are :-medium.com
Reactive programming with Java 8 and simple-react : filter / map / reduce & flatMap
A pretty common combination in Stream processing is filtering some data before transforming it (mapping) to a different…medium.com
A pretty common combination in Stream processing is filtering some data before transforming it (mapping) to a different…medium.com
Reactive programming with Java 8 and simple-react : choosing a stream type
There are 3 Stream type in simple-react. The most powerful is LazyFutureStream, and the least feature rich is…medium.com
There are 3 Stream type in simple-react. The most powerful is LazyFutureStream, and the least feature rich is…medium.com
Reactive programming with Java 8 and simple-react : stream creation
There are a number of ways to create a simple-react streammedium.com
There are a number of ways to create a simple-react streammedium.com
Reactive programming with Java 8 and simple-react : pooling reactors
Creating an ExecutorService in Java is expensive, and the garbage collector often refuses to collect them, even when…medium.com
Creating an ExecutorService in Java is expensive, and the garbage collector often refuses to collect them, even when…medium.com
Reactive programming with Java 8 and simple-react : pull / push model
simple-react operates under a mixed pull /push model, with pull being dominant over push. All tasks within a simple…medium.com
simple-react operates under a mixed pull /push model, with pull being dominant over push. All tasks within a simple…medium.com
Reactive programming with Java 8 and simple-react : flow control
Generate an event every secondmedium.com
Generate an event every secondmedium.com
Reactive programming with Java 8 and simple-react : batching and chunking
If we have a Stream of events, it may be more efficient to process them in batches.medium.com
If we have a Stream of events, it may be more efficient to process them in batches.medium.com
Reactive programming with Java 8 and simple-react : sharding
If you want to split a Stream of data into separate Streams for processing simple-react provides sharding functionality…medium.com
If you want to split a Stream of data into separate Streams for processing simple-react provides sharding functionality…medium.com
Reactive programming with Java 8 and simple-react : zipping streams
zipping allows two Streams to be merged element by element. simple-react supports a number of different ways to zip…medium.com
zipping allows two Streams to be merged element by element. simple-react supports a number of different ways to zip…medium.com
Reactive programming with Java 8 and simple-react : stream operations
JDK 8 Stream operations from java.util.stream.Stream are available on both EagerFutureStream and LazyFutureStream.medium.com
JDK 8 Stream operations from java.util.stream.Stream are available on both EagerFutureStream and LazyFutureStream.medium.com
Reactive programming with Java 8 and simple-react : sequence operations
EagerFutureStream and LazyFutureStream also have a range of advanced Sequencing operations.medium.com
EagerFutureStream and LazyFutureStream also have a range of advanced Sequencing operations.medium.com
Other Resources & Articles
Introducing EagerFutureStream & LazyFutureStream
SimpleReact v0.4 introduces two new super-charged Java 8 Streams — EagerFutureStream and LazyFutureStream.medium.com
SimpleReact v0.4 introduces two new super-charged Java 8 Streams — EagerFutureStream and LazyFutureStream.medium.com
Scaling up microservices with NIO and SimpleReact
One of the biggest impacts of adopting a microservices architecture was a rapid increase in the number of internal REST…medium.com
One of the biggest impacts of adopting a microservices architecture was a rapid increase in the number of internal REST…medium.com
