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 Pedigoni
June 26, 2016
Programming
0
130
Desenvolvendo APIs REST com Python3 e AsyncIO
Renato Pedigoni
June 26, 2016
Tweet
Share
More Decks by Renato Pedigoni
See All by Renato Pedigoni
Python no Magazine Luiza
rpedigoni
5
540
Um sistema de recomendação de produtos baseado em grafos
rpedigoni
1
570
Other Decks in Programming
See All in Programming
状態と共に暮らす:ステートフルへの挑戦
ypresto
3
1.1k
REALITY コマンド作成チュートリアル
nishiuriraku
0
120
Browser and UI #2 HTML/ARIA
ken7253
2
170
Носок на сок
bo0om
0
1.2k
Cursor/Devin全社導入の理想と現実
saitoryc
28
21k
The New Developer Workflow: How AI Transforms Ideas into Code
danielsogl
0
110
LRパーサーはいいぞ
ydah
5
880
エンジニア向けCursor勉強会 @ SmartHR
yukisnow1823
3
12k
七輪ライブラリー: Claude AI で作る Next.js アプリ
suneo3476
1
180
Contribute to Comunities | React Tokyo Meetup #4 LT
sasagar
0
600
eBPF超入門「o11yに使える」とは (20250424_eBPF_o11y)
thousanda
1
110
Serving TUIs over SSH with Go
caarlos0
0
600
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
14
1.4k
The Language of Interfaces
destraynor
158
25k
Practical Orchestrator
shlominoach
187
11k
Building a Modern Day E-commerce SEO Strategy
aleyda
40
7.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Speed Design
sergeychernyshev
29
930
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
120
52k
Done Done
chrislema
184
16k
A Tale of Four Properties
chriscoyier
159
23k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.7k
It's Worth the Effort
3n
184
28k
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