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
47
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
89
Real use-cases of using AWS Lambda for infrastructure tasks
artemnikitin
0
630
Go implementation for Flatdata
artemnikitin
0
49
Building CI from scratch
artemnikitin
1
160
AWS hurries to the rescue
artemnikitin
0
450
Gerrit topics support with AWS Lambda
artemnikitin
1
98
Dogfooding for Android app
artemnikitin
0
110
Other Decks in Programming
See All in Programming
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.5k
Seeing Through Serverless: Observability for AWS Lambda with ADOT and CloudWatch Application Signals
seike460
PRO
1
110
T3DD26: From RAGs to Riches
martinhelmich
0
140
AIに既存システムを理解させる技術 ~レガシーを見捨てないハーネスエンジニアリング入門~
ochtum
0
200
What We Talk About When We Talk About XP
m_seki
2
320
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
3
1.5k
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
160
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
0
380
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
130
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
53
34k
FastAPI の並行処理モデルを完全に理解する
hoto17296
9
3.7k
新卒PdEのリアル
ryu1013
0
200
Featured
See All Featured
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
640
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
440
Docker and Python
trallard
47
4.2k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
270
Measuring & Analyzing Core Web Vitals
bluesmoon
9
990
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
How STYLIGHT went responsive
nonsquared
100
6.3k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
320
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.7k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.1k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
510
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