SlideShare une entreprise Scribd logo
1  sur  46
运维之道 Version 0.2 for Cassandra 0.6.4 淘宝 江枫 http://www.NinGoo.net http://twitter.com/NinGoo   2010.8.13
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
基本概念 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Gossip ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Gossip ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Gossip
Gossip ,[object Object],[object Object],[object Object],[object Object],[object Object]
Bootstrap ,[object Object],[object Object],[object Object],[object Object],[object Object]
Memtable/SSTable ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Memtable/SSTable ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Compaction ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Compaction ,[object Object],[object Object],[object Object]
Compaction ,[object Object],[object Object]
Compaction ,[object Object],[object Object],[object Object],[object Object]
Commitlog ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Commitlog ,[object Object],[object Object],[object Object]
ConsistencyLevel ,[object Object],Level Behavior ZERO Ensure nothing. A write happens asynchronously in background. Until  CASSANDRA-685  is fixed: If too many of these queue up, buffers will explode and bad things will happen. ANY (Requires 0.6) Ensure that the write has been written to at least 1 node, including hinted recipients. ONE Ensure that the write has been written to at least 1 node's commit log and memory table before responding to the client. QUORUM Ensure that the write has been written to <ReplicationFactor> / 2 + 1 nodes before responding to the client. ALL Ensure that the write is written to all <ReplicationFactor> nodes before responding to the client. Any unresponsive nodes will fail the operation.
ConsistencyLevel ,[object Object],Level Behavior ONE Will return the record returned by the first node to respond. A consistency check is always done in a background thread to fix any consistency issues when ConsistencyLevel.ONE is used. This means subsequent calls will have correct data even if the initial read gets an older value. (This is called read repair.) QUORUM Will query all nodes and return the record with the most recent timestamp once it has at least a majority of replicas reported. Again, the remaining replicas will be checked in the background. ALL Will query all nodes and return the record with the most recent timestamp once all nodes have replied. Any unresponsive nodes will fail the operation.
Hinted Handoff ,[object Object],[object Object],[object Object],[object Object]
Anti Entropy ,[object Object],[object Object],[object Object],[object Object]
Read Repair ,[object Object],[object Object],[object Object],[object Object],[object Object]
体系架构 ,[object Object],[object Object],[object Object]
数据分布 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
数据复制 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
接口 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
节点管理 ,[object Object],[object Object],[object Object],[object Object]
增加节点 ,[object Object],[object Object],[object Object],[object Object]
删除节点 ,[object Object],[object Object],[object Object]
移动节点 ,[object Object],[object Object]
恢复节点 ,[object Object],[object Object],[object Object]
参数配置 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
参数配置 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
参数配置 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
参数配置 ,[object Object],[object Object],[object Object]
参数配置 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
参数配置 ,[object Object],[object Object],[object Object]
备份恢复 ,[object Object],[object Object],[object Object],[object Object],[object Object]
备份恢复 ,[object Object],[object Object],[object Object]
限制 ,[object Object],[object Object],[object Object],[object Object]
限制 ,[object Object],[object Object],[object Object],[object Object]
监控 ,[object Object],[object Object]
监控 ,[object Object],[object Object]
监控 ,[object Object],[object Object]
监控 ,[object Object],[object Object]
监控 ,[object Object],[object Object]
参考 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Contenu connexe

Tendances

S04 企業内システムと Microsoft Azure の VPN 接続、ファイルサーバー連携
S04 企業内システムと Microsoft Azure の VPN 接続、ファイルサーバー連携S04 企業内システムと Microsoft Azure の VPN 接続、ファイルサーバー連携
S04 企業内システムと Microsoft Azure の VPN 接続、ファイルサーバー連携
Microsoft Azure Japan
 
SSII2014 詳細画像識別 (FGVC) @OS2
SSII2014 詳細画像識別 (FGVC) @OS2SSII2014 詳細画像識別 (FGVC) @OS2
SSII2014 詳細画像識別 (FGVC) @OS2
nlab_utokyo
 

Tendances (20)

[DL輪読会]QUASI-RECURRENT NEURAL NETWORKS
[DL輪読会]QUASI-RECURRENT NEURAL NETWORKS[DL輪読会]QUASI-RECURRENT NEURAL NETWORKS
[DL輪読会]QUASI-RECURRENT NEURAL NETWORKS
 
Spannerをrestでつかってみた
SpannerをrestでつかってみたSpannerをrestでつかってみた
Spannerをrestでつかってみた
 
急救藥品簡介2.0
急救藥品簡介2.0急救藥品簡介2.0
急救藥品簡介2.0
 
Renal pharmacotherapy 1
Renal pharmacotherapy 1Renal pharmacotherapy 1
Renal pharmacotherapy 1
 
鎮靜劑和肌肉鬆弛劑3
鎮靜劑和肌肉鬆弛劑3鎮靜劑和肌肉鬆弛劑3
鎮靜劑和肌肉鬆弛劑3
 
介入研究の質のアセスメント
介入研究の質のアセスメント介入研究の質のアセスメント
介入研究の質のアセスメント
 
S04 企業内システムと Microsoft Azure の VPN 接続、ファイルサーバー連携
S04 企業内システムと Microsoft Azure の VPN 接続、ファイルサーバー連携S04 企業内システムと Microsoft Azure の VPN 接続、ファイルサーバー連携
S04 企業内システムと Microsoft Azure の VPN 接続、ファイルサーバー連携
 
2016.11.25 敗血症におけるバソプレシンとノルアドレナリンの比較
2016.11.25 敗血症におけるバソプレシンとノルアドレナリンの比較2016.11.25 敗血症におけるバソプレシンとノルアドレナリンの比較
2016.11.25 敗血症におけるバソプレシンとノルアドレナリンの比較
 
帶狀疱疹疫苗 比較
帶狀疱疹疫苗比較帶狀疱疹疫苗比較
帶狀疱疹疫苗 比較
 
Data stream mining
Data stream miningData stream mining
Data stream mining
 
【配信!Veeam情報局】バックアップ容量の最適化、ストレージ節約や拡張方法を解説!
【配信!Veeam情報局】バックアップ容量の最適化、ストレージ節約や拡張方法を解説!【配信!Veeam情報局】バックアップ容量の最適化、ストレージ節約や拡張方法を解説!
【配信!Veeam情報局】バックアップ容量の最適化、ストレージ節約や拡張方法を解説!
 
SSII2014 詳細画像識別 (FGVC) @OS2
SSII2014 詳細画像識別 (FGVC) @OS2SSII2014 詳細画像識別 (FGVC) @OS2
SSII2014 詳細画像識別 (FGVC) @OS2
 
多変量解析の一般化
多変量解析の一般化多変量解析の一般化
多変量解析の一般化
 
Rootlessコンテナ
RootlessコンテナRootlessコンテナ
Rootlessコンテナ
 
癌症疼痛控制
癌症疼痛控制癌症疼痛控制
癌症疼痛控制
 
[DL輪読会]Clebsch–Gordan Nets: a Fully Fourier Space Spherical Convolutional Neu...
[DL輪読会]Clebsch–Gordan Nets: a Fully Fourier Space Spherical Convolutional Neu...[DL輪読会]Clebsch–Gordan Nets: a Fully Fourier Space Spherical Convolutional Neu...
[DL輪読会]Clebsch–Gordan Nets: a Fully Fourier Space Spherical Convolutional Neu...
 
2017.3.10 オセルタミビル
2017.3.10 オセルタミビル2017.3.10 オセルタミビル
2017.3.10 オセルタミビル
 
Rescale で Singularity を使ってみよう!
Rescale で Singularity を使ってみよう!Rescale で Singularity を使ってみよう!
Rescale で Singularity を使ってみよう!
 
Tokyo webmining 複雑ネットワークとデータマイニング
Tokyo webmining 複雑ネットワークとデータマイニングTokyo webmining 複雑ネットワークとデータマイニング
Tokyo webmining 複雑ネットワークとデータマイニング
 
[DL輪読会]Adversarial Feature Matching for Text Generation
[DL輪読会]Adversarial Feature Matching for Text Generation[DL輪読会]Adversarial Feature Matching for Text Generation
[DL輪読会]Adversarial Feature Matching for Text Generation
 

Similaire à Cassandra运维之道 v0.2

Distribute Key Value Store
Distribute Key Value StoreDistribute Key Value Store
Distribute Key Value Store
Santal Li
 
Distribute key value_store
Distribute key value_storeDistribute key value_store
Distribute key value_store
drewz lin
 
Cassandra overview
Cassandra overviewCassandra overview
Cassandra overview
Sean Murphy
 

Similaire à Cassandra运维之道 v0.2 (20)

Dynamo cassandra
Dynamo cassandraDynamo cassandra
Dynamo cassandra
 
Cassandra consistency
Cassandra consistencyCassandra consistency
Cassandra consistency
 
Cassandra no sql ecosystem
Cassandra no sql ecosystemCassandra no sql ecosystem
Cassandra no sql ecosystem
 
Postgres clusters
Postgres clustersPostgres clusters
Postgres clusters
 
Cassandra for Sysadmins
Cassandra for SysadminsCassandra for Sysadmins
Cassandra for Sysadmins
 
Cassandra architecture
Cassandra architectureCassandra architecture
Cassandra architecture
 
Distribute Key Value Store
Distribute Key Value StoreDistribute Key Value Store
Distribute Key Value Store
 
Distribute key value_store
Distribute key value_storeDistribute key value_store
Distribute key value_store
 
Cassandra & Python - Springfield MO User Group
Cassandra & Python - Springfield MO User GroupCassandra & Python - Springfield MO User Group
Cassandra & Python - Springfield MO User Group
 
The Apache Cassandra ecosystem
The Apache Cassandra ecosystemThe Apache Cassandra ecosystem
The Apache Cassandra ecosystem
 
No sql
No sqlNo sql
No sql
 
Cassandra Architecture
Cassandra ArchitectureCassandra Architecture
Cassandra Architecture
 
Cassandra admin
Cassandra adminCassandra admin
Cassandra admin
 
Cassandra advanced part-ll
Cassandra advanced part-llCassandra advanced part-ll
Cassandra advanced part-ll
 
Building Apache Cassandra clusters for massive scale
Building Apache Cassandra clusters for massive scaleBuilding Apache Cassandra clusters for massive scale
Building Apache Cassandra clusters for massive scale
 
Cassandra in Operation
Cassandra in OperationCassandra in Operation
Cassandra in Operation
 
Talon systems - Distributed multi master replication strategy
Talon systems - Distributed multi master replication strategyTalon systems - Distributed multi master replication strategy
Talon systems - Distributed multi master replication strategy
 
Design Patterns for Distributed Non-Relational Databases
Design Patterns for Distributed Non-Relational DatabasesDesign Patterns for Distributed Non-Relational Databases
Design Patterns for Distributed Non-Relational Databases
 
Cassandra overview
Cassandra overviewCassandra overview
Cassandra overview
 
An Overview of Spanner: Google's Globally Distributed Database
An Overview of Spanner: Google's Globally Distributed DatabaseAn Overview of Spanner: Google's Globally Distributed Database
An Overview of Spanner: Google's Globally Distributed Database
 

Cassandra运维之道 v0.2

  • 1. 运维之道 Version 0.2 for Cassandra 0.6.4 淘宝 江枫 http://www.NinGoo.net http://twitter.com/NinGoo 2010.8.13
  • 2.
  • 3.
  • 4.
  • 5.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.