Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 2.58 KB

README.md

File metadata and controls

43 lines (27 loc) · 2.58 KB

Akka.NET Bootcamp - Unit 2: Intermediate Akka.NET

Akka.NET logo

In Unit 1, we learned some of the fundamentals of Akka.NET and the Actor Model.

In Unit 2 we will learn some of the more sophisticated concepts behind Akka.NET, such as pattern matching, basic Akka.NET configuration, scheduled messages, and much more!

Concepts you'll learn

In Unit 2 you're going to build your own version of Resource Monitor using Windows Forms, data visualization tools built into .NET, and Performance Counters.

In fact, here's what the final output from lesson 5 looks like:

Akka.NET Bootcamp Unit 2 Output

NOTE: If you're following along using the eBook / .ePub, you won't see the animation. Click here to see it.

You're going to build this whole thing using actors, and you'll be surprised at how small your code footprint is when we're done.

In Unit 2 you will learn:

  1. How to use HOCON configuration to configure your actors via App.config and Web.config;
  2. How to configure your actor's Dispatcher to run on the Windows Forms UI thread, so actors can make operations directly on UI elements without needing to change contexts;
  3. How to handle more sophisticated types of pattern matching using ReceiveActor;
  4. How to use the Scheduler to send recurring messages to actors;
  5. How to use the Publish-subscribe (pub-sub) pattern between actors;
  6. How and why to switch actor's behavior at run-time; and
  7. How to Stash messages for deferred processing.

Table of Contents

  1. Lesson 1: Config and Deploying Actors via App.Config
  2. Lesson 2: Using ReceiveActor for Better Message Handling
  3. Lesson 3: Using the Scheduler to Send Recurring Messages
  4. Lesson 4: Switching Actor Behavior at Run-time with BecomeStacked and UnbecomeStacked
  5. Lesson 5: Using a Stash to Defer Processing of Messages

Get Started

To get started, go to the /DoThis/ folder and open SystemCharting.sln.

And then go to Lesson 1.