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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Renato P
June 26, 2016
Programming
150
0
Share
Desenvolvendo APIs REST com Python3 e AsyncIO
Renato P
June 26, 2016
More Decks by Renato P
See All by Renato P
Python no Magazine Luiza
renatogp
5
580
Um sistema de recomendação de produtos baseado em grafos
renatogp
1
600
Other Decks in Programming
See All in Programming
Making the RBS Parser Faster
soutaro
0
680
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.9k
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
160
PHPer、Cloudflare に引っ越す
suguruooki
1
150
Agent Skills を社内で育てる仕組み作り
jackchuka
1
1.8k
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
1.8k
PHPでバイナリをパースして理解するASN.1
muno92
PRO
0
430
【26新卒研修】OpenAPI/Swagger REST API研修
dip_tech
PRO
0
150
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
200
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
260
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
130
Kingdom of the Machine
yui_knk
2
1.5k
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
110
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
260
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
340
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.1k
Navigating Team Friction
lara
192
16k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
Mind Mapping
helmedeiros
PRO
1
190
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