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
98
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
430
Um sistema de recomendação de produtos baseado em grafos
rpedigoni
1
540
Other Decks in Programming
See All in Programming
AmperとFleetを使ったAndroidアプリ
yoppie
0
240
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
490
Go製Webアプリケーションのエラーとの向き合い方大全、あるいはやっぱりスタックトレース欲しいやん / Kyoto.go #50
utgwkk
6
1.7k
雑に思考を整理する技術と効能
konifar
61
30k
ゆるい個人開発のススメ
kuroppe1819
10
1k
PHPはいつから死んでいるかの調査
chiroruxx
2
410
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
3
310
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
420
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
5
1.1k
Ruby Function Composition
bkuhlmann
1
340
Git Rebase
bkuhlmann
11
1.6k
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
200
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
21
6.4k
Product Roadmaps are Hard
iamctodd
45
9.7k
What's in a price? How to price your products and services
michaelherold
238
11k
Principles of Awesome APIs and How to Build Them.
keavy
121
16k
The Invisible Customer
myddelton
114
12k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
18
1.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
17
2.7k
We Have a Design System, Now What?
morganepeng
44
6.8k
Optimising Largest Contentful Paint
csswizardry
12
2.4k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
Robots, Beer and Maslow
schacon
PRO
155
7.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