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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Renato P
June 26, 2016
Programming
0
140
Desenvolvendo APIs REST com Python3 e AsyncIO
Renato P
June 26, 2016
Tweet
Share
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
並行開発のためのコードレビュー
miyukiw
2
1.8k
文字コードの話
qnighy
6
1.8k
2026年 エンジニアリング自己学習法
yumechi
0
150
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
1.7k
生成AIを活用したソフトウェア開発ライフサイクル変革の現在値
hiroyukimori
PRO
0
130
AIコーディングの理想と現実 2026 | AI Coding: Expectations vs. Reality 2026
tomohisa
0
260
浮動小数の比較について
kishikawakatsumi
0
300
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
250
高速開発のためのコード整理術
sutetotanuki
1
430
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
190
PJのドキュメントを全部Git管理にしたら、一番喜んだのはAIだった
nanaism
0
190
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
120
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
SEO for Brand Visibility & Recognition
aleyda
0
4.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Designing for Performance
lara
611
70k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
170
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
72k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
62
How to train your dragon (web standard)
notwaldorf
97
6.5k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
150
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
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