+ All Categories
Home > Documents > Audio&delivery&at&scale · $ dig _spotify-search._hm.lon3.spotify.net SRV... 5000 5000 8181...

Audio&delivery&at&scale · $ dig _spotify-search._hm.lon3.spotify.net SRV... 5000 5000 8181...

Date post: 28-May-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
29
Audio delivery at scale Niklas Gustavsson [email protected] @protocol7
Transcript

Audio&delivery&at&scale

Niklas'Gustavsson''[email protected]'

'@protocol7

Playing((music

"Microservices"

Simplicity

Robustness

Scalability

"Developers*should*build*a*program*out*of*simple*parts*connected*by*well*defined*interfaces,*so*problems*are*local,*and*parts*of*the*

program*can*be*replaced*in*future*versions*to*support*new*features.*This*rule*aims*to*save*=me*on*debugging*complex*code*

that*is*complex,*long,*and*unreadable"

—"Eric"S."Raymond,"The"Art"of"Unix"Programming

Embrace(Conway's(law2

2"h$ps://labs.spo.fy.com/2014/03/27/spo.fy8engineering8culture8part81/

What's'a'service?

Let's&walk&a&request

Perimeter'services

View%services

Service'discovery

$ dig _spotify-search._hm.lon3.spotify.net SRV...5000 5000 8181 lon3-search-a1.lon3.spotify.net.5000 5000 8181 lon3-search-a2.lon3.spotify.net....

Data$services

Aggregra&on

Scaling(out

Mul$site

c/1.44

Content&distribu-on

Audio&data

Produc'on)storage

CDNs

Head%files

Prefetching

Ques%ons?

ngn@spo'fy.com--@protocol7


Recommended