2. 自己紹介 : TAKEHARA Ryuji
l SONY Network Communications
CloudDevOps Div
l Sports & IoT team leader
l My best Serverless services
l Lambda & S3
l My best sports
l KENDO (3 dan desu.)
l Contact
l Ryuji.TAKEHARA@sony.com
l @kozyupapa
I love Sports,
I like IoT.
四街道(千葉県)に移住においでよ!
2
8. STL System構成
受付
スタッフ
スクール会員
様
Amazon
RDS(Aurora)
STL DB
Browser
play
sync Lesson & User
data
...
Shot upload
マイカルテページ
ログイン
off lesson
on lesson
SONY Smart Tennis Lesson System
court-Tablet
court
Server
BT:Shot Data
Video, data streaming
Get lesson, player
Post shot
生徒、レッスン、コーチ
バッチ同期
Tennis School Own System
受付-Tablet
Video,
HTML,JS
bucket
B2B
bucket
Amazon API
Gateway
App
lambda
Amazon
CloudFront
Tennis School DB
業務
Browser
AWS STS
コーチ
テニスコート
Cognito
Backend
lambda
「Full Serverless構成で、 SQL DB on VPCを
使用しているところが特徴です」
8
38. Serverlessにしなかった呪い1
EFS は 容量によってspeed 制限があるよ!
● しらずにlimitかかると 死にます
● npmインストールを定期実行すると、EFSの制限によってスループットが
10kb/sくらいに・・・。Jenkins激遅化の原因となった
All file systems, regardless of size, can burst to 100 MiB/s of throughput, and
those over 1 TiB large can burst to 100 MiB/s per TiB of data stored in the file
system. For example, a 10 TiB file system can burst to 1,000 MiB/s of
throughput (10 TiB x 100 MiB/s/TiB). The portion of time a file system can
burst is determined by its size, and the bursting model is designed so that
typical file system workloads will be able to burst virtually any time they need
to.
http://docs.aws.amazon.com/ja_jp/efs/latest/ug/performance.html 38