|
|
|
|
LEADER |
06825nmm a2200421 u 4500 |
001 |
EB001930442 |
003 |
EBX01000000000000001093344 |
005 |
00000000000000.0 |
007 |
cr||||||||||||||||||||| |
008 |
210123 ||| eng |
020 |
|
|
|a 9781787283169
|
050 |
|
4 |
|a QA76.73.P98
|
100 |
1 |
|
|a Forbes, Elliot
|
245 |
0 |
0 |
|a Learning concurrency in Python
|b speed up your Python code with clean, readable, and advanced concurrency techniques
|c Elliot Forbes
|
260 |
|
|
|a Birmingham, UK
|b Packt Publishing
|c 2017
|
300 |
|
|
|a 1 volume
|b illustrations
|
505 |
0 |
|
|a Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Customer Feedback; Table of Contents; Preface; Chapter 1: Speed It Up!; History of concurrency; Threads and multithreading; What is a thread?; Types of threads; What is multithreading?; Processes; Properties of processes; Multiprocessing; Event-driven programming; Turtle; Breaking it down; Reactive programming; ReactiveX -- RxPy; Breaking it down; GPU programming; PyCUDA; OpenCL; Theano; The limitations of Python; Jython; IronPython; Why should we use Python?; Concurrent image download; Sequential download
|
505 |
0 |
|
|a Synchronization between threadsThe Dining Philosophers; Example; Output; Race conditions; Process execution sequence; The solution; Critical sections; Filesystem; Life-critical systems; Shared resources and data races; The join method; Breaking it down; Putting it together; Locks; Example; Breaking it down; RLocks; Example; Breaking it down; Output; RLocks versus regular locks; Condition; Definition; Example; Our publisher; Our subscriber; Kicking it off; The results; Semaphores; Class definition; Example; The TicketSeller class; Output; Thread race; Bounded semaphores; Events; Example
|
505 |
0 |
|
|a Computer memory architecture stylesUMA; NUMA; Summary; Chapter 3: Life of a Thread; Threads in Python; Thread state; State flow chart; Python example of thread state; Breaking it down; Different types of threads; POSIX threads; Windows threads; The ways to start a thread; Starting a thread; Inheriting from the thread class; Breaking it down; Forking; Example; Breaking it down; Daemonizing a thread; Example; Breaking it down; Handling threads in Python; Starting loads of threads; Example; Breaking it down; Slowing down programs using threads; Example; Breaking it down
|
505 |
0 |
|
|a Getting the total number of active threadsExample; Breaking it down; Getting the current thread; Example; Breaking it down; Main thread; Example; Breaking it down; Enumerating all threads; Example; Breaking it down; Identifying threads; Example; Breakdown; Ending a thread; Best practice in stopping threads; Example; Output; Orphan processes; How does the operating system handle threads; Creating processes versus threads; Example; Breaking it down; Multithreading models; One-to-one thread mapping; Many-to-one; Many-to-many; Summary; Chapter 4: Synchronization between Threads
|
505 |
0 |
|
|a Breaking it downConcurrent download; Breaking it down; Improving number crunching with multiprocessing; Sequential prime factorization; Breaking it down; Concurrent prime factorization; Breaking it down; Summary; Chapter 2: Parallelize It; Understanding concurrency; Properties of concurrent systems; I/O bottlenecks; Understanding parallelism; CPU-bound bottlenecks; How do they work on a CPU?; Single-core CPUs; Clock rate; Martelli model of scalability; Time-sharing -- the task scheduler; Multi-core processors; System architecture styles; SISD; SIMD; MISD; MIMD.
|
653 |
|
|
|a Logiciels d'application / Développement
|
653 |
|
|
|a COMPUTERS / Programming Languages / Python / bisacsh
|
653 |
|
|
|a Python (Computer program language) / fast
|
653 |
|
|
|a Python (Computer program language) / http://id.loc.gov/authorities/subjects/sh96008834
|
653 |
|
|
|a Application software / Development / fast
|
653 |
|
|
|a Python (Langage de programmation)
|
653 |
|
|
|a Application software / Development / http://id.loc.gov/authorities/subjects/sh95009362
|
041 |
0 |
7 |
|a eng
|2 ISO 639-2
|
989 |
|
|
|b OREILLY
|a O'Reilly
|
776 |
|
|
|z 9781787285378
|
776 |
|
|
|z 1787285375
|
856 |
4 |
0 |
|u https://learning.oreilly.com/library/view/~/9781787285378/?ar
|x Verlag
|3 Volltext
|
082 |
0 |
|
|a 005.13/3
|
520 |
|
|
|a What You Will Learn Explore the concept of threading and multiprocessing in Python Understand concurrency with threads Manage exceptions in child threads Handle the hardest part in a concurrent system - shared resources Build concurrent systems with Communicating Sequential Processes (CSP) Maintain all concurrent systems and master them Apply reactive programming to build concurrent systems Use GPU to solve specific problems In Detail Python 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.
|
520 |
|
|
|a Practically and deeply understand concurrency in Python to write efficient programs About This Book Build highly efficient, robust, and concurrent applications Work through practical examples that will help you address the challenges of writing concurrent code Improve the overall speed of execution in multiprocessor and multicore systems and keep them highly available Who This Book Is For This book is for Python developers who would like to get started with concurrent programming. Readers are expected to have a working knowledge of the Python language, as this book will build on these fundamentals concepts.
|
520 |
|
|
|a Small and simple practical examples will help you test..
|
520 |
|
|
|a 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. Style and approach This easy-to-follow guide teaches you new practices and techniques to optimize your code, and then moves toward more advanced ways to effectively write efficient Python code.
|