SDKs and libraries case studies
These cases are about code that other developers add to their own apps. The user of your design is a developer, not a person with a phone. You design a small public API, plan for versions, privacy and rollout, and keep the library safe when the host app does something wrong. Interviewers push hard on what is public and what stays private. The pagination library is a good first case.
Main case studies in this topic
- Design a pagination libraryThe library API, generic types, and which requests go first.
- Topic
- SDKs and libraries Also: Feeds and media
- Starts at
- Mid-level
- Reading time
- 15 min read
Build guide: 20 min - Builds on
- Design a news feed
- Status
- Free
- Design a push notification SDKHow push tokens change over time, delivery, and deep links.
- Topic
- SDKs and libraries Also: Live data and payments
- Starts at
- Senior (also in the staff track)
- Reading time
- 15 min read
Build guide: 20 min - Builds on
- Design a chat app
- Status
- Free
- Design an analytics SDKSending events in batches, saving them on the device, privacy, and versions.
- Topic
- SDKs and libraries Also: Offline and sync
- Starts at
- Senior (also in the staff track)
- Reading time
- 14 min read
Build guide: 18 min - Builds on
- Design a chat app
- Status
- Free
This topic also appears in
The main topic of these case studies is a different one. Each one still teaches part of this topic.
- Design an image loading libraryMemory and disk caches, decoding, and cancelling requests.
- Topic
- Feeds and media Also: SDKs and libraries
- Starts at
- Mid-level
- Reading time
- 15 min read
Build guide: 20 min - Builds on
- Design a news feed
- Status
- Free
Where these cases sit on the learning map
The blue boxes are in this topic. The boxes above them are the pages to read first. See the whole map.
- Case study
- Free teaser
- Guide
- In this topic
Other topics
Not sure where to begin? Pick a reading path for your level.
Get the free one-page cheat sheet
One page: the five steps, a 45-minute time plan and two checklists. Print it or keep it on your phone.
We email you the cheat sheet after you confirm your address. You can also open it now from the Start here page. You get a short note when a new case is published. Unsubscribe any time. Privacy.