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
760
本当は怖くない 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
4.9k
「Laravel Novaの適切な使い方を考えてみる」 / laravel meetup tokyo vol 11
suthio
0
1.7k
バッチをGoにリプレイスして高速化した話 / GoGoGolangEdition!
suthio
2
28k
広告配信サーバーにおけるBlue Green Deploymentの導入事例について \ SpeeeCafeMeetup05
suthio
3
1.7k
初めての本当の意味でのチーム開発 / pmjp 2016-12-03
suthio
4
1.6k
AWSインフラ構築ツールとしてのTerraform / SpeeeKaigi
suthio
1
2.1k
広告配信サーバーの設計について / Speee Engineer Meeting 2016-06-22
suthio
5
2.5k
しくじり先生 アドネットワーク開発でしくじった話 / yapc8oji
suthio
2
1.9k
Other Decks in Technology
See All in Technology
TypeScript、上達の瞬間
sadnessojisan
46
13k
Amplify Gen2 Deep Dive / バックエンドの型をいかにしてフロントエンドへ伝えるか #TSKaigi #TSKaigiKansai #AWSAmplifyJP
tacck
PRO
0
370
Application Development WG Intro at AppDeveloperCon
salaboy
0
180
VideoMamba: State Space Model for Efficient Video Understanding
chou500
0
190
DMARC 対応の話 - MIXI CTO オフィスアワー #04
bbqallstars
1
160
The Role of Developer Relations in AI Product Success.
giftojabu1
0
120
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
0
110
複雑なState管理からの脱却
sansantech
PRO
1
140
サイバーセキュリティと認知バイアス:対策の隙を埋める心理学的アプローチ
shumei_ito
0
380
SSMRunbook作成の勘所_20241120
koichiotomo
2
130
Engineer Career Talk
lycorp_recruit_jp
0
120
Evangelismo técnico: ¿qué, cómo y por qué?
trishagee
0
360
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
It's Worth the Effort
3n
183
27k
Producing Creativity
orderedlist
PRO
341
39k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
GraphQLとの向き合い方2022年版
quramy
43
13k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
Building Applications with DynamoDB
mza
90
6.1k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
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