Real User Monitoring at Scale @ Atmosphere Conference 2016

47
Real User Monitoring at scale Jarosław Bloch Albert Łącki

Transcript of Real User Monitoring at Scale @ Atmosphere Conference 2016

Page 1: Real User Monitoring at Scale @ Atmosphere Conference 2016

Real User Monitoring at scaleJarosław Bloch Albert Łącki

Page 2: Real User Monitoring at Scale @ Atmosphere Conference 2016

PL

SKHU

RS

CH

Page 3: Real User Monitoring at Scale @ Atmosphere Conference 2016
Page 4: Real User Monitoring at Scale @ Atmosphere Conference 2016

20 mln real users

7 mln requests every minute

150 mln PV daily

Page 5: Real User Monitoring at Scale @ Atmosphere Conference 2016

3 data centers

3 000 servers and devices

130 Gbps traffic

Page 6: Real User Monitoring at Scale @ Atmosphere Conference 2016

40 teams

> 250 deployments daily

300 specialists

Page 7: Real User Monitoring at Scale @ Atmosphere Conference 2016
Page 8: Real User Monitoring at Scale @ Atmosphere Conference 2016

Speed

search +0,4s PV/UU -0,5%

load +35% Revenue -5%

load +250ms PV/UU -1,8%

Revenue/UU -4,3%

Page 9: Real User Monitoring at Scale @ Atmosphere Conference 2016
Page 10: Real User Monitoring at Scale @ Atmosphere Conference 2016

Component monitoring

Page 11: Real User Monitoring at Scale @ Atmosphere Conference 2016

Service monitoring

Page 12: Real User Monitoring at Scale @ Atmosphere Conference 2016

User experience

Our responsibility

Under our control

Page 13: Real User Monitoring at Scale @ Atmosphere Conference 2016

External monitoring

Page 14: Real User Monitoring at Scale @ Atmosphere Conference 2016
Page 15: Real User Monitoring at Scale @ Atmosphere Conference 2016
Page 16: Real User Monitoring at Scale @ Atmosphere Conference 2016

Real User Monitoring

Page 17: Real User Monitoring at Scale @ Atmosphere Conference 2016

?

Page 18: Real User Monitoring at Scale @ Atmosphere Conference 2016

Real User Monitoring

?

? ?

collection

ingestion processing presentation

Page 19: Real User Monitoring at Scale @ Atmosphere Conference 2016

Data collection

Page 20: Real User Monitoring at Scale @ Atmosphere Conference 2016

<script> var data = collect(); data.send();</script>

Data collection

Page 21: Real User Monitoring at Scale @ Atmosphere Conference 2016

Navigation Timing API

onLoadDOM

Processing

ResponseRequestTCP, DNSRedirects

navigationStart

fetchStart

requestStart

responseStart domLoading

responseEnd domInteractive

domComplete

Page 22: Real User Monitoring at Scale @ Atmosphere Conference 2016

Resource Timing API

Page 23: Real User Monitoring at Scale @ Atmosphere Conference 2016

JS Errors

try { …} catch (ex) { collect(ex);}

Page 24: Real User Monitoring at Scale @ Atmosphere Conference 2016

Data collection

data

Page 25: Real User Monitoring at Scale @ Atmosphere Conference 2016

DC-1

Accelerator

DC-2

GET

Page 26: Real User Monitoring at Scale @ Atmosphere Conference 2016

HTTP 202

Data collection

data

Page 27: Real User Monitoring at Scale @ Atmosphere Conference 2016

Script injection

Page 28: Real User Monitoring at Scale @ Atmosphere Conference 2016

Script injection

<js>

Page 29: Real User Monitoring at Scale @ Atmosphere Conference 2016

Data ingestion

5 min

Page 30: Real User Monitoring at Scale @ Atmosphere Conference 2016

Data ingestion

Page 31: Real User Monitoring at Scale @ Atmosphere Conference 2016

Kafka

Partition 1

Partition 2

Partition 3

Page 32: Real User Monitoring at Scale @ Atmosphere Conference 2016

Data replication

DC-2 DC-1

Page 33: Real User Monitoring at Scale @ Atmosphere Conference 2016

DATA

DATA EVERYWHERE

Albert Łącki
font z obramowaniem do zrobienia
Page 34: Real User Monitoring at Scale @ Atmosphere Conference 2016

METRICS

METRICS EVERYWHERE

Albert Łącki
font z obramowaniem do zrobienia
Page 35: Real User Monitoring at Scale @ Atmosphere Conference 2016

Storm

Topologymetrics

data

Page 36: Real User Monitoring at Scale @ Atmosphere Conference 2016

Presentation

Page 37: Real User Monitoring at Scale @ Atmosphere Conference 2016

Graphite

sum(metric1, metric2)highestMax(services.*, 10)…

Page 38: Real User Monitoring at Scale @ Atmosphere Conference 2016

Graphite3 millions metrics

Page 39: Real User Monitoring at Scale @ Atmosphere Conference 2016

Custom alerts

Page 40: Real User Monitoring at Scale @ Atmosphere Conference 2016
Page 41: Real User Monitoring at Scale @ Atmosphere Conference 2016

Druid

Page 42: Real User Monitoring at Scale @ Atmosphere Conference 2016

Real User Monitoring

Page 43: Real User Monitoring at Scale @ Atmosphere Conference 2016

Deployments

Page 44: Real User Monitoring at Scale @ Atmosphere Conference 2016

Instant feedback

Page 45: Real User Monitoring at Scale @ Atmosphere Conference 2016
Page 46: Real User Monitoring at Scale @ Atmosphere Conference 2016
Page 47: Real User Monitoring at Scale @ Atmosphere Conference 2016

Thank you!