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
39
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
84
Real use-cases of using AWS Lambda for infrastructure tasks
artemnikitin
0
580
Go implementation for Flatdata
artemnikitin
0
40
Building CI from scratch
artemnikitin
1
160
AWS hurries to the rescue
artemnikitin
0
410
Gerrit topics support with AWS Lambda
artemnikitin
1
94
Dogfooding for Android app
artemnikitin
0
93
Other Decks in Programming
See All in Programming
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
120
HTTPじゃ遅すぎる! SwitchBotを自作ハブで動かして学ぶBLE通信
occhi
0
120
Blazing Fast UI Development with Compose Hot Reload (droidcon London 2025)
zsmb
0
440
Kotlin 2.2が切り拓く: コンテキストパラメータで書く関数型DSLと新しい依存管理のかたち
knih
0
210
Introducing RemoteCompose: break your UI out of the app sandbox.
camaelon
2
380
Ktorで簡単AIアプリケーション
tsukakei
0
120
開発組織の戦略的な役割と 設計スキル向上の効果
masuda220
PRO
10
2k
ノーコードからの脱出 -地獄のデスロード- / Escape from Base44
keisuke69
0
310
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
670
マイベストのシンプルなデータ基盤の話 - Googleスイートとのつき合い方 / mybest-simple-data-architecture-google-nized
snhryt
0
120
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
120
CSC509 Lecture 08
javiergs
PRO
0
270
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
246
12k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.8k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
How GitHub (no longer) Works
holman
315
140k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
How to Ace a Technical Interview
jacobian
280
24k
The Pragmatic Product Professional
lauravandoore
36
7k
Site-Speed That Sticks
csswizardry
13
940
Code Review Best Practice
trishagee
72
19k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Java REST API Framework Comparison - PWX 2021
mraible
34
8.9k
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