Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Lambda Image Resizing
Search
stevenjackson
April 21, 2016
Programming
97
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Lambda Image Resizing
Lunch and Learn - April 2016
stevenjackson
April 21, 2016
Transcript
58 slides
WE DON’T NEED NO STINKING SERVERS IMAGE RESIZING WITH AWS
LAMBDA
The Problem: For the last 6 years, users have been
able to upload any image they like for use in a VizZle lesson 10144 × 8054 pixels 32.6 MB 980 DPI minutes to download
And the app would never show it at that resolution!
Max Page Size: 1920 x 1080 414x329 915x686 944x708
Or the old app Flash “Card” Size: 520 x 390
The Solution: Batch convert all the images! Max Image Size
960x540 680x540 $ convert 1416855261.78270 -size x540
“How many images are there anyway?” –Hey Blinken
None
None
None
“Are you going to download every one from the internet?”
–Al Gore
None
None
“What are we going to do with new uploads?” –Johnny
Five
None
None
“Who is going to maintain that EC2 instance?” –Jeff Bezos
None
None
None
None
None
None
None
None
Or any binary compiled on Amazon Linux!
None
None
None
None
None
None
None
Read/Write S3 Role Type: AWS Lambda Attach Policy: AWSLambdaExecute
None
None
Lambda Interface
None
None
Deployment
Configuration
Testing
Testing
Testing
Image Resizing Gotchas Maintain Aspect Ratios Lossy vs Lossless Lossy
vs Headless Lambda Inception ACLs
Image Resizing Gotchas Maintain Aspect Ratios Lossy vs Lossless Lossy
vs Headless Lambda Inception ACLs
Lambda Gotchas Function runtime is limited to 5 minutes Maximum
of 1.5GB memory Debugging involves waiting for CloudWatch logs to show up
“What else can we do with it?” –Jeff Bezos
None
None
None
None
None
None
None
None
None
None
None
More Decks by stevenjackson
See All by stevenjackson
Death By Specification
stevenjackson
1
58
Devour The Cloud With Locust Swarms - Hands On Load Testing
stevenjackson
0
96
Looking for Failure
stevenjackson
0
180
Better Software Through Shared Understanding
stevenjackson
0
200
Going to Eleven
stevenjackson
0
120
A Locust Storm Is A Good Thing!
stevenjackson
0
170
Faliing Your Way To Success
stevenjackson
0
110
Death By Specification(cukeup)
stevenjackson
0
180
Failure Lightning Talk
stevenjackson
0
110
Other Decks in Programming
See All in Programming
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
180
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2.1k
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
170
protojson における文字化けの扱い
kazuki1023
0
430
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
350
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
320
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
4
4.6k
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
330
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
350
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
190
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
2
470
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
140
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
225
10k
Docker and Python
trallard
47
4.3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
3.9k
Everyday Curiosity
cassininazir
0
400
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
400
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
490
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
600
Skip the Path - Find Your Career Trail
mkilby
1
290
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
750
Building an army of robots
kneath
307
47k