The libraries to use

You can always take the approach of implementing everything from scratch on your own. This, however, would slow you down and would require some deep domain knowledge in a lot of other parallel disciplines. We have always encouraged the use of libraries in the examples in this book, and this is the case here too.

Looking at the preceding diagram, we can see that we will need to do the following operations:

  • Read an application configuration
  • Read scheduler configuration files
  • Schedule tasks
  • Exchange messages
  • Access a database
  • Execute console commands

Sometimes, while coming up with which libraries to use, it requires testing of the different alternatives and seeing which one is useful for our purposes. We won't be doing ...

Get Scala Design Patterns - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.