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
590
Go implementation for Flatdata
artemnikitin
0
40
Building CI from scratch
artemnikitin
1
160
AWS hurries to the rescue
artemnikitin
0
420
Gerrit topics support with AWS Lambda
artemnikitin
1
95
Dogfooding for Android app
artemnikitin
0
95
Other Decks in Programming
See All in Programming
Denoのセキュリティに関する仕組みの紹介 (toranoana.deno #23)
uki00a
0
220
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
210
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
1.1k
Grafana:建立系統全知視角的捷徑
blueswen
0
280
CSC307 Lecture 01
javiergs
PRO
0
670
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
180
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
6
2.3k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
330
ゆくKotlin くるRust
exoego
1
200
perlをWebAssembly上で動かすと何が嬉しいの??? / Where does Perl-on-Wasm actually make sense?
mackee
0
310
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
140
これならできる!個人開発のすゝめ
tinykitten
PRO
0
150
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
160
Are puppies a ranking factor?
jonoalderson
0
2.6k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
We Have a Design System, Now What?
morganepeng
54
8k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
63
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
How to Talk to Developers About Accessibility
jct
1
96
From π to Pie charts
rasagy
0
100
Odyssey Design
rkendrick25
PRO
0
460
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
690
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
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