Implement effective programming techniques in Python to build scalable software that saves time and memory Key Features โข Design distributed computing systems and massive computational tasks coherently โข Learn practical recipes with concise explanations that address development pain points enco
Python Parallel Programming Cookbook: Over 70 recipes to solve asynchronous programming and distributed computing problems with Python 3
โ Scribed by Giancarlo Zaccone
- Publisher
- Packt Publishing
- Year
- 2019
- Tongue
- English
- Leaves
- 370
- Edition
- 2
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Implement effective programming techniques in Python to build scalable software that saves time and memory
Key Features
โข Design distributed computing systems and massive computational tasks coherently
โข Learn practical recipes with concise explanations that address development pain points encountered while coding parallel programs
โข Understand how to host your parallelized applications on the cloud
Book Description
Nowadays, it has become extremely important for programmers to understand the link between the software and the parallel nature of their hardware so that their programs run efficiently on computer architectures. Applications based on parallel programming are fast, robust, and easily scalable.
This updated edition features cutting-edge techniques for building effective concurrent applications in Python 3.7. The book introduces parallel programming architectures and covers the fundamental recipes for thread-based and process-based parallelism. You'll learn about mutex, semaphores, locks, queues exploiting the threading, and multiprocessing modules, all of which are basic tools to build parallel applications. Recipes on MPI programming will help you to synchronize processes using the fundamental message passing techniques with mpi4py. Furthermore, you'll get to grips with asynchronous programming and how to use the power of the GPU with PyCUDA and PyOpenCL frameworks. Finally, you'll explore how to design distributed computing systems with Celery and architect Python apps on the cloud using PythonAnywhere, Docker, and serverless applications.
By the end of this book, you will be confident in building concurrent and high-performing applications in Python.
What you will learn
โข Synchronize multiple threads and processes to manage parallel tasks
โข Use message passing techniques to establish communication between processes to build parallel applications
โข Program your own GPU cards to address complex problems
โข Manage computing entities to execute distributed computational task
โข Write efficient programs by adopting the event-driven programming model
โข Explore cloud technology with Django and Google App Engine
โข Apply parallel programming techniques that can lead to performance improvements
Who this book is for
The Python Parallel Programming Cookbook is for software developers who are well-versed with Python and want to use parallel programming techniques to write powerful and efficient code. This book will help you master the basics and the advanced of parallel computing.
โฆ Table of Contents
- Getting Started with Parallel Computing and Python
- Thread-based Parallelism
- Process-based Parallelism
- Message Passing
- Asynchronous Programming
- Distributed Python
- Cloud Computing
- Heterogeneous Computing
- Python Debugging and Testing
โฆ Subjects
Cloud Computing; Debugging; Multithreading; Python; Web Applications; Asynchronous Programming; Parallel Programming; Messages; Docker; PythonAnywhere; GPU Programming; CUDA; asyncio; Testing; Multiprocessing; Distributed Processing; Serverless Applications; Celery; PyCUDA; OpenCL; PyOpenCL
๐ SIMILAR VOLUMES
This book aims at providing students thorough knowhow of Python programming language. It will familiarize them with the concepts of Python programming, its application in programming as well as advantages and disadvantages over other programming languages. The book covers all the fundamental and the
Python, one of the world's most popular programming languages, has a number of powerful packages to help you tackle complex mathematical problems in a simple and efficient way. These core capabilities help programmers pave the way for building exciting applications in various domains, such as machin
<p><b>Discover easy-to-follow solutions and techniques to help you to implement applied mathematical concepts such as probability, calculus, and equations using Python's numeric and scientific libraries</b></p><h4>Key Features</h4><ul><li>Compute complex mathematical problems using programming logic
Python, one of the world's most popular programming languages, has a number of powerful packages to help you tackle complex mathematical problems in a simple and efficient way. These core capabilities help programmers pave the way for building exciting applications in various domains, such as machin
ArcGIS is an industry standard geographic information system from ESRI. This book will show you how to use the Python programming language to create geoprocessing scripts, tools, and shortcuts for the ArcGIS Desktop environment. This book will make you a more effective and efficient GIS profession