Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Distributed Computing with Python
  • Table Of Contents Toc
  • Feedback & Rating feedback
Distributed Computing with Python

Distributed Computing with Python

By : Pierfederici
4.3 (3)
close
close
Distributed Computing with Python

Distributed Computing with Python

4.3 (3)
By: Pierfederici

Overview of this book

CPU-intensive data processing tasks have become crucial considering the complexity of the various big data applications that are used today. Reducing the CPU utilization per process is very important to improve the overall speed of applications. This book will teach you how to perform parallel execution of computations by distributing them across multiple processors in a single machine, thus improving the overall performance of a big data processing task. We will cover synchronous and asynchronous models, shared memory and file systems, communication between various processes, synchronization, and more.
Table of Contents (10 chapters)
close
close
9
Index

Running a Python job using HTCondor


This section assumes access to a cluster managed by the open source HTCondor job scheduler. The installation of HTCondor is not difficult (described in the administrator's manual available at https://research.cs.wisc.edu/htcondor/manual/), but it is outside the scope of this book.

HTCondor comes with a set of command-line tools that can be used to submit jobs to the cluster (condor_submit), view the status of any submitted job (condor_q), kill a job (condor_rm), and view the status of all the machines in the cluster (condor_status). There are many other tools—more than 60 in total; however, we will concentrate on the four main ones listed in this section.

Another way of interacting with an HTCondor cluster is using the Distributed Resource Management Application API (DRMAA), which comes with most (but not all) HTCondor installations and is packaged as a shared library (for example, libdrmaa.so on Linux).

DRMAA abstracts away most of the vendor specificity...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Distributed Computing with Python
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon