Upload
toshi-aizawa
View
238
Download
0
Embed Size (px)
Citation preview
Heroku Addons “Fastly”
TOEIC Ninja & CDN EngineerToshi Aizawa
@ToshiAizawa
Heroku Meetup #15“Heroku Ninja”Feb 22, 2017
© 2017 All rights Reserved
The Future of Content Delivery
Introduction: @ToshiAizawa
FastlySystems Engineer(Tokyo)
2
© 2017 All rights Reserved
The Future of Content Delivery
More introduction: @ToshiAizawa
TOEIC Ninja
3
TOEIC Ninja
The Web site of Heroku Postal Services typically loads very -------.
(A) fasten(B) faster(C) fastly(D) fast
The Web site of Heroku Postal Services typically loads very -------.
(A) fasten(B) faster(C) fastly(D) fast
1. Cloud Native2. Fastly Fast3. Real-Time
© 2017 All rights Reserved
The Future of Content Delivery
Fastly is a CDN
11
1. API Everything2. Transparent and Open3. Easier to use
© 2017 All rights Reserved
The Future of Content Delivery
Cloud-Native CDN
12
1. Modern, New Architecture2. Higher Cache Hit Rate3. Faster Site Acceleration
© 2017 All rights Reserved
The Future of Content Delivery
Fast CDN
13
1. Purges (~150 ms)2. Configuration changes (~5
sec)3. Real-time reporting and
logging (in seconds)
© 2017 All rights Reserved
The Future of Content Delivery
Real-Time CDN
14
1. Purges (~150 ms)2. Configuration changes (~5
sec)3. Real-time reporting and
logging (in seconds)
© 2017 All rights Reserved
The Future of Content Delivery
Real-Time CDN
15
$ heroku addons:create fastly:quick ¥
--app toshiaizawa-go
$ heroku config --app toshiaizawa-go
=== toshiaizawa-go Config Vars
FASTLY_API_KEY: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
FASTLY_CDN_URL: toshiaizawa-go-herokuapp-
com.global.ssl.fastly.net
FASTLY_SERVICE_ID: 6fatlBK8HRQsLPlRw9MaC4
See Dev Center article:https://devcenter.heroku.com/articles/fastly
© 2017 All rights Reserved
The Future of Content Delivery
Installing Fastly Heroku addon
18
© 2017 All rights Reserved
The Future of Content Delivery
Some more config (demo)
19
Publish this at http://deruoto.com1. Add a “domain” to config2. Make a DNS change
(CNAME or Anycast)
1. Try “Fastly” Plugin2. Talk to me for any questions3. Slides posted at:
(slideshare)
© 2017 All rights Reserved
The Future of Content Delivery
Lastly…
20