Nicholas Tollervey - Lessons learned with asyncio ("Look ma, I wrote a distributed hash table!")

  Рет қаралды 4,312

PyCon 2015

PyCon 2015

Күн бұрын

Пікірлер: 3
@WellingtonCordeiro
@WellingtonCordeiro 9 жыл бұрын
3:14 is where the talk starts if anyone is wondering.
@BayesianHorse
@BayesianHorse 9 жыл бұрын
I have to disagree with the opinion that asyncio is not good for multi-core systems handling tons of requests. Asyncio does support both running multiple threads and multiple processes. It also supports communication between different processes in a concurrent manner (like if one process waits for results which are computed on another process). When dealing with web applications/servers you can probably get away with just starting multiple instances of the same program (and loadbalancing).
@ntollervey
@ntollervey 9 жыл бұрын
Andreas Klostermann OK... my answer was based upon the context of the presentation - it's an introductory talk and I wanted to focus on a simple model that wouldn't melt people's brains. As I said at the start, it's incomplete, simplified and non-exhaustive but you'll get to know enough to continue with confidence in your own self-learning about asyncio. As it happens, I *do* run up multiple instances of my DHT and you're quite correct to point out the various features you list about inter-process communication. Thanks! :-) However, in my defence, to get to a point where I could've explained how this works and why you'd want to do it would've turned the talk into a non-introductory level or caused me to have given a long, off the cuff (and therefore likely rambling and incoherent) answer. My snap decision (which I stand by) was to KISS. ;-)
Tom Eastman - Serialization formats are not toys - PyCon 2015
29:54
Ying Li - Where in your RAM is "python san_diego.py"? - PyCon 2015
32:35
Самое неинтересное видео
00:32
Miracle
Рет қаралды 1,2 МЛН
Elon's Big Bet On Tesla's Future | Optimus 2
18:07
Ryan Shaw
Рет қаралды 17 М.
Christine Spang - WebSockets from the Wire Up - PyCon 2015
31:27
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 89 М.
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 40 МЛН
Type Hints  - Guido van Rossum - PyCon 2015
49:26
PyCon 2015
Рет қаралды 47 М.