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
本当は怖くない AWS Lambda / speee_cafe_meetup06
Search
yuma iwasaki
April 25, 2017
Technology
2
790
本当は怖くない AWS Lambda / speee_cafe_meetup06
Speee Cafe Meetup #06 で話しました
https://speee.connpass.com/event/54266/
yuma iwasaki
April 25, 2017
Tweet
Share
More Decks by yuma iwasaki
See All by yuma iwasaki
僕のキャリアとワインと鍋 / daikichijojipm
suthio
8
5.6k
「Laravel Novaの適切な使い方を考えてみる」 / laravel meetup tokyo vol 11
suthio
0
1.8k
バッチをGoにリプレイスして高速化した話 / GoGoGolangEdition!
suthio
2
28k
広告配信サーバーにおけるBlue Green Deploymentの導入事例について \ SpeeeCafeMeetup05
suthio
3
1.7k
初めての本当の意味でのチーム開発 / pmjp 2016-12-03
suthio
4
1.7k
AWSインフラ構築ツールとしてのTerraform / SpeeeKaigi
suthio
1
2.2k
広告配信サーバーの設計について / Speee Engineer Meeting 2016-06-22
suthio
5
2.6k
しくじり先生 アドネットワーク開発でしくじった話 / yapc8oji
suthio
2
2k
Other Decks in Technology
See All in Technology
AIエージェントキャッチアップと論文リサーチ
os1ma
6
1.2k
LINE Notify互換のボットを作った話
kenichirokimura
0
180
「ラベルにとらわれない」エンジニアでいること/Be an engineer beyond labels
kaonavi
0
120
DevinはクラウドエンジニアAIになれるのか!? 実践的なガードレール設計/devin-can-become-a-cloud-engineer-ai-practical-guardrail-design
tomoki10
3
1.3k
スケールアップ企業のQA組織のバリューを最大限に引き出すための取り組み
tarappo
4
930
AI・LLM事業部のSREとタスクの自動運転
shinyorke
PRO
0
300
OPENLOGI Company Profile for engineer
hr01
1
22k
Compose MultiplatformにおけるiOSネイティブ実装のベストプラクティス
enomotok
1
210
パスキーでのログインを 実装してみよう!
hibiki_cube
0
660
問題解決に役立つ数理工学
recruitengineers
PRO
7
2.1k
移行できそうでやりきれなかった 10年超えのシステムを葬るための戦略
ryu955
2
390
Restarting_SRE_Road_to_SRENext_.pdf
_awache
0
160
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
RailsConf 2023
tenderlove
29
1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
Facilitating Awesome Meetings
lara
53
6.3k
What's in a price? How to price your products and services
michaelherold
245
12k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
12
1.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
21k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
7
620
Building Adaptive Systems
keathley
41
2.5k
Transcript
AWS Lambda DC UZOU (@suthio_) Speee Cafe Meetup #6 /
2017-04-25 Speee Cafe Meetup #6 ~ AWS Lambda
@suthio_ UZOU 2
AWS Lambda Speee Cafe Meetup #6 ~ AWS Lambda 3
※ AWS Lambda Speee Cafe Meetup #6 ~ AWS Lambda
4
AWS Lambda Speee Cafe Meetup #6 ~ AWS Lambda 5
UZOU AWS Lambda Lambda UZOU Speee Cafe Meetup #6 ~
AWS Lambda 6
UZOU AWS AWS Lambda Speee Cafe Meetup #6 ~ AWS
Lambda 7
AWS Lambda Speee Cafe Meetup #6 ~ AWS Lambda 8
AWS Lambda AWS Function AWS Kinesis DynamoDB S3 etc... Speee
Cafe Meetup #6 ~ AWS Lambda 9
AWS Lambda NodeJS Java8 Python .NET Core UZOU NodeJS Speee
Cafe Meetup #6 ~ AWS Lambda 10
UZOU Speee Cafe Meetup #6 ~ AWS Lambda 11
12
Lambda 13
Stream Kinesis Lambda Kinesis Streams callback error 14
CloudWatch Logs 15
AWS Lambda 16
AWS Lambda Lambda 1 2 2 Lambda Lambda 17
Context eventID eventID "eventID": "shardId- 000000000000:49545115243490985018280067714973144582180062593244200961" eventID Retry Kinesis Batch
ID 18
Lambda Lambda Kinesis Streams Lambda 19
20
NodeJS Amazon Linux AmazonLinux Docker or AmazonLinux EC2 UZOU Mac
21
callbackWaitsForEmptyEventLoop Callback Lambda True false SetTimeout exports.handler = (event, context,
callback) => { context.callbackWaitsForEmptyEventLoop = false setTimeout((a) => { console.info(a); }, 3000, 'SetTimeout Lambda'); callback(null, 'Hello Lambda'); }; 22
callbackWaitsForEmptyEventLoop aerospike-client True Callback UZOU 23
24
25
Kinesis WriteProvisionedThroughputExceeded ReadProvisionedThroughputExceeded GetRecords.IteratorAgeMilliseconds 26
WriteProvisionedThroughputExceeded 27
ReadProvisionedThroughputExceeded GetRecords 28
IteratorAgeMilliseconds GetRecords ( ) GetRecords 0 ( ) Kinesis Batch
29
Lambda IteratorAge Errors Count 30
IteratorAge Lambda Lambda 31
Errors Count Lambda CloudWatch Logs Timeout 32
Datadog Datadog 33
Lambda Lambda Lambda 34