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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.