Тёмный

Pamela McANulty - Things I Wish They Told Me About The Multiprocessing Module in Python 3 

PyCon 2019
Подписаться 14 тыс.
Просмотров 10 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@oldmankatan7383
@oldmankatan7383 4 года назад
Thank you for including examples and patterns in your talk! So many of these talks discuss the theory, but don't offer a simple practical example to help relate the principle to the practice.
@TimRichardsonGooglePlus
@TimRichardsonGooglePlus 5 лет назад
Tips begin at 9:48
@equinox4467
@equinox4467 5 лет назад
Thank you for this Pamela! This is a lot clearer than most examples and talks I've seen on the subject.
@pamelamcanulty5236
@pamelamcanulty5236 5 лет назад
You're welcome!
@michaelhackman3195
@michaelhackman3195 3 года назад
Very valuable knowledge! Thanks Pamela!
@MattLayman
@MattLayman 5 лет назад
There's a lot of great information in here. Nicely done! With some of the tips provided, it seemed to me like Pamela described the Actor model using multiprocessing. Wikipedia has a very dry presentation of that design style at en.wikipedia.org/wiki/Actor_model, but, the short version is that using messages and queues/mailboxes is a way to share state between processes in a way that will parallelize well.
@nokkonokko
@nokkonokko 5 лет назад
Thanks, Pamela!
@SarfarazAhmad89
@SarfarazAhmad89 4 года назад
Conferences are a million times better than "nuggets". Instead of cut-down tailored unrelate-able tech notes you get to witness first hand the other person's personal experience.
@bennguyen1313
@bennguyen1313 3 года назад
Using threads vs multiprocessing... or queues vs pipes... or when to use .join have always been a source of confusion for me! I understand that multiprocessing's Queue will .get() one element at a time... But suppose you're writing several bytes worth of data in a queue (in the form of a tuple)... what happens if try to read from the queue, while the write hasn't finished the tuple? Does it block until the tuple is finished, does it return empty, or does it return the partial bytes in the tuple?
@minyakonga8897
@minyakonga8897 3 года назад
Dont share, pass messages, Just like Golang
@fringefringe7282
@fringefringe7282 3 года назад
This Pamela had a voice mutation?
@doc0core
@doc0core Год назад
She was declared and malloc'ed as one type and type casted into another much much later.
@fringefringe7282
@fringefringe7282 Год назад
@@doc0core 🤣
Далее
Fake Referee Whistle Moments 😅
00:38
Просмотров 9 млн
СДЕЛАЛИ СОБСТВЕННЫЙ МУЛЬТИК
25:15
BIT| Semester 01 | Programming | Operators
1:03:12
Многопоточность и GIL
1:21:47
Просмотров 35 тыс.
Understanding Python: Multiprocessing
21:50
Просмотров 4,7 тыс.