![Page 1: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/1.jpg)
Um Dia na Vidade um Arquiteto
de Performance doNetflix
MARTIN SPIERSR. PERFORMANCE ARCHITECT
@spiermar
![Page 2: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/2.jpg)
Netflix através de Números
![Page 3: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/3.jpg)
100,000,000,000s de eventos.
![Page 4: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/4.jpg)
10,000,000,000s de requests.
![Page 5: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/5.jpg)
1,000,000,000s de métricas.
![Page 6: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/6.jpg)
100,000,000s de horas de streaming.
![Page 7: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/7.jpg)
10,000,000s de dispositivos.
![Page 8: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/8.jpg)
1,000,000s de requests / segundo.
![Page 9: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/9.jpg)
100,000s de instâncias.
![Page 10: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/10.jpg)
10,000s de instâncias.
![Page 11: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/11.jpg)
1,000s de mudanças.
![Page 12: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/12.jpg)
100s de microserviços.
![Page 13: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/13.jpg)
10s de terabits / seg.
![Page 14: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/14.jpg)
1 único objetivo.
![Page 15: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/15.jpg)
Nosso objetivo é ...
![Page 16: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/16.jpg)
![Page 17: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/17.jpg)
![Page 18: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/18.jpg)
![Page 19: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/19.jpg)
![Page 20: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/20.jpg)
Nosso objetivo é ...
![Page 21: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/21.jpg)
Winning Moments of Truth
![Page 22: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/22.jpg)
O que queremQuando queremDispositivo que querem
![Page 23: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/23.jpg)
Arquitetura.
Building moments of truth.
![Page 24: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/24.jpg)
![Page 25: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/25.jpg)
OPEN CONNECT
● CDN para video.
● 1,000s de locais.
● Otimizado para distância.
● E tipo de dados.
● Hardware comum.
https://openconnect.netflix.com/
![Page 26: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/26.jpg)
![Page 27: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/27.jpg)
OPEN CONNECT
● CDN para video.
● 1,000s de locais.
● Otimizado para distância.
● E tipo de dados.
● Hardware tradicional.
https://openconnect.netflix.com/
![Page 28: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/28.jpg)
![Page 29: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/29.jpg)
![Page 30: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/30.jpg)
![Page 31: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/31.jpg)
![Page 32: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/32.jpg)
![Page 33: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/33.jpg)
![Page 34: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/34.jpg)
ZUUL
https://github.com/Netflix/zuul
![Page 35: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/35.jpg)
![Page 36: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/36.jpg)
ZUUL
EDGE MID PERSISTENCE BATCH
CACHE
![Page 37: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/37.jpg)
![Page 38: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/38.jpg)
![Page 39: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/39.jpg)
![Page 40: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/40.jpg)
Pushes.Como código novo vai ao ar.
![Page 41: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/41.jpg)
![Page 42: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/42.jpg)
![Page 43: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/43.jpg)
![Page 44: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/44.jpg)
![Page 45: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/45.jpg)
http://bit.ly/nflxkayenta
![Page 46: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/46.jpg)
![Page 47: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/47.jpg)
Performance.
Otimizando na escala do Netflix.
![Page 48: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/48.jpg)
![Page 49: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/49.jpg)
![Page 50: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/50.jpg)
![Page 51: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/51.jpg)
![Page 52: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/52.jpg)
![Page 53: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/53.jpg)
![Page 54: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/54.jpg)
![Page 55: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/55.jpg)
![Page 56: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/56.jpg)
![Page 57: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/57.jpg)
![Page 58: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/58.jpg)
![Page 59: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/59.jpg)
![Page 60: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/60.jpg)
![Page 61: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/61.jpg)
![Page 62: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/62.jpg)
● Escala do Netflix.
● Arquitetura, em alto nível.
● Open Connect
● Infraestrutura na AWS.
● Processo de build.
● Processo de deploy.
● Ferramentas para análise de performance.
Resumindo.
![Page 63: QCon São Paulo 2020 - Um Dia na Vida de um Arquiteto de … · @Netflixhelps Netflix Oct 1, 2016 Hi all we are aware Of streaming issues and we are working quickly to solve them](https://reader034.vdocuments.pub/reader034/viewer/2022042802/5f3aad945ddc2b54b019af6f/html5/thumbnails/63.jpg)
Obrigado.
Martin Spiermartinspier.io/contact@spiermarunchartedcorners