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
Building Android Infrastructure Teams at Scale
Search
Mohit S
May 05, 2022
Programming
3
310
Building Android Infrastructure Teams at Scale
Mohit S
May 05, 2022
Tweet
Share
More Decks by Mohit S
See All by Mohit S
Guide to Improving Compose Performance
heyitsmohit
0
210
Building Shared UIs across Platforms with Compose
heyitsmohit
1
610
Building Multiplatform Apps with Compose
heyitsmohit
2
480
Building StateFlows with Jetpack Compose
heyitsmohit
6
1.8k
Building Android Testing Infrastructure
heyitsmohit
1
450
Migrating to Kotlin State & Shared Flows
heyitsmohit
1
760
Using Square Workflow for Android & iOS
heyitsmohit
1
410
Strategies for Migrating to Jetpack Compose
heyitsmohit
2
540
Challenges of Building Kotlin Multiplatform Libraries
heyitsmohit
1
420
Other Decks in Programming
See All in Programming
Road to Ruby for A Linguistics Nerd
hayat01sh1da
PRO
0
350
個人開発の学生アプリが企業譲渡されるまで
akidon0000
2
1.2k
2025年のz-index設計を考える
tak_dcxi
13
4.9k
バイラテラルアップサンプリング
fadis
3
620
実践Webフロントパフォーマンスチューニング
cp20
45
10k
flutter_kaigi_mini_4.pdf
nobu74658
0
160
KANNA Android の技術的課題と取り組み
watabee
1
580
Cursor/Devin全社導入の理想と現実
saitoryc
29
22k
Storybookの情報をMCPサーバー化する
shota_tech
3
1.3k
データベースの技術選定を突き詰める ~複数事例から考える最適なデータベースの選び方~
nnaka2992
3
2.2k
監視 やばい
syossan27
12
10k
Cloudflare Workersで進めるリモートMCP活用
syumai
12
1.5k
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
329
21k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
710
RailsConf 2023
tenderlove
30
1.1k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.4k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Bash Introduction
62gerente
613
210k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
5
620
How to Think Like a Performance Engineer
csswizardry
23
1.6k
The Cost Of JavaScript in 2023
addyosmani
49
7.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
33k
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