O'Reilly logo

The Little Elixir & OTP Guidebook by Benjamin Tan Wei Hao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Completing the worker-pool application

This chapter covers

  • Implementing the entire worker pool application
  • Building multiple supervision hierarchies
  • Dynamically creating Supervisors and workers

In this chapter, you’ll continue to evolve the design of the Pooly application, which you started in chapter 6. By the end of this chapter, you’ll have a full, working worker-pool application. You’ll get to explore the Supervisor API more thoroughly and also explore more advanced (read: fun!) Supervisor topics.

In chapter 6, you were left with a rudimentary worker-pool application, if we can even call it that. In the following sections, you’ll add some smarts to Pooly. For example, there’s currently no way to handle crashes and restarts ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required