Professional Documents
Culture Documents
OpenTSDB - A Scalable, Distributed Time Series Database Presentation
OpenTSDB - A Scalable, Distributed Time Series Database Presentation
Old Plow
Backbone #2 by AndiH
Working at Scale
No SPoF
HBase
Distributed Scalable
Reliable
Efcient
Design Goals
Distributed storage of monitoring data No Single Point of Failure Pulling custom graphs must be trivial & fast Scale to: Thousands of machines Many billions of data points
Key concepts
Points Data (time, value)
Key concepts
Points Data (time, value)
Key concepts
Points Data (time, value)
Key concepts
Points Data (time, value)
Browser tcollector
Push data points
(telnet-style proto, RPC soon)
Graph request
(HTTP)
TSD
TSD
Put / Scan
(Hadoop RPC)
TSD
HBase
Demo Time!
Set it up in 15 minutes
With zero prior experience
Netty
TSD
HBase
Netty
Write Path
TSD
HBase
Netty
Write Path
TSD
scan
HBase
Netty
Read Path
TSD
scan
HBase
Netty Gnuplot
write to cache
Read Path
Questions ? opentsdb.net
Benot tsuna Sigoure tsuna@stumbleupon.com
Table: tsdb-uid
Inside HBase
Column Family: name metrics tagk
host
proc.loadavg .1m
Row Key
0 0 1 0 5 2
host
proc.loadavg. 1m
tagv
static
0 0 1 0 5 2 0 0 1 0 2 8 0 4 7 0 0 1
0 5 2
} } } }
host=web42 pool=static
Table: tsdb
Inside HBase
Column Family: t Row Key +0
0.69 0.99 0.72
73 -106 2 120
0 5 2
} }
=1234567800+90
0 0 1 0 2 8 0 4 7 0 0 1
} } } }
host=web42 pool=static
Table: tsdb
Inside HBase
Column Family: t Row Key +0
0.69 0.99 0.72
73 -106 2 120
0 5 2
} }
=1234567800+90
0 0 1 0 2 8 0 4 7 0 0 1
} } } }
host=web42 pool=static
Table: tsdb
Inside HBase
Column Family: t Row Key +0
0.69 0.99 0.72
73 -106 2 120
0 5 2
} }
=1234567800+90
0 0 1 0 2 8 0 4 7 0 0 1
} } } }
host=web42 pool=static
Table: tsdb
Inside HBase
Column Family: t Row Key +0
0.69 0.99 0.72
73 -106 2 120
0 5 2
} }
=1234567800+90
0 0 1 0 2 8 0 4 7 0 0 1
} } } }
host=web42 pool=static