concept Akka in category machine learning

appears as: Akka
Machine Learning Systems: Designs that scale

This is an excerpt from Manning's book Machine Learning Systems: Designs that scale.

In the next chapter, I’ll introduce some of the technologies and techniques used to build reactive machine learning systems. You’ll see how reactive programming techniques allow you to deal with complex system dynamics without complex code. I’ll also introduce two powerful frameworks, Akka and Spark, that you can use to build incredibly sophisticated reactive systems easily and quickly.

To get ready to build full-scale reactive machine learning systems, you need to get familiar with a few tools from the Scala ecosystem: Scala itself, Akka, and Spark. In this book, we’ll write applications in Scala because it provides excellent support for functional programming and has been used successfully in building reactive systems of all kinds. Sometimes, you’ll find that Akka can be useful as a tool for providing resilience and elasticity through its implementation of the actor model. Other times, you’ll want to use Spark to build large-scale pipeline jobs like feature extraction and model learning. In this chapter, you’ll just start to get familiar with these tools, and beginning with chapter 3, I’ll show you how they can be used to build the various components of a reactive machine learning system.

Let’s see how you can fulfill the limited scope of your mission even with your unreliable vote database. Using Akka, create a vote writer as an actor.

Listing 2.11. Full voting app
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest