Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Building Android Infrastructure Teams at Scale
Search
Mohit S
May 05, 2022
Programming
460
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Building Android Infrastructure Teams at Scale
Mohit S
May 05, 2022
More Decks by Mohit S
See All by Mohit S
Guide to Improving Compose Performance
heyitsmohit
0
360
Building Shared UIs across Platforms with Compose
heyitsmohit
1
750
Building Multiplatform Apps with Compose
heyitsmohit
2
660
Building StateFlows with Jetpack Compose
heyitsmohit
6
2.1k
Building Android Testing Infrastructure
heyitsmohit
1
700
Migrating to Kotlin State & Shared Flows
heyitsmohit
1
930
Using Square Workflow for Android & iOS
heyitsmohit
1
570
Strategies for Migrating to Jetpack Compose
heyitsmohit
2
710
Challenges of Building Kotlin Multiplatform Libraries
heyitsmohit
1
550
Other Decks in Programming
See All in Programming
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
800
オーケストレーション記述言語 Katari
yukikurage
0
220
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
320
パスワード再設定メールのURLについて知っておこう
uyuki234
0
200
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.2k
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
670
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
0
120
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
5k
8年前のNode.jsを動かして分かった、npm installの裏側
keisukeikeda
0
120
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
210
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
3
2.3k
Groovy as a human and AI friendly programming language
paulk
0
160
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Writing Fast Ruby
sferik
630
63k
How to make the Groovebox
asonas
2
2.5k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
510
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
440
Being A Developer After 40
akosma
PRO
92
590k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Faster Mobile Websites
deanohume
310
32k
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
Un-Boring Meetings
codingconduct
0
480
Transcript
Mohit Sarveiya Building Android Infra Teams at Scale @heyitsmohit
Building Android Infra Teams at Scale • Purpose & Motivations
• How to build an infra team • Best practices
What is an Android Infra Team? • Focuses on Arch,
CI and Tooling • Customers are devs.
Motivations Team Size Complexity
Greenfield Phase • Small team size • Iterate quickly •
Minimal processes
Motivations Team Size Complexity
Scaling Up • Larger team • Developer Experience • Tooling
Scaling Problems • Gradle build setup & build times
Scaling Problems Teams Monorepo
Scaling Problems Monorepo Gradle
Gradle Setup • 100+ Gradle Modules • Gradle Plugins (KAPT)
• Library Dependencies
Scenario • Upgrade Gradle Plugin
Scenario • Upgrade Gradle Plugin • Causes Out of Memory
Exception
Scenario • Upgrade Gradle Plugin • Causes Out of Memory
Exception • Effects whole team (Slows down development)
Motivations for Infra • Need to maintain Gradle setup •
Detect build regression
Scaling Problems • Gradle build setup & build times •
Architecture Fragmentation
Scaling Problems Codebase
Scaling Problems Codebase Legacy code
Arch Fragmentation • Legacy Architecture • Example - MVC/MVP •
Older design patterns
Arch Fragmentation Codebase Legacy code Feature A
Arch Fragmentation Codebase Legacy code Feature A Feature B
Motivations for Infra • Uniform app arch • Specify how
to migrate legacy arch
Building Infra Team
Team Charter • Ownership areas
Ownership Areas • Architecture • Shared Libraries • Build tools
(Gradle, Buck, Basel) • CI
Ownership Areas Team Size Complexity 100+
Ownership Areas Infra Org
Ownership Areas Infra Org CI Arch Dev Ex Build Tools
Teams
Ownership Areas Team Size Complexity 30+
Ownership Areas Infra Org Single Team (CI, Arch, Build Tools)
Teams
Challenges • Diverse skill set
CI • How to build pipelines • Jenkins or CircleCI
• Setting up automation
Challenges • Diverse skill set • Prioritizing
Ownership Areas • Architecture • Shared Libraries • Build tools
(Gradle, Buck, Basel) • CI
Team Charter • Ownership areas • Key Performance Indicators (KPIs)
Key Performance Indicators (KPIs) • Service Level Objectives
Service Level Objectives • Build times • Infra for performance
metrics • Infra for network metrics
Service Level Objectives Codebase Feature A Feature B Feature C
Scenario 9:41 • Scroll performance • Network Latency
Service Level Objectives Platform Monitoring
Team Charter • Ownership areas • Key Performance Indicators (KPIs)
• Objectives and key results
Objectives & Key Results (OKRs) • Top down approach •
Bottom up approach
Objectives & Key Results (OKRs) • Determine important problems to
solve • Prioritize
Team Surveys • Challenges • Build times • Architecture •
Testing
Building Roadmap Team survey OKRs & Priotrize projects Execute
Examples OKRs • Improve local build times by 10% •
Reduce onboarding to 10th commit • Refactor navigation
Team Charter • Ownership areas • Key Performance Indicators (KPIs)
• Objectives and key results
Best Practices
Best practices • Feedback
Acquisitions Feature Teams Infra Team Continous Feedback
Acquisitions Improvement POC Details Serialization Performance Feature Team A Feature
Team B
Planning Review acquisitions Priortrize/Plan Setup Roadmap
Bi-Weekly Updates Feature Teams Infra Team Digests
Bi-Weekly Digests • Project Status • Improvements • Infra Asistance
Example • Improved Gradle build times by 10% • Created
tools to improve dev workflow • Assisted in project
Best practices • Feedback • Expectations
OKRs • Not every OKR can have a metric
OKRs • Not every OKR can have a metric •
Continuous team survey feedback
Best practices • Feedback • Expectations • Setup processes for
using new tech
Introducing New Libraries Request for Comments Proposal
Introducing New Libraries Request for Comments Proposal Reviewed by Infra
Introducing New Libraries Request for Comments Proposal Reviewed by Infra
Approval & Follow up
Best practices • Feedback • Expectations • Setup processes for
infra • Automate best practices
Automate Best Practices • Static Code Analysis • Custom lint
rules
Best practices • Feedback • Expectations • Setup processes •
Automate best practices • Open source libraries
Open source libraries Team B Team A Team C Distribute
ownership
Open source libraries Team B Team A Team C Distribute
ownership SDK
Open Source libraries (Infra ownership) • Gradle tools • Custom
Lint repo • Arch frameworks
Open Source libraries • Prioritize OSS issues in planning •
Setup milestones for releases
Best practices • Feedback • Expectations • Setup processes for
new tech • Automate best practices • Open source libraries
Building Android Infra Teams at Scale • Purpose & Motivations
• How to build an infra team • Best practices
Thank You! www.codingwithmohit.com @heyitsmohit