[Pycon] [new paper] "Andrei Neagu" - Sharing is Caring! - how to free the CPU from message passing hell - shared memory saved the day
info a pycon.it
info a pycon.it
Dom 6 Gen 2019 00:13:03 CET
Title: Sharing is Caring! - how to free the CPU from message passing hell - shared memory saved the day
Duration: 45 (includes Q&A)
Q&A Session: 15
Language: en
Type: Talk
Abstract: When dealing with a real time application in which you are required to process a lot of data from multiple sources in parallel, system resources disappear quickly. Add some CPU intensive processing and you are set to fail.
This talk will illustrate a solution to solve a CPU bound problem with a data stream of tens of megabytes. I will talk about how easy it is to fail and how to obtain a working solution.
The following arguments will be discussed:
- threading and its limitations
- multiprocessing and its limitations
- serialization
- shared memory
- a solution: multiprocessing + shared memory
Code will be provided and shown during the talk.
Tags: [u'SharedMemory', u'#Python', u'threading', u'python3', u'multiprocessing']
Maggiori informazioni sulla lista
Pycon