skip to content
Learning concurrency in Python : speed up your Python code with clean, readable, and advanced concurrency techniques Preview this item
ClosePreview this item
Checking...

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

Author: Elliot Forbes
Publisher: Birmingham, UK : Packt Publishing, 2017.
Edition/Format:   eBook : Document : EnglishView all editions and formats
Rating:

(not yet rated) 0 with reviews - Be the first.

Subjects
More like this

Find a copy online

Links to this item

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...

Details

Genre/Form: Electronic books
Additional Physical Format: Print version:
Forbes, Elliot
Learning Concurrency in Python
Birmingham : Packt Publishing,c2017
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Elliot Forbes
ISBN: 9781787283169 178728316X
OCLC Number: 1004395221
Description: 1 online resource (1 volume) : illustrations
Contents: 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 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 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 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 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
Responsibility: Elliot Forbes.

Reviews

User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...

Tags

Be the first.
Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data


Primary Entity

<http://www.worldcat.org/oclc/1004395221> # Learning concurrency in Python : speed up your Python code with clean, readable, and advanced concurrency techniques
    a schema:MediaObject, schema:Book, schema:CreativeWork ;
    library:oclcnum "1004395221" ;
    library:placeOfPublication <http://id.loc.gov/vocabulary/countries/enk> ;
    schema:about <http://experiment.worldcat.org/entity/work/data/4470188515#Topic/python_computer_program_language> ; # Python (Computer program language)
    schema:about <http://dewey.info/class/005.133/e23/> ;
    schema:about <http://experiment.worldcat.org/entity/work/data/4470188515#Topic/computers_programming_languages_python> ; # COMPUTERS / Programming Languages / Python
    schema:about <http://experiment.worldcat.org/entity/work/data/4470188515#Topic/application_software_development> ; # Application software--Development
    schema:author <http://experiment.worldcat.org/entity/work/data/4470188515#Person/forbes_elliot> ; # Elliot Forbes
    schema:bookFormat schema:EBook ;
    schema:datePublished "2017" ;
    schema:description "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"@en ;
    schema:exampleOfWork <http://worldcat.org/entity/work/id/4470188515> ;
    schema:genre "Electronic books"@en ;
    schema:inLanguage "en" ;
    schema:isSimilarTo <http://worldcat.org/entity/work/data/4470188515#CreativeWork/learning_concurrency_in_python> ;
    schema:name "Learning concurrency in Python : speed up your Python code with clean, readable, and advanced concurrency techniques"@en ;
    schema:productID "1004395221" ;
    schema:url <http://lib.myilibrary.com?id=1027966> ;
    schema:url <http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=1577485> ;
    schema:url <http://proquest.safaribooksonline.com/?uiCode=ohlink&xmlId=9781787285378> ;
    schema:url <http://public.eblib.com/choice/PublicFullRecord.aspx?p=4980881> ;
    schema:url <http://ezproxy.torontopubliclibrary.ca/login?url=http://proquestcombo.safaribooksonline.com/?uiCode=torontopl&xmlId=9781787285378> ;
    schema:url <https://proquest.safaribooksonline.com/9781787285378> ;
    schema:url <http://proquest.safaribooksonline.com/?uiCode=stanford&xmlId=9781787285378> ;
    schema:url <http://proquest.safaribooksonline.com/?fpi=9781787285378> ;
    schema:url <http://proxy.ohiolink.edu:9099/login?url=http://proquest.safaribooksonline.com/?uiCode=ohlink&xmlId=9781787285378> ;
    schema:url <http://proxy.library.carleton.ca/login?url=http://proquest.safaribooksonline.com/?uiCode=carleton&xmlId=9781787285378> ;
    schema:url <http://ebookcentral.proquest.com/lib/ucm/detail.action?docID=4980881> ;
    schema:workExample <http://worldcat.org/isbn/9781787283169> ;
    wdrs:describedby <http://www.worldcat.org/title/-/oclc/1004395221> ;
    .


Related Entities

<http://experiment.worldcat.org/entity/work/data/4470188515#Person/forbes_elliot> # Elliot Forbes
    a schema:Person ;
    schema:familyName "Forbes" ;
    schema:givenName "Elliot" ;
    schema:name "Elliot Forbes" ;
    .

<http://experiment.worldcat.org/entity/work/data/4470188515#Topic/application_software_development> # Application software--Development
    a schema:Intangible ;
    schema:name "Application software--Development"@en ;
    .

<http://experiment.worldcat.org/entity/work/data/4470188515#Topic/computers_programming_languages_python> # COMPUTERS / Programming Languages / Python
    a schema:Intangible ;
    schema:name "COMPUTERS / Programming Languages / Python"@en ;
    .

<http://experiment.worldcat.org/entity/work/data/4470188515#Topic/python_computer_program_language> # Python (Computer program language)
    a schema:Intangible ;
    schema:name "Python (Computer program language)"@en ;
    .

<http://proquest.safaribooksonline.com/?uiCode=stanford&xmlId=9781787285378>
    rdfs:comment "Available to Stanford-affiliated users." ;
    .

<http://worldcat.org/entity/work/data/4470188515#CreativeWork/learning_concurrency_in_python>
    a schema:CreativeWork ;
    rdfs:label "Learning Concurrency in Python" ;
    schema:description "Print version:" ;
    schema:isSimilarTo <http://www.worldcat.org/oclc/1004395221> ; # Learning concurrency in Python : speed up your Python code with clean, readable, and advanced concurrency techniques
    .

<http://worldcat.org/isbn/9781787283169>
    a schema:ProductModel ;
    schema:isbn "178728316X" ;
    schema:isbn "9781787283169" ;
    .

<http://www.worldcat.org/title/-/oclc/1004395221>
    a genont:InformationResource, genont:ContentTypeGenericResource ;
    schema:about <http://www.worldcat.org/oclc/1004395221> ; # Learning concurrency in Python : speed up your Python code with clean, readable, and advanced concurrency techniques
    schema:dateModified "2018-07-21" ;
    void:inDataset <http://purl.oclc.org/dataset/WorldCat> ;
    .


Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.