Book Image

Network Programming and Automation Essentials

By : Claus Töpke
Book Image

Network Programming and Automation Essentials

By: Claus Töpke

Overview of this book

Network programming and automation, unlike traditional networking, is a modern-day skill that helps in configuring, managing, and operating networks and network devices. This book will guide you with important information, helping you set up and start working with network programming and automation. With Network Programming and Automation Essentials, you’ll learn the basics of networking in brief. You’ll explore the network programming and automation ecosystem, learn about the leading programmable interfaces, and go through the protocols, tools, techniques, and technologies associated with network programming. You’ll also master network automation using Python and Go with hands-on labs and real network emulation in this comprehensive guide. By the end of this book, you’ll be well equipped to program and automate networks efficiently.
Table of Contents (16 chapters)
1
Part 1: Foundations for Network Automation
6
Part 2: Network Programming for Automation
11
Part 3: Testing, Hands-On, and Going Forward

Adding schedulers and job dispatchers

A scheduler is a system that selects a job for running, where a job can be understood as a program or part of code that requires running. A dispatcher, on the other hand, is the system that takes the job and places it in the execution queue of a machine. They are complementary, and in some cases, they are treated as the same system. So, for the purpose of this section, we are going to talk about some systems that can do both scheduling and dispatching jobs.

The main objective of using systems that can schedule and dispatch jobs is to gain scale by adding machines that can run more jobs in parallel. It is kind of similar to a single program using multiprocessing but with the difference that the new processes are being executed on another machine.

You could do lots of work to improve the performance of your program, but in the end, you will be bound by the machine’s limitations, and if your application is CPU bound, it will be limited...