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
580
Other Decks in Programming
See All in Programming
Benchmark
sysong
0
180
Cursor AI Agentと伴走する アプリケーションの高速リプレイス
daisuketakeda
1
110
List Unfolding - 'unfold' as the Computational Dual of 'fold', and how 'unfold' relates to 'iterate'"
philipschwarz
PRO
0
190
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
200
Prism.parseで 300本以上あるエンドポイントに 接続できる権限の一覧表を作ってみた
hatsu38
1
110
「ElixirでIoT!!」のこれまでとこれから
takasehideki
0
360
ReadMoreTextView
fornewid
1
390
Javaに鉄道指向プログラミング (Railway Oriented Pro gramming) のエッセンスを取り入れる/Bringing the Essence of Railway-Oriented Programming to Java
cocet33000
2
550
UPDATEがシステムを複雑にする? イミュータブルデータモデルのすすめ
shimomura
1
540
Using AI Tools Around Software Development
inouehi
0
1.2k
コード書くの好きな人向けAIコーディング活用tips #orestudy
77web
3
300
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
260
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.9k
Docker and Python
trallard
44
3.4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
Adopting Sorbet at Scale
ufuk
77
9.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Writing Fast Ruby
sferik
628
61k
Designing for humans not robots
tammielis
253
25k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
6
690
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
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