Pages: 174
Published: August 2021
ISBN: 9781680508192
In Print

Learn different ways of writing concurrent code in Elixir and increaseyour application’s performance, without sacrificing scalability orfault-tolerance. Most projects benefit from running background tasks andprocessing data concurrently, but the world of OTP and various librariescan be challenging. Which Supervisor and what strategy to use? Whatabout GenServer? Maybe you need back-pressure, but is GenStage, Flow, orBroadway a better choice? You will learn everything you need to know toanswer these questions, start building highly concurrent applications inno time, and write code that’s not only fast, but also resilient toerrors and easy to scale.
PDF for desktop/tablets
epub for Apple Books, e-readers
mobi for Kindle readers
Get all eBook formats here for$26.95 (USD)
Order via Bookshop(U.S. Only)
Please support indie bookstores!
Findindie bookstores in the U.S. Findindie bookstores around the world.
Whether you are building a high-frequency stock trading application or aconsumer web app, you need to know how to leverage concurrency to buildapplications that are fast and efficient. Elixir and the OTP offer arange of powerful tools, and this guide will show you how to choose thebest tool for each job, and use it effectively to quickly start buildinghighly concurrent applications.
Learn about Tasks, supervision trees, and the different types ofSupervisors available to you. Understand why processes and processlinking are the building blocks of concurrency in Elixir. Getcomfortable with the OTP and use the GenServer behavior to maintainprocess state for long-running jobs. Easily scale the number of runningprocesses using the Registry. Handle large volumes of data and trafficspikes with GenStage, using back-pressure to your advantage. Create yourfirst multi-stage data processing pipeline using producer, consumer, andproducer-consumer stages. Process large collections with Flow, usingMapReduce and more in parallel. Thanks to Broadway, you will see howeasy it is to integrate with popular message broker systems, or evenexisting GenStage producers.
Start building the high-performance and fault-tolerant applicationsElixir is famous for today.
Releases:
PDF for desktop/tablets
epub for Apple Books, e-readers
mobi for Kindle readers
Get all eBook formats here for$26.95 (USD)
Order via Bookshop(U.S. Only)
Please support indie bookstores!
Findindie bookstores in the U.S. Findindie bookstores around the world.
Be the first to hear about our newest content, best promotions and upcoming events. Plus get25% off your next purchase.

Pages: 174
Published: August 2021
ISBN: 9781680508192
Edition: 1
In Print