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
560
Um sistema de recomendação de produtos baseado em grafos
rpedigoni
1
590
Other Decks in Programming
See All in Programming
SOCI Index Manifest v2が出たので調べてみた / Introduction to SOCI Index Manifest v2
tkikuc
1
110
UbieのAIパートナーを支えるコンテキストエンジニアリング実践
syucream
2
760
「リーダーは意思決定する人」って本当?~ 学びを現場で活かす、リーダー4ヶ月目の試行錯誤 ~
marina1017
0
250
AIでLINEスタンプを作ってみた
eycjur
1
210
TDD 実践ミニトーク
contour_gara
1
240
CSC305 Summer Lecture 12
javiergs
PRO
0
130
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
210
AIコーディングAgentとの向き合い方
eycjur
0
240
tool ディレクティブを導入してみた感想
sgash708
1
150
WebAssemblyインタプリタを書く ~Component Modelを添えて~
ruccho
1
930
Google I/O recap web編 大分Web祭り2025
kponda
0
2.9k
GUI操作LLMの最新動向: UI-TARSと関連論文紹介
kfujikawa
0
1k
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
How to train your dragon (web standard)
notwaldorf
96
6.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
The Pragmatic Product Professional
lauravandoore
36
6.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
900
For a Future-Friendly Web
brad_frost
179
9.9k
Git: the NoSQL Database
bkeepers
PRO
431
65k
GraphQLとの向き合い方2022年版
quramy
49
14k
Making Projects Easy
brettharned
117
6.3k
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