microservices at spotify - gotocon.comgotocon.com/dl/...microservicesspotify.pdf · microservices @...
TRANSCRIPT
![Page 1: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/1.jpg)
![Page 2: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/2.jpg)
Microservices @ SpotifyKevin Goldsmith VP Engineering
@kevingoldsmith
![Page 3: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/3.jpg)
Let’s say I wanted to build a large application
![Page 4: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/4.jpg)
Some requirements
![Page 5: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/5.jpg)
Some requirements
‣ Must scale to millions of users
![Page 6: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/6.jpg)
Some requirements
‣ Must scale to millions of users
‣ Support multiple platforms
![Page 7: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/7.jpg)
Some requirements
‣ Must scale to millions of users
‣ Support multiple platforms
‣ Handle complex business rules
![Page 8: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/8.jpg)
Some requirements
‣ Must scale to millions of users
‣ Support multiple platforms
‣ Handle complex business rules
‣ Competitive in a fast moving market
![Page 9: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/9.jpg)
Some requirements
‣ Must scale to millions of users
‣ Support multiple platforms
‣ Handle complex business rules
‣ Competitive in a fast moving market
‣ React Quickly
![Page 10: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/10.jpg)
Some requirements
‣ Must scale to millions of users
‣ Support multiple platforms
‣ Handle complex business rules
‣ Competitive in a fast moving market
‣ React Quickly
‣ Out-innovate
![Page 11: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/11.jpg)
A product like this
![Page 12: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/12.jpg)
![Page 13: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/13.jpg)
![Page 14: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/14.jpg)
A product like this
![Page 15: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/15.jpg)
A product like this
‣ 75+ Million Monthly Active Users
![Page 16: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/16.jpg)
A product like this
‣ 75+ Million Monthly Active Users
‣ 58 Countries
![Page 17: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/17.jpg)
A product like this
‣ 75+ Million Monthly Active Users
‣ 58 Countries
‣ > 20,000 songs added per day
![Page 18: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/18.jpg)
A product like this
‣ 75+ Million Monthly Active Users
‣ 58 Countries
‣ > 20,000 songs added per day
‣ > 2B playlists
![Page 19: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/19.jpg)
A product like this
‣ 75+ Million Monthly Active Users
‣ 58 Countries
‣ > 20,000 songs added per day
‣ > 2B playlists
‣ Incredibly complex business rules
![Page 20: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/20.jpg)
A product like this
‣ 75+ Million Monthly Active Users
‣ 58 Countries
‣ > 20,000 songs added per day
‣ > 2B playlists
‣ Incredibly complex business rules
‣ Lots of competition
![Page 21: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/21.jpg)
A product like this
‣ 75+ Million Monthly Active Users
‣ 58 Countries
‣ > 20,000 songs added per day
‣ > 2B playlists
‣ Incredibly complex business rules
‣ Lots of competition
![Page 22: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/22.jpg)
A product like this
‣ 75+ Million Monthly Active Users
‣ 58 Countries
‣ > 20,000 songs added per day
‣ > 2B playlists
‣ Incredibly complex business rules
‣ Lots of competition
![Page 23: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/23.jpg)
How do you support these requirements while moving fast and innovating?
![Page 24: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/24.jpg)
SolutionAutonomous full-stack teams
![Page 25: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/25.jpg)
Autonomous
adjective au·ton·o·mous - \ȯ-ˈtä-nə-məs\
(of a country or region) having the freedom to govern itself or control its own affairs. "the federation included sixteen autonomous republics" having the freedom to act independently. "school governors are legally autonomous" synonyms: self-governing, independent, sovereign, free, self-ruling, self-determining, autarchic; self-sufficient "an autonomous republic"
![Page 26: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/26.jpg)
Autonomous
adjective au·ton·o·mous - \ȯ-ˈtä-nə-məs\
(of a country or region) having the freedom to govern itself or control its own affairs. "the federation included sixteen autonomous republics"
having the freedom to act independently. "school governors are legally autonomous" synonyms: self-governing, independent, sovereign, free, self-ruling, self-determining, autarchic; self-sufficient "an autonomous republic"
![Page 27: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/27.jpg)
Server
Core Library
Platform Platform Platform Platform
Infrastructure
![Page 28: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/28.jpg)
Server
Core Library
Platform Platform Platform Platform
Infrastructure
![Page 29: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/29.jpg)
Server
Core Library
Platform Platform Platform Platform
Infrastructure
![Page 30: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/30.jpg)
Server
Core Library
Platform Platform Platform Platform
Infrastructure
![Page 31: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/31.jpg)
Server
Core Library
Platform Platform Platform Platform
Infrastructure
![Page 32: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/32.jpg)
Server
Core Library
Platform Platform Platform Platform
Infrastructure
![Page 33: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/33.jpg)
Challenges
![Page 34: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/34.jpg)
ChallengesSynchronization
![Page 35: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/35.jpg)
ChallengesSynchronization
Client UX implementation
![Page 36: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/36.jpg)
ChallengesSynchronization
Client UX implementation depends on
![Page 37: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/37.jpg)
ChallengesSynchronization
Client UX implementationCore Library Implementation
depends on
![Page 38: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/38.jpg)
ChallengesSynchronization
Client UX implementationCore Library Implementation
depends on depends on
![Page 39: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/39.jpg)
ChallengesSynchronization
Client UX implementationCore Library Implementation
depends on depends on
Server Implementation
![Page 40: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/40.jpg)
ChallengesSynchronization
Client UX implementationCore Library Implementation
depends on depends on depends onServer Implementation
![Page 41: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/41.jpg)
ChallengesSynchronization
Client UX implementationCore Library Implementation
depends on depends on depends onServer Implementation
Infrastructure Implementation
![Page 42: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/42.jpg)
Server
Core Library
Platform Platform Platform Platform
Infrastructure
![Page 43: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/43.jpg)
platforms
Server
Core Library
Platform Platform Platform Platform
Infrastructure
![Page 44: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/44.jpg)
platforms
Server
Core Library
Platform Platform Platform Platform
Infrastructure
Feat
ure
Team
Feat
ure
Team
Feat
ure
Team
Feat
ure
Team
Feat
ure
Team
Feat
ure
Team
![Page 45: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/45.jpg)
platforms
Server
Core Library
Platform Platform Platform Platform
Infrastructure
Feat
ure
Team
Feat
ure
Team
Feat
ure
Team
Feat
ure
Team
Feat
ure
Team
Feat
ure
Team
![Page 46: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/46.jpg)
platforms
Server
Core Library
Platform Platform Platform Platform
Infrastructure
Feat
ure
Team
Feat
ure
Team
Feat
ure
Team
Feat
ure
Team
Feat
ure
Team
Feat
ure
Team
![Page 47: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/47.jpg)
![Page 48: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/48.jpg)
What this looks like at Spotify
![Page 49: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/49.jpg)
What this looks like at Spotify
‣ 90+ teams
![Page 50: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/50.jpg)
What this looks like at Spotify
‣ 90+ teams
‣ 600+ Developers
![Page 51: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/51.jpg)
What this looks like at Spotify
‣ 90+ teams
‣ 600+ Developers
‣ 5 Development offices
![Page 52: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/52.jpg)
What this looks like at Spotify
‣ 90+ teams
‣ 600+ Developers
‣ 5 Development offices
‣1 Product
![Page 53: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/53.jpg)
Full-stack autonomous teamsRequires you to structure your application in loosely coupled parts
![Page 54: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/54.jpg)
Services
![Page 55: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/55.jpg)
![Page 56: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/56.jpg)
![Page 57: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/57.jpg)
![Page 58: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/58.jpg)
![Page 59: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/59.jpg)
Load
Bal
lanc
er
![Page 60: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/60.jpg)
![Page 61: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/61.jpg)
![Page 62: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/62.jpg)
![Page 63: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/63.jpg)
Microservices yay!
Easier to scale based on real-world bottlenecks
![Page 64: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/64.jpg)
Microservices yay!
Easier to test
![Page 65: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/65.jpg)
Microservices yay!
Easier to deploy
![Page 66: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/66.jpg)
Microservices yay!
Easier to monitor
![Page 67: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/67.jpg)
Microservices yay!
Can be versioned independently
![Page 68: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/68.jpg)
![Page 69: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/69.jpg)
Microservices yay!
Are less susceptible to large failures
![Page 70: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/70.jpg)
![Page 71: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/71.jpg)
Microservices boo!
are harder to monitor
![Page 72: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/72.jpg)
Microservices boo!
need good documentation / discovery tools
![Page 73: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/73.jpg)
![Page 74: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/74.jpg)
Microservices boo!
create increased latency
![Page 75: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/75.jpg)
![Page 76: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/76.jpg)
![Page 77: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/77.jpg)
What does this look like at Spotify?
![Page 78: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/78.jpg)
What does this look like at Spotify?
‣ 810 active services
![Page 79: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/79.jpg)
What does this look like at Spotify?
‣ 810 active services
‣ ~10 Systems per squad
![Page 80: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/80.jpg)
What does this look like at Spotify?
‣ 810 active services
‣ ~10 Systems per squad
‣ ~1.7 Systems per person with access to production servers
![Page 81: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/81.jpg)
What does this look like at Spotify?
‣ 810 active services
‣ ~10 Systems per squad
‣ ~1.7 Systems per person with access to production servers
‣ ~1.15 Systems per member of Technology
![Page 82: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/82.jpg)
![Page 83: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/83.jpg)
http://spotify.github.io/apollo/
![Page 84: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/84.jpg)
![Page 85: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/85.jpg)
Questionstwitter: @kevingoldsmith
(yes, we’re hiring)
![Page 86: Microservices at Spotify - gotocon.comgotocon.com/dl/...MicroservicesSpotify.pdf · Microservices @ Spotify Kevin Goldsmith VP Engineering @kevingoldsmith. Let’s say I wanted to](https://reader030.vdocument.in/reader030/viewer/2022011823/5ed3e53554a8a36a2d475a2c/html5/thumbnails/86.jpg)