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
Claude CodeによるAI駆動開発の実践 〜そこから見えてきたこれからのプログラミング〜
iriikeita
0
320
Leading Effective Engineering Teams in the AI Era
addyosmani
7
580
Introduce Hono CLI
yusukebe
6
3.1k
Vueのバリデーション、結局どれを選べばいい? ― 自作バリデーションの限界と、脱却までの道のり ― / Which Vue Validation Library Should We Really Use? The Limits of Self-Made Validation and How I Finally Moved On
neginasu
2
490
Software Architecture
hschwentner
6
2.3k
Foundation Modelsを実装日本語学習アプリを作ってみた!
hypebeans
1
120
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
3
950
なぜGoのジェネリクスはこの形なのか? - Featherweight Goが明かす設計の核心
qualiarts
0
240
Six and a half ridiculous things to do with Quarkus
hollycummins
0
210
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
2
670
Pythonに漸進的に型をつける
nealle
1
120
Featured
See All Featured
Docker and Python
trallard
46
3.6k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
990
Code Reviewing Like a Champion
maltzj
526
40k
Code Review Best Practice
trishagee
72
19k
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Speed Design
sergeychernyshev
32
1.2k
For a Future-Friendly Web
brad_frost
180
10k
The World Runs on Bad Software
bkeepers
PRO
72
11k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Music & Morning Musume
bryan
46
6.9k
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