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
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
460
Package Management Learnings from Homebrew
mikemcquaid
0
220
SourceGeneratorのススメ
htkym
0
200
Fragmented Architectures
denyspoltorak
0
160
Basic Architectures
denyspoltorak
0
680
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
CSC307 Lecture 03
javiergs
PRO
1
490
ぼくの開発環境2026
yuzneri
0
230
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
Oxlint JS plugins
kazupon
1
960
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
220
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
54
8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
780
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
310
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
140
A designer walks into a library…
pauljervisheath
210
24k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
260
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Crafting Experiences
bethany
1
49
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
340
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