جزییات کتاب
Key FeaturesBuild highly efficient, robust, and concurrent applicationsWork through practical examples that will help you address the challenges of writing concurrent codeImprove the overall speed of execution in multiprocessor and multicore systems and keep them highly availableBook DescriptionPython is a very high level, general purpose language that is utilized heavily in fields such as data science and research, as well as being one of the top choices for general purpose programming for programmers around the world. It features a wide number of powerful, high and low-level libraries and frameworks that complement its delightful syntax and enable Python programmers to create.This book introduces some of the most popular libraries and frameworks and goes in-depth into how you can leverage these libraries for your own high-concurrent, highly-performant Python programs. We'll cover the fundamental concepts of concurrency needed to be able to write your own concurrent and parallel software systems in Python.The book will guide you down the path to mastering Python concurrency, giving you all the necessary hardware and theoretical knowledge. We'll cover concepts such as debugging and exception handling as well as some of the most popular libraries and frameworks that allow you to create event-driven and reactive systems.By the end of the book, you'll have learned the techniques to write incredibly efficient concurrent systems that follow best practices.What you will learnExplore the concept of threading and multiprocessing in PythonUnderstand concurrency with threadsManage exceptions in child threadsHandle the hardest part in a concurrent system — shared resourcesBuild concurrent systems with Communicating Sequential Processes (CSP)Maintain all concurrent systems and master themApply reactive programming to build concurrent systemsUse GPU to solve specific problemsAbout the AuthorElliot Forbes has worked as a full-time software engineer at a leading financial firm for the last two years. He graduated from the University of Strathclyde in Scotland in the spring of 2015 and worked as a freelancer developing web solutions while studying there.He has worked on numerous different technologies such as GoLang and NodeJS and plain old Java, and he has spent years working on concurrent enterprise systems. It is with this experience that he was able to write this book.Elliot has even worked at Barclays Investment Bank for a summer internship in London and has maintained a couple of software development websites for the last three years.Table of ContentsSpeed It Up!How About Parallel It?Life of ThreadSynchronization Between ThreadsCommunication Between ThreadsDebug and Benchmark ThreadsExecutors and PoolsMultiprocessingEvent-driven ProgrammingReactive ProgrammingUsing GPUChoosing a Solution