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
阿澄佳奈と昇竜拳
Search
h3poteto
May 30, 2016
Programming
1
470
阿澄佳奈と昇竜拳
h3poteto
May 30, 2016
Tweet
Share
More Decks by h3poteto
See All by h3poteto
EKS on Fargateは最高のJob基盤 / jawsug_bgnr
h3poteto
1
900
Kubernetes上で単発のジョブを実行するkube-jobというツールを作った / kubernetesmeetuptokyo22
h3poteto
6
7.7k
Electronによるアプリケーション開発事情2018 / builderscon2018
h3poteto
9
9.4k
fluentdサーバをchefで構築するの辛かったけどDockerも別に救世主じゃなかった / tokyu ruby kaigi 12
h3poteto
0
4.2k
ECSのサービスをslack botでデプロイする // ecs-goploy
h3poteto
1
4.9k
まだRailsで消耗してるの?
h3poteto
7
4.7k
Other Decks in Programming
See All in Programming
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.4k
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
870
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
150
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
220
イベント駆動で成長して委員会
happymana
1
320
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
330
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
610
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
250
Click-free releases & the making of a CLI app
oheyadam
2
110
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Documentation Writing (for coders)
carmenintech
65
4.4k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Code Reviewing Like a Champion
maltzj
520
39k
Into the Great Unknown - MozCon
thekraken
32
1.5k
Transcript
ѨՂಸͱঢཽݓ @h3_poteto
About me • Akira Fukushima • github: h3poteto • twitter:
@h3_poteto • like: ѨՂಸ
ѨՂಸ༏Ͱ͢
ѨՂಸͷΛຖฉ͖͍ͨ
botʹ͠Α͏ • youtubeͱχίχί ಈըΛεΫϨΠϐϯ ά • ѨՂಸͷಈըΛ DBʹஷΊͯͭͿ͘
None
ױऀ
Ѩපױऀ͕ԿΛݟ͍ͯΔͷ ͔Γ͍ͨ
WebαʔϏεʹ͠Α͏
ѨͷՄࢹԽ
Ѩ [%]= ʮѨʯΛؚΉπΠʔτ / શπΠʔτ ʢ1ຖʹࢉग़ʣ
Ͳ͏ͬͯࢉग़͠Α͏ʁ
UserstreamͰશͯه͢Δ • UserstreamͰπΠʔτΛࢹ • ͦͷࡍʹඇಉظॲཧͰѨϫʔυநग़ɼ DBอଘ • ࣍όονͰूܭ
UserstreamͰશͯه͢Δ • UserstreamͰπΠʔτΛࢹ • ͦͷࡍʹඇಉظॲཧͰѨϫʔυநग़ɼ DBอଘ • ࣍όονͰूܭ
sidekiqͰඇಉظॲཧ
Redis͕ߴ͍
πΠʔτ͕૿͖͑ͯͨΒ ϝϞϦΒͳ͍
shoryuken
shoryuken • sidekiqʹࣅ͍ͯΔʢϚϧνεϨουʣ • ΩϡʔʹAWS SQSΛ͏
SQS ͍҆ʂ
sidekiqͱൺͯ • sidekiqͱ͋Μ·ΓมΘΒͳ͍ • ϦτϥΠͷઃఆ͚ͩSQSʹґଘ͢ΔͷͰෳࡶ • sidekiq΄Ͳͷख़ײ͕ͳ͍ʢΑ͘PullRequestૹΓͨ ͘ͳΔʣ • SQSͷϝοηʔδʹλΠϜΞτ͕͋ΔͷͰ࣌ؒͷ͔
͔ΔॲཧΛ͢Δͱ͖ҙ
خ͍͠ͱ͜Ζ • SQS͕͍҆ • δϣϒ͕૿͑ͯϝϞϦͷ͜ͱؾʹ͠ͳ͘ ͍͍ͯ
Tips • ϦτϥΠִؒͷઃఆSQSͷVisibility TimeoutͰཧ͢Δ • ϦτϥΠճͷઃఆSQSͷ DeadLetterQueueΛ͏ • ϩʔΧϧ։ൃͰfake_sqsͱ͍͏gem͕ศར
Redisʹ͖ͨΒ ͬͯΈ͍ͯͩ͘͞
͓·͚ • exception notificationͰshoryukenϫʔΧʔ ͷྫ֎Λݕग़͢Δgem