Book Image

Mastering SaltStack - Second Edition

Book Image

Mastering SaltStack - Second Edition

Overview of this book

SaltStack is a powerful configuration management and automation suite designed to manage servers and tens of thousands of nodes. This book showcases Salt as a very powerful automation framework. We will review the fundamental concepts to get you in the right frame of mind, and then explore Salt in much greater depth. You will explore Salt SSH as a powerful tool and take Salt Cloud to the next level. Next, you’ll master using Salt services with ease in your infrastructure. You will discover methods and strategies to scale your infrastructure properly. You will also learn how to use Salt as a powerful monitoring tool. By the end of this book, you will have learned troubleshooting tips and best practices to make the entire process of using Salt pain-free and easy.
Table of Contents (20 chapters)
Mastering SaltStack Second Edition
Credits
Foreword
About the Author
About the Reviewer
www.PacktPub.com
Preface

Flow-based programming


We've talked about just a few of the differences between RAET and ZeroMQ. However, to really understand the benefits of RAET and how it affects you, it really helps to get at least a basic handle on flow-based programming (FBP), which RAET is designed on.

The pieces of the puzzle

All this may sound a little intimidating, but don't worry. We'll break it into smaller components first and then look at how these pieces fit together. FBP is based on three concepts:

  • Black boxes

  • Shared storage

  • Concurrent scheduling

These three types of components fit together to form a framework that can manage tasks very quickly and efficiently. Let's take a look at them individually.

Black boxes

The first puzzle piece is the black box. More accurately, black boxes really are the puzzle pieces themselves: they are organized by the scheduler and connected with shared storage.

Most simply, a black box is one thing that does another thing. That's not very specific, so let's go into more detail.

A black...