Chapter 5. Managing Tasks Asynchronously

Salt is commonly thought of as a configuration management system. This is fine because Salt does an excellent job of managing various aspects of its minions. However, this is only a small part of what Salt can do. One of the biggest components is the event system, which forms the basis of an asynchronous execution framework.

In this chapter, we'll spend some time looking at the following topics:

  • Going through the event system in depth
  • Understanding the reactor system
  • Building more complex reactors
  • Using the Thorium engine
  • Using the queue system

Looking at the event system

The event system is one of the oldest components of Salt. Yet, it is now used more than almost any other part. Most of its usage is internal ...

Get Mastering SaltStack - 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.