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
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
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
150
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
180
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
430
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
200
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1.1k
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
220
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
2.7k
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
330
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
140
Java 21/25 Virtual Threads 소개
debop
0
260
RailsのValidatesをSwift Macrosで再現してみた
hokuron
0
120
Feature Toggle は捨てやすく使おう
gennei
0
320
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
130
How to Ace a Technical Interview
jacobian
281
24k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
180
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
300
Being A Developer After 40
akosma
91
590k
Skip the Path - Find Your Career Trail
mkilby
1
88
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
280
Git: the NoSQL Database
bkeepers
PRO
432
67k
Writing Fast Ruby
sferik
630
63k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
430
New Earth Scene 8
popppiees
1
1.8k
We Are The Robots
honzajavorek
0
200
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