Skip to Content
Hands-On Reactive Programming with Python
book

Hands-On Reactive Programming with Python

by Romain Picard
October 2018
Intermediate to advanced
420 pages
10h 26m
English
Packt Publishing
Content preview from Hands-On Reactive Programming with Python

Concurrency and Parallelism in RxPY

The previous chapters covered asynchronous programming principles, the difference between CPU operations and I/O operations, and how to create observables. Chapter 2Asynchronous Programming in Python, detailed the two patterns that allow us to handle concurrency, and which is most adapted to which use case. Unfortunately real life, and so coding, is rarely Boolean; sometimes an asynchronous application also has to deal with CPU-intensive operations, or even worse, blocking code. This chapter details how ReactiveX allows us to handle such situations, with tools that are easy to use and efficient, such as schedulers. The first part of this chapter is a reminder of the concurrency issues that can happen, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Programming with Design Patterns

Python Programming with Design Patterns

James W. Cooper

Publisher Resources

ISBN: 9781789138726Supplemental Content