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
150
0
Share
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
570
Um sistema de recomendação de produtos baseado em grafos
renatogp
1
600
Other Decks in Programming
See All in Programming
Swift Concurrency Type System
inamiy
0
410
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
350
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
3
510
AI活用のコスパを最大化する方法
ochtum
0
380
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
360
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
560
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
990
まかせられるPM・まかせられないPM / DevTech GUILD Meetup
yusukemukoyama
0
110
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
610
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
320
How Swift's Type System Guides AI Agents
koher
0
190
Go_College_最終発表資料__外部公開用_.pdf
xe_pc23
0
140
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
290
Claude Code のすすめ
schroneko
67
220k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
370
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
310
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
HDC tutorial
michielstock
1
610
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
53k
A Modern Web Designer's Workflow
chriscoyier
698
190k
エンジニアに許された特別な時間の終わり
watany
106
240k
Amusing Abliteration
ianozsvald
1
150
Code Reviewing Like a Champion
maltzj
528
40k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
120
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