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
SendGrid Night #04
Search
Koichiro Ohba
May 19, 2016
1
1.4k
SendGrid Night #04
SendGrid導入のお話し
Koichiro Ohba
May 19, 2016
Tweet
Share
More Decks by Koichiro Ohba
See All by Koichiro Ohba
Speee LT for Kaigi on Rails 2021
koichiro
0
470
RailsDM2019: On the lonely rail of Engineering Management
koichiro
1
2.3k
dots.女子会:エンジニア夫婦Meetup
koichiro
0
600
Focuslight, Jobs and OSS
koichiro
1
76
Between front-end and server-side in service development
koichiro
0
800
2014-01-25 Engineer x Engineer Meeting - en-japan
koichiro
5
4k
Everyleaf Chronicle
koichiro
6
2k
TechHills#05 real legacy
koichiro
0
2.1k
Salaryman
koichiro
5
2k
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.3k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
103
48k
Rails Girls Zürich Keynote
gr2m
93
13k
The Cost Of JavaScript in 2023
addyosmani
42
5.7k
YesSQL, Process and Tooling at Scale
rocio
167
14k
GitHub's CSS Performance
jonrohan
1030
450k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.6k
Embracing the Ebb and Flow
colly
83
4.4k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
Code Review Best Practice
trishagee
62
16k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
225
22k
Transcript
SendGridۤ࿑ SendGrid Night #04; 2016-05-19
גࣜձࣾΫϥυϫʔΫε CTO
ಋೖͨ͠ͱ͖ʹେมͩͬͨ͜ͱ
CrowdWorks.jp user: 900000 mail: 4m/mon
None
SendGridΛಋೖ͢ΔͨΊʹ ॏཁͳ͜ͱ
IPΞυϨεͷ৴པੑ ࣮ͷແ͍IPΞυϨε͔Βͷϝʔ ϧૹ৴εύϜϝʔϧఆ͞Ε ͘͢Ϣʔβʔʹಧ͔ͳ͍͜ͱ͕͋ ΔʢಛʹΩϟϦΞϝʔϧʣ
IP Warm up
ΥʔϜΞοϓ ̍࣌ؒ͋ͨΓͷૹ৴ᮢ
None
None
None
None
ಥવͷΞΧϯτౚ݁
தҪ͞Μͷखް͍αϙʔτ
Spam mail trap
ରࡦ
Mail Confirm Campaign
ਓ͕ड͚औ͍ͬͯΔϝʔϧΞ υϨε͚ͩΛEvent HookΛ ར༻ͯ͠நग़͠ɺΫϦʔϯͳ ϝʔϧΞυϨεΛཧ͢Δ
DynamoDBʹอଘͨ͠ΫϦʔϯͳϝʔ ϧΞυϨεͱ͖͋Θͤͯ৴͢Δ
͍ͨͤͭͳ͜ͱ
͍͘Β४උࣦͯ͠ഊ͢Δ͜ ͱ͕͋Δ
ΫϦʔϯͳϝʔϧΞυϨεͷҡ࣋
͚Δ (ϦεΫΛ࠷খԽ͢Δ)
IPΛ༻్ʹΑ͚ͬͯΔ
υϝΠϯΛ༻్ʹΑ͚ͬͯΔ
αϒϢʔβʔΛ༻్ʹΑ͚ͬͯΔ
͚͓͍ͯͨ͜ͱͰٹΘΕͨ͜ͱ • ౚ݁͞Ε͍ͯͳ͍αϒΞΧϯτӡ༻ΛܧଓͰ͖ͨ • ϒϥοΫϦετʹొ͞Εͨͱ͖ͷӨڹൣғ͕ݶఆత
͍·औΓΜͰ͍Δ͜ͱ
Meldium (https:// www.meldium.com/)ͱΈ ߹ΘͤͯϢʔβʔαϙʔτͱ αϒΞΧϯτΛڞ༗ɻ ͍߹ΘͤͷରԠΛޮԽɻ
SendGridͷEvent HookΛ API GatewayͰड͚औΔ
None
DatadogͰදࣔ
SendGridͷཁ
Subuserૹ৴ྔΛΈ͍ͨ
APIΛͬͱ͍͘͢
Event hookʹෳͷ endpointΛొ͍ͨ͠
Parse hookʹෳͷendpointରԠ΄͍͠ • ड͚ΔϝʔϧΞυϨεʹΑͬͯPOSTઌͷURLΛ ม͍͑ͨ • ਖ਼نදݱͰendpointΛৼΓ͚Δ(MandrillͰ ͖·͢) • DateͷΛͱΓ͍ͨ(headersཁૉ͔Β୳ͯ͠
͜ͳ͍ͱ͍͚ͳ͍)