9. Asynchronous
Asynchronous is good when:
-There is a lot of tasks to perform.
-The tasks perform lots of I/O.
-Independent tasks.
….PERFECT FOR NETWORK!!!
@alepoletto
12. Reactor Impl?
team = ["superman", "batman", "aquaman"]
while team : #event loop
t = selectAvailableHero(team) # this method gives a hero when one is available
# BLOCK here while wait for a hero
doHeroStuff(t)
@alepoletto
13. Let me show you a kick ass
Reactor Implementation
@alepoletto