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
45
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
87
Real use-cases of using AWS Lambda for infrastructure tasks
artemnikitin
0
620
Go implementation for Flatdata
artemnikitin
0
47
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
100
Other Decks in Programming
See All in Programming
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
2.3k
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
150
1B+ /day規模のログを管理する技術
broadleaf
0
110
dRuby over BLE
makicamel
2
390
Webフレームワークの ベンチマークについて
yusukebe
0
180
エンジニア向け会社紹介/Findy Company Profile
findyinc
6
350k
ランチタイムLT会3周年!ランチタイムLT会を3年間続けられたお話
y0hgi
1
100
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
300
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
210
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.4k
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
8
3.8k
はてなアカウント基盤 State of the Union
cockscomb
1
720
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
370
Designing for Timeless Needs
cassininazir
1
260
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
450
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Why Our Code Smells
bkeepers
PRO
340
58k
Prompt Engineering for Job Search
mfonobong
0
350
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
150
A Soul's Torment
seathinner
6
3k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
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