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
AlertForViber_20171207
Search
Shintaro Ikeda
December 07, 2017
Technology
0
160
AlertForViber_20171207
システムアラートをViberというイカしたチャットアプリへ通知するシステムを構築
Shintaro Ikeda
December 07, 2017
Tweet
Share
More Decks by Shintaro Ikeda
See All by Shintaro Ikeda
Difference between Swagger and OpenAPI
momotaro98
0
130
Haskell-Rinko-11
momotaro98
0
33
習慣的にやりたいことを手助けしてくれるLINEボットを作った話
momotaro98
0
51
アウトプット駆動スキルアップ
momotaro98
1
64
マイクロサービスの概要と構築 統合編
momotaro98
0
78
Other Decks in Technology
See All in Technology
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
210
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.6k
DMARC 対応の話 - MIXI CTO オフィスアワー #04
bbqallstars
1
160
Why does continuous profiling matter to developers? #appdevelopercon
salaboy
0
180
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
300
iOS/Androidで同じUI体験をネ イティブで作成する際に気をつ けたい落とし穴
fumiyasac0921
1
110
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
380
Shopifyアプリ開発における Shopifyの機能活用
sonatard
4
250
強いチームと開発生産性
onk
PRO
34
11k
Can We Measure Developer Productivity?
ewolff
1
150
これまでの計測・開発・デプロイ方法全部見せます! / Findy ISUCON 2024-11-14
tohutohu
3
370
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.4k
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
222
8.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
We Have a Design System, Now What?
morganepeng
50
7.2k
Unsuck your backbone
ammeep
668
57k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Docker and Python
trallard
40
3.1k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Agile that works and the tools we love
rasmusluckow
327
21k
A Tale of Four Properties
chriscoyier
156
23k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Transcript
γεςϜΞϥʔτΛ7JCFSͱ͍͏ΠΧͨ͠νϟοτΞϓϦ௨͢Δ %FDUI ಉظ-5ձ 4IJOUBSP*LFEB "MFSUGPS7JCFS
Έͳ͞Μ ΞϥʔτରԠͯ͠·͔͢ʁ
8FIBWFUPDBSSZUIFGVDLJOHDPNQBOZJTTVFEEFWJDF EFTQJUFUIFXFFLFOE
8IBU*EJE
None
None
%FNPOTUSBUJPO
8FDBOOPUJDFTZTUFNBMFSUTWJB7JCFS All new systems are on Microsoft Azure DNS zone
SendGrid Functions Utilize APIs of Viber
ᶗ*OUFHSBUFFNBJMBOEQPTUUIFDPOUFOU 1. Buy a domain on Azure 2. Configure
DNS records with Azure DNS zone 3. Receive email and WebHook with SendGrid
*XSPUFBOBSUJDMFBCPVUJUPO2JJUB "[VSFͰυϝΠϯΛߪೖͦ͠ͷαϒυϝΠϯѼͷϝʔϧ ༰Λଞॴͷ"1*1045͢Δ
ᶘ4FOEBMFSUTUP7JCFS On Azure Functions 1. Receive WebHook of alert
contents 2. Notify a Viber client by calling Viber APIs (using Viber Bot)
8IBUJT
l"[VSF'VODUJPOTzJTBTFSWFSMFTTQMBUGPSN FaaS (Function-as-a-Service) Solution for easily running small pieces of
code Features Concentration on business app coding Automatic scaling Low cost Connection with various services
"[VSF'VODUJPOWT"84-BNCEB ˞ 'FBUVSFT "[VSF'VODUJPOT "84-BNCEB %FQMPZNFOUT 7JTVBM4UVEJP5FBN4FSWJDFT 0OF%SJWF
-PDBM(JUSFQPTJUPSZ (JU)VC #JUCVDLFU %SPQCPY &YUFSOBMSFQPTJUPSZ 0OMZ;*1VQMPBE 7FSTJPOJOH $MPVE4PVSDFCSBODIUBH 7FSTJPOTBOEBMJBTFT &WFOUESJWFO 5BCMF #MPC &WFOU)VC (FOFSJD 8FC)PPL (JU)VC8FC)PPL 2VFVF )UUQ 4FSWJDF#VT2VFVF 4FSWJDF#VT5PQJD 5JNFSUSJHHFST 4 4/4 4&4 %ZOBNP%# ,JOFTJT $MPVE8BUDI $PHOJUP "1*(BUFXBZ $PEF$PNNJU FUD %FQFOEFODJFT /QN /V(FU %FQMPZNFOU1BDLBHFT 4VQQPSUFE MBOHVBHFT $ +BWB4DSJQU ' 1ZUIPO #BUDI 1)1 1PXFS4IFMM +BWB4DSJQU +BWB $ BOE1ZUIPO ˞݄࣌ࢀߟϦϯΫ
0VSBQQBSDIJUFDUVSFPG"[VSF'VODUJPOT
4PVSDF$PEF IUUQTHJUIVCDPNNPNPUBSP$4IBSQ"MFSU5P7JCFS
%FWFMPQNFOU'FBUVSFT No building in spite of complier language (C#, Java)
pros: Deployment is easy (Merge master branch of repository) cons: Hard to do CI (Unit test when pushing sources) No Web Frameworks pros: Low learning cost cons: Hard to manage the structure of codes
ॴײɾײ ServelessϚΠΫϩαʔϏεಛ༗ͷ͕͋͠͞Γͦ͏ γεςϜ͕େ͖͘ͳͬͨͱ͖ͷFunctionؒͷґଘؔͱ͔ Azureͷϙʔλϧը໘τϩͯ͘͠ΜͲ͍ AWSͷهࣄ͔ͬΓͰAzureͷ͕·ͩগͳ͍ AzureΛ͏͕ϒϩάॻ͍ͨΓ͢ΔจԽ͕ͳ͍Μͩͱࢥ͏
࠷ޙʹ I wrote another article about Functions and Table
Storage on Qiita. Like it! Azure FunctionsͰTable StorageΛCRUD͢Δ·Ͱखॱ