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
42
0
Share
Collecting metrics for mobile SDK with AWS services
Artem Nikitin
February 16, 2016
More Decks by Artem Nikitin
See All by Artem Nikitin
Testing Kubernetes Operator
artemnikitin
0
86
Real use-cases of using AWS Lambda for infrastructure tasks
artemnikitin
0
610
Go implementation for Flatdata
artemnikitin
0
45
Building CI from scratch
artemnikitin
1
160
AWS hurries to the rescue
artemnikitin
0
440
Gerrit topics support with AWS Lambda
artemnikitin
1
98
Dogfooding for Android app
artemnikitin
0
99
Other Decks in Programming
See All in Programming
net-httpのHTTP/2対応について
naruse
0
430
TAKTでAI駆動開発の品質を設計する
j5ik2o
6
810
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
570
New "Type" system on PicoRuby
pocke
1
440
GitHub Copilot CLIのいいところ
htkym
2
1.3k
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
260
dRuby over BLE
makicamel
2
300
OSもどきOS
arkw
0
400
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
inferと仲良くなる10分間
ryokatsuse
1
360
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
120
今さら聞けないCancellationToken
htkym
0
220
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
18k
KATA
mclloyd
PRO
35
15k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
300
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
440
Music & Morning Musume
bryan
47
7.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
Fireside Chat
paigeccino
42
3.9k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
390
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
310
Discover your Explorer Soul
emna__ayadi
2
1.1k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
580
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
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