Skip to Content
Scala Reactive Programming
book

Scala Reactive Programming

by Rambabu Posa
February 2018
Intermediate to advanced
552 pages
13h 46m
English
Packt Publishing
Content preview from Scala Reactive Programming

The Reactive Resource Pool pattern

The Reactive Resource Pool pattern is similar to the previously discussed Resource Loan Pattern. Unlike the Resource Loan Pattern that deals with a single Resource, the Resource Pool pattern deals with a Pool or a set of Resources.

Yes, you are right. It's something similar to a Pool of Connection or Connection Pool, which we used in our Non-Reactive Systems or Legacy Systems. Let's observe the following diagram:

A Reactive Resource Pool Pattern works as follows:

  1. In our Reactive System, one of our System Components, which needs a Resource to fulfill its computation task, sends a request (Submit a Computation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Scala Programming Projects

Scala Programming Projects

Mikael Valot, Nicolas Jorand
Learning Scala

Learning Scala

Jason Swartz
Functional Programming in Scala

Functional Programming in Scala

Runar Bjarnason, Paul Chiusano

Publisher Resources

ISBN: 9781787288645Supplemental Content