Learning concurrency in Python : speed up your Python code with clean, readable, and advanced concurrency techniques /

Saved in:
Bibliographic Details
Main Author: Forbes, Elliot (Author)
Format: Electronic eBook
Language:English
Published: Birmingham, UK : Packt Publishing, 2017.
Subjects:
Online Access: Full text (Emmanuel users only)

MARC

LEADER 00000cam a2200000 i 4500
001 in00000091885
006 m o d
007 cr unu||||||||
008 170920s2017 enka o 000 0 eng d
005 20240701213133.7
019 |a 1001783368  |a 1001980026  |a 1001999546 
020 |a 9781787283169 
020 |a 178728316X 
020 |z 9781787285378 
020 |z 1787285375 
035 |a (OCoLC)1004395221  |z (OCoLC)1001783368  |z (OCoLC)1001980026  |z (OCoLC)1001999546 
037 |a CL0500000892  |b Safari Books Online 
040 |a UMI  |b eng  |e rda  |e pn  |c UMI  |d TOH  |d STF  |d N$T  |d EBLCP  |d IDEBK  |d NLE  |d MERUC  |d OCLCF  |d YDX  |d COO  |d CEF  |d KSU  |d OCLCQ  |d UAB  |d OCLCQ  |d OCLCO  |d OCLCQ  |d OCLCO  |d OCLCL 
050 4 |a QA76.73.P98 
072 7 |a COM  |x 051360  |2 bisacsh 
082 0 4 |a 005.13/3  |2 23 
100 1 |a Forbes, Elliot,  |e author. 
245 1 0 |a Learning concurrency in Python :  |b speed up your Python code with clean, readable, and advanced concurrency techniques /  |c Elliot Forbes. 
264 1 |a Birmingham, UK :  |b Packt Publishing,  |c 2017. 
300 |a 1 online resource (1 volume) :  |b illustrations 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
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 8 |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. 
505 8 |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 8 |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 8 |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. 
588 0 |a Online resource; title from title page (Safari, viewed September 19, 2017). 
650 0 |a Python (Computer program language) 
650 0 |a Application software  |x Development. 
758 |i has work:  |a Learning Concurrency in Python (Text)  |1 https://id.oclc.org/worldcat/entity/E39PD3FQgkRKQ9XCVdK6cChM4C  |4 https://id.oclc.org/worldcat/ontology/hasWork 
776 0 8 |i Print version:  |a Forbes, Elliot.  |t Learning Concurrency in Python.  |d Birmingham : Packt Publishing, ©2017 
852 |b Online  |h ProQuest 
856 4 0 |u https://ebookcentral.proquest.com/lib/emmanuel/detail.action?docID=4980881  |z Full text (Emmanuel users only)  |t 0 
938 |a EBL - Ebook Library  |b EBLB  |n EBL4980881 
938 |a EBSCOhost  |b EBSC  |n 1577485 
938 |a ProQuest MyiLibrary Digital eBook Collection  |b IDEB  |n cis38746395 
938 |a YBP Library Services  |b YANK  |n 14755237 
947 |a FLO  |x pq-ebc-base 
999 f f |s c6240a77-e131-4537-b4d9-d890e68a1b56  |i 9418db68-487c-4aa3-9279-5edec84f975c  |t 0 
952 f f |a Emmanuel College  |b Main Campus  |c Emmanuel College Library  |d Online  |t 0  |e ProQuest  |h Other scheme 
856 4 0 |t 0  |u https://ebookcentral.proquest.com/lib/emmanuel/detail.action?docID=4980881  |y Full text (Emmanuel users only)