Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Desenvolvendo APIs REST com Python3 e AsyncIO
Search
Renato P
June 26, 2016
Programming
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Desenvolvendo APIs REST com Python3 e AsyncIO
Renato P
June 26, 2016
More Decks by Renato P
See All by Renato P
Python no Magazine Luiza
renatogp
5
580
Um sistema de recomendação de produtos baseado em grafos
renatogp
1
620
Other Decks in Programming
See All in Programming
How I Won Prize Money at a Hackathon Using Codex and Symphony Alpha
yasei_no_otoko
0
130
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.2k
リアルな遅延を測る仕様
kota_yata
1
130
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
360
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
3.4k
「人を評価する AI」の設計と実装
ryoyanara
0
250
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
5
1.8k
いまどきの Codex で開発する visionOS アプリの開発スタイルについて
karad
0
170
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
130
使いながら育てる Claude Code — 開発フローの1コマンド化 × 繰り返し指摘の自動仕組み化
shiki_kakaku
1
2k
初めての模倣学習とVLA
natsutan
0
300
片田舎のおっさん、 Swift Buildのダイアモンド問題解決の不具合修正PRを出すが、解決方法がキャッシュをしないようにすることであり、ビルド時間が伸びると言われてマージされないので高速化もする/swiftbuild
yimajo
0
300
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7.2k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
390
My Coaching Mixtape
mlcsv
0
290
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Mind Mapping
helmedeiros
PRO
1
330
Skip the Path - Find Your Career Trail
mkilby
1
200
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
420
The Language of Interfaces
destraynor
162
27k
The browser strikes back
jonoalderson
0
1.6k
Ethics towards AI in product and experience design
skipperchong
2
350
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
430
Transcript
Desenvolvendo APIs REST com Python 3 e AsyncIO Renato Pedigoni
@rpedigoni
None
None
None
Perguntas: @caipyra
Aplicações se comunicam
E ficam bastante tempo bloqueadas
Apps I/O bound
API Gateway -api
None
Apps Python async no Magalu • Catálogo • Checkout
• Feeds • Meios de pagamento • Planos de pagamento
Event loop (single thread) Non blocking I/O callback
callbacks?
coroutines
$ python Live coding
Muffin • Framework web sobre o aiohttp • Simples •
Plugins • Testing
Plugins • muffin-admin • muffin-babel (l10n) • muffin-debugtoolbar • muffin-jinja2
• muffin-mongo • muffin-peewee (ORM) • muffin-redis • muffin-sentry • muffin-session • muffin-rest
$ python Live coding
None
None
uvloop • Implementação do event loop utilizando a libuv
Gevent
• Fluent Python (caps 16, 17 e 18) • Jesse
Davis: How coroutines work (bit.ly/asyncio_video1) • Josh Barlett: What in the world is asyncio? (bit.ly/asyncio_video2) • David Beazley: Topics of Interest - Python AsyncIO (bit.ly/asyncio_video3)
Renato Pedigoni @rpedigoni luizalabs.com/vagas