Cassandra Summit 2014: Cassandra in Large Scale Enterprise Grade xPatterns Deployments
-
Upload
planet-cassandra -
Category
Technology
-
view
360 -
download
1
description
Transcript of Cassandra Summit 2014: Cassandra in Large Scale Enterprise Grade xPatterns Deployments
2
Cassandra in xPa+erns
Cassandra Summit Sept 2014
3
• xPa'erns Architecture • Export to NoSql API (Demo) • Monitoring, instrumentaAon (Demo) • xPa'erns applicaAon (Demo) • Data Modeling • Lessons Learned since 0.6 All 2.0.6
Agenda
4
5
6
Demos …
7
• NTP: synchronize ALL clocks (servers and clients) • Schema disagreement: lock cluster (Zk) before CF create/delete • Reduce the number of CFs (avoid OOM … memtable_total_space_in_mb) • Do not drop CFs before emptying them (truncate/compact first) • Monitoring, instrumentaAon, automaAc restarts • ConsistencyLevel: ONE is best … for our use cases • Key cache, Snappy (LZ4) compression, vnodes
Lessons learned 0.6 -‐ 2.0.6
8
• Rows not too skinny and not too wide (avoid OOM) o Less memory pressure during high-‐throughput writes
o Reduced network I/O, less rows, more column slices
o Key cache & bloom filter index size affects perf
o Efficient compacAon, avoid hot spots • Custom serializaAon and dynamic columns for maximum perf gain (40%)
Data Modeling
9
Q & A
© 2013 AAgeo, LLC. All rights reserved. AAgeo and the xPa'erns logo are trademarks of AAgeo. The informaAon herein is for informaAonal purposes only and represents the current view of AAgeo as of the date of this presentaAon. Because AAgeo must respond to changing market condiAons, it should not be interpreted to be a commitment on the part of AAgeo, and AAgeo cannot guarantee the accuracy of any informaAon provided ager the date of this presentaAon. ATIGEO MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.