Have a personal or library account? Click to login
Scala Reactive Programming Cover

Scala Reactive Programming

Build scalable, functional reactive microservices with Akka, Play, and Lagom

Paid access
|Mar 2018
Product purchase options

Build fault-tolerant, robust, and distributed applications in Scala

Key Features

  • - Understand and use the concepts of reactive programming to build distributed systems running on multiple nodes.
  • - Learn how reactive architecture reduces complexity throughout the development process.
  • - Get to grips with functional reactive programming and Reactive Microservices.

Book Description

Reactive programming is a scalable, fast way to build applications, and one that helps us write code that is concise, clear, and readable. It can be used for many purposes such as GUIs, robotics, music, and others, and is central to many concurrent systems. This book will be your guide to getting started with Reactive programming in Scala.

You will begin with the fundamental concepts of Reactive programming and gradually move on to working with asynchronous data streams. You will then start building an application using Akka Actors and extend it using the Play framework. You will also learn about reactive stream specifications, event sourcing techniques, and different methods to integrate Akka Streams into the Play Framework. This book will also take you one step forward by showing you the advantages of the Lagom framework while working with reactive microservices. You will also learn to scale applications using multi-node clusters and test, secure, and deploy your microservices to the cloud.

By the end of the book, you will have gained the knowledge to build robust and distributed systems with Scala and Akka.

What you will learn

  • Understand the fundamental principles of Reactive and Functional programming
  • Develop applications utilizing features of the Akka framework
  • Explore techniques to integrate Scala, Akka, and Play together
  • Learn about Reactive Streams with real-time use cases
  • Develop Reactive Web Applications with Play, Scala, Akka, and Akka Streams
  • Develop and deploy Reactive microservices using the Lagom framework and ConductR

Who this book is for

This book is for Scala developers who would like to build fault-tolerant, scalable distributed systems. No knowledge of Reactive programming is required.

Table of Contents

  1. Getting Started with Reactive and FP
  2. Functional Scala
  3. Asynchronous Programming with Scala
  4. Building Reactive Applications with Akka
  5. Adding Reactiveness with RxScala
  6. Extending Application with Play
  7. Working with Reactive Streams
  8. Integrating Akka Streams to Play Application
  9. Reactive Microservices With Lagom
  10. Testing Reactive Microservices
  11. Managing Microservices in ConductR
  12. Reactive Design Patterns & Best Practices
  13. Appendix A-Scala Plugin for IntelliJ IDEA
  14. Appendix B- Installing Robomongo
https://github.com/packtpublishing/scala-reactive-programming
PDF ISBN: 978-1-78728-287-2
Publisher: Packt Publishing Limited
Copyright owner: © 2018 Packt Publishing Limited
Publication date: 2018
Language: English
Pages: 552