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
Collecting metrics for mobile SDK with AWS serv...
Search
Artem Nikitin
February 16, 2016
Programming
0
37
Collecting metrics for mobile SDK with AWS services
Artem Nikitin
February 16, 2016
Tweet
Share
More Decks by Artem Nikitin
See All by Artem Nikitin
Testing Kubernetes Operator
artemnikitin
0
81
Real use-cases of using AWS Lambda for infrastructure tasks
artemnikitin
0
570
Go implementation for Flatdata
artemnikitin
0
38
Building CI from scratch
artemnikitin
1
160
AWS hurries to the rescue
artemnikitin
0
400
Gerrit topics support with AWS Lambda
artemnikitin
1
92
Dogfooding for Android app
artemnikitin
0
91
Other Decks in Programming
See All in Programming
つよそうにふるまい、つよい成果を出すのなら、つよいのかもしれない
irof
1
280
ReadMoreTextView
fornewid
1
390
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
810
データベースコネクションプール(DBCP)の変遷と理解
fujikawa8
1
250
2度もゼロから書き直して、やっとブラウザでぬるぬる動くAIに辿り着いた話
tomoino
0
160
TypeScript LSP の今までとこれから
quramy
1
500
セキュリティマネジャー廃止とクラウドネイティブ型サンドボックス活用
kazumura
1
170
複数アプリケーションを育てていくための共通化戦略
irof
10
3.8k
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
360
Perlで痩せる
yuukis
1
680
人には人それぞれのサービス層がある
shimabox
3
670
Javaのルールをねじ曲げろ!禁断の操作とその代償から学ぶメタプログラミング入門 / A Guide to Metaprogramming: Lessons from Forbidden Techniques and Their Price
nrslib
3
1.9k
Featured
See All Featured
Adopting Sorbet at Scale
ufuk
77
9.4k
Become a Pro
speakerdeck
PRO
28
5.4k
Music & Morning Musume
bryan
46
6.6k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Why Our Code Smells
bkeepers
PRO
337
57k
How to Ace a Technical Interview
jacobian
276
23k
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Rails Girls Zürich Keynote
gr2m
94
14k
GitHub's CSS Performance
jonrohan
1031
460k
Transcript
Collecting metrics for mobile SDK with AWS services Artem Nikitin
AWS Meetup 16.02.2016
About HERE and our mobile SDK • https://developer.here.com/ © 2015
HERE | 2
How it works © 2015 HERE | 3
Build and run in Device Farm • Build apps in
CI • Run them in AWS Device Farm with a small tool, written in Go artemnikitin/devicefarm-ci-tool • Why do we need a custom tool? © 2015 HERE | 4
AWS CLI aws devicefarm schedule-run --project-arnarn:aws:devicefarm:us-west-2:705582597265:project:2c21a412-bb7b-4657-a28c- d7d78b3888f7 --app-arn arn:aws:devicefarm:us-west-2:705582597265:upload:2c21a412-bb7b-4657-a28c- d7d78b3888f7/d1f8bebc-a7f5-49a3-881f-f1ffdae90303
--device-pool-arnarn:aws:devicefarm:us-west-2:705582597265:devicepool:2c21a412-bb7b-4657-a28c- d7d78b3888f7/e4a54fbd-d094-4130-b6d9-60811820e4d8 --test ’{"type": "CALABASH","testPackageArn":"arn:aws:devicefarm:us-west- 2:705582597265:upload:2c21a412-bb7b-4657-a28c-d7d78b3888f7/ccfa27c9-3f66-49ac-abe0- 542214cd650c"}’ Example from https://mobile.awsblog.com/post/TxROO0QM0WSCJX/Get-started-with-the-AWS-Device- Farm-CLI-and-Calabash-Part-1-Creating-a-Device-F © 2015 HERE | 5
artemnikitin/devicefarm-ci-tool devicefarm-ci-tool -project=name -app=/path/to/app.apk -devices=my-device-pool -config=/path/to/config.json { "test":{ "type":"INSTRUMENTATION", "testPackagePath":"/path/to/tests.apk"
} } © 2015 HERE | 6
API Gateway and Lambda • API Gateway – reverse proxy
in the cloud with some nice bonuses • Lambda – code execution on event in AWS • Our Lambdas are written in Java • Combination of Lambda functions written in Java with infrequently used service can have a problem • There are 2 ways to deal with it: – Rewrite in different language – Give your code more resources © 2015 HERE | 7
What would be nice to have • Ability to write
Lambda in Go would be very nice. Please, AWS, please, please, please :) • Сlear information about CPU and I/O resources. • Maybe an ability to scale resources for Lambda functions not only by memory. © 2015 HERE | 8
The End