SlideShare a Scribd company logo
Cassandra Summit 2014: Cassandra in Large Scale Enterprise Grade xPatterns Deployments
Cassandra 
in 
xPa+erns 
Cassandra 
Summit 
2 
Sept 
2014
Agenda 
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
4
5
Demos 
… 
6
Lessons 
learned 
0.6 
-­‐ 
2.0.6 
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
Data 
Modeling 
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%)
Q 
& 
A 
9
© 
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.

More Related Content

PDF
Cassandra Summit 2014: META — An Efficient Distributed Data Hub with Batch an...
PDF
Cassandra Summit 2014: A Train of Thoughts About Growing and Scalability — Bu...
PDF
Cassandra Summit 2014: Social Media Security Company Nexgate Relies on Cassan...
PDF
Apache Cassandra at Narmal 2014
PDF
Introduction to Dating Modeling for Cassandra
PPTX
Cassandra Summit 2014: Apache Cassandra at Telefonica CBS
PDF
Production Ready Cassandra (Beginner)
PDF
Cassandra Summit 2014: Monitor Everything!
Cassandra Summit 2014: META — An Efficient Distributed Data Hub with Batch an...
Cassandra Summit 2014: A Train of Thoughts About Growing and Scalability — Bu...
Cassandra Summit 2014: Social Media Security Company Nexgate Relies on Cassan...
Apache Cassandra at Narmal 2014
Introduction to Dating Modeling for Cassandra
Cassandra Summit 2014: Apache Cassandra at Telefonica CBS
Production Ready Cassandra (Beginner)
Cassandra Summit 2014: Monitor Everything!

Viewers also liked (20)

PDF
Coursera's Adoption of Cassandra
PDF
New features in 3.0
PDF
Cassandra Summit 2014: The Cassandra Experience at Orange — Season 2
PDF
The Last Pickle: Distributed Tracing from Application to Database
PDF
Introduction to .Net Driver
PPTX
Spark Cassandra Connector: Past, Present and Furure
PDF
Playlists at Spotify
PPTX
Lessons Learned with Cassandra and Spark at the US Patent and Trademark Office
PDF
Oracle to Cassandra Core Concepts Guide Pt. 2
PPTX
Using Event-Driven Architectures with Cassandra
PDF
Signal Digital: The Skinny on Wide Rows
PDF
Cassandra Summit 2014: Interactive OLAP Queries using Apache Cassandra and Spark
PPTX
Cassandra @ Sony: The good, the bad, and the ugly part 1
PDF
SKB Kontur: Digging Cassandra cluster
PDF
Timeli: Believing Cassandra: Our Big-Data Journey To Enlightenment under the ...
PDF
Cassandra Day Atlanta 2015: Data Modeling In-Depth: A Time Series Example
PDF
Successful Software Development with Apache Cassandra
PDF
Advanced Cassandra
PDF
Cassandra: One (is the loneliest number)
PPTX
Bad Habits Die Hard
Coursera's Adoption of Cassandra
New features in 3.0
Cassandra Summit 2014: The Cassandra Experience at Orange — Season 2
The Last Pickle: Distributed Tracing from Application to Database
Introduction to .Net Driver
Spark Cassandra Connector: Past, Present and Furure
Playlists at Spotify
Lessons Learned with Cassandra and Spark at the US Patent and Trademark Office
Oracle to Cassandra Core Concepts Guide Pt. 2
Using Event-Driven Architectures with Cassandra
Signal Digital: The Skinny on Wide Rows
Cassandra Summit 2014: Interactive OLAP Queries using Apache Cassandra and Spark
Cassandra @ Sony: The good, the bad, and the ugly part 1
SKB Kontur: Digging Cassandra cluster
Timeli: Believing Cassandra: Our Big-Data Journey To Enlightenment under the ...
Cassandra Day Atlanta 2015: Data Modeling In-Depth: A Time Series Example
Successful Software Development with Apache Cassandra
Advanced Cassandra
Cassandra: One (is the loneliest number)
Bad Habits Die Hard
Ad

Similar to Cassandra Summit 2014: Cassandra in Large Scale Enterprise Grade xPatterns Deployments (20)

PDF
[Cassandra summit Tokyo, 2015] Cassandra 2015 最新情報 by ジョナサン・エリス(Jonathan Ellis)
PDF
MEETUP - Unboxing Apache Cassandra 3.10
PDF
Cassandra Essentials Day Cambridge
PDF
Cassandra for the ops dos and donts
PPTX
Writing Applications for Scylla
PDF
Apache Cassandra at Macys
PDF
An Introduction to Apache Cassandra
PPTX
Apache cassandra - future without boundaries (part1)
PPTX
Cassandra's Sweet Spot - an introduction to Apache Cassandra
DOCX
Cassandra data modelling best practices
PPTX
Introduction to cassandra
PPTX
M6d cassandrapresentation
PPTX
BigData Developers MeetUp
PDF
Get Value from Your Data
PPTX
Apache Cassandra 2.0
PPTX
Netcetera
PDF
LesFurets.com: From 0 to Cassandra on AWS in 30 days - Tsunami Alerting Syste...
PPTX
Lessons Learned From Running 1800 Clusters (Brooke Jensen, Instaclustr) | Cas...
PPTX
Apache Cassandra Opinion and Fact
PPTX
Андрей Козлов (Altoros): Оптимизация производительности Cassandra
[Cassandra summit Tokyo, 2015] Cassandra 2015 最新情報 by ジョナサン・エリス(Jonathan Ellis)
MEETUP - Unboxing Apache Cassandra 3.10
Cassandra Essentials Day Cambridge
Cassandra for the ops dos and donts
Writing Applications for Scylla
Apache Cassandra at Macys
An Introduction to Apache Cassandra
Apache cassandra - future without boundaries (part1)
Cassandra's Sweet Spot - an introduction to Apache Cassandra
Cassandra data modelling best practices
Introduction to cassandra
M6d cassandrapresentation
BigData Developers MeetUp
Get Value from Your Data
Apache Cassandra 2.0
Netcetera
LesFurets.com: From 0 to Cassandra on AWS in 30 days - Tsunami Alerting Syste...
Lessons Learned From Running 1800 Clusters (Brooke Jensen, Instaclustr) | Cas...
Apache Cassandra Opinion and Fact
Андрей Козлов (Altoros): Оптимизация производительности Cassandra
Ad

More from DataStax Academy (20)

PDF
Forrester CXNYC 2017 - Delivering great real-time cx is a true craft
PPTX
Introduction to DataStax Enterprise Graph Database
PPTX
Introduction to DataStax Enterprise Advanced Replication with Apache Cassandra
PPTX
Cassandra on Docker @ Walmart Labs
PDF
Cassandra 3.0 Data Modeling
PPTX
Cassandra Adoption on Cisco UCS & Open stack
PDF
Data Modeling for Apache Cassandra
PDF
Coursera Cassandra Driver
PDF
Production Ready Cassandra
PDF
Cassandra @ Netflix: Monitoring C* at Scale, Gossip and Tickler & Python
PPTX
Cassandra @ Sony: The good, the bad, and the ugly part 2
PDF
Standing Up Your First Cluster
PDF
Real Time Analytics with Dse
PDF
Introduction to Data Modeling with Apache Cassandra
PDF
Cassandra Core Concepts
PPTX
Enabling Search in your Cassandra Application with DataStax Enterprise
PDF
Advanced Data Modeling with Apache Cassandra
PDF
Apache Cassandra and Drivers
PDF
Getting Started with Graph Databases
PDF
Cassandra Data Maintenance with Spark
Forrester CXNYC 2017 - Delivering great real-time cx is a true craft
Introduction to DataStax Enterprise Graph Database
Introduction to DataStax Enterprise Advanced Replication with Apache Cassandra
Cassandra on Docker @ Walmart Labs
Cassandra 3.0 Data Modeling
Cassandra Adoption on Cisco UCS & Open stack
Data Modeling for Apache Cassandra
Coursera Cassandra Driver
Production Ready Cassandra
Cassandra @ Netflix: Monitoring C* at Scale, Gossip and Tickler & Python
Cassandra @ Sony: The good, the bad, and the ugly part 2
Standing Up Your First Cluster
Real Time Analytics with Dse
Introduction to Data Modeling with Apache Cassandra
Cassandra Core Concepts
Enabling Search in your Cassandra Application with DataStax Enterprise
Advanced Data Modeling with Apache Cassandra
Apache Cassandra and Drivers
Getting Started with Graph Databases
Cassandra Data Maintenance with Spark

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
Teaching material agriculture food technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation theory and applications.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
cuic standard and advanced reporting.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
MIND Revenue Release Quarter 2 2025 Press Release
Teaching material agriculture food technology
Reach Out and Touch Someone: Haptics and Empathic Computing
20250228 LYD VKU AI Blended-Learning.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Chapter 3 Spatial Domain Image Processing.pdf
Unlocking AI with Model Context Protocol (MCP)
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Cloud computing and distributed systems.
Encapsulation theory and applications.pdf
sap open course for s4hana steps from ECC to s4
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The AUB Centre for AI in Media Proposal.docx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
cuic standard and advanced reporting.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
The Rise and Fall of 3GPP – Time for a Sabbatical?

Cassandra Summit 2014: Cassandra in Large Scale Enterprise Grade xPatterns Deployments

  • 2. Cassandra in xPa+erns Cassandra Summit 2 Sept 2014
  • 3. Agenda 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
  • 4. 4
  • 5. 5
  • 7. Lessons learned 0.6 -­‐ 2.0.6 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
  • 8. Data Modeling 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%)
  • 9. Q & A 9
  • 10. © 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.