Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Despliegue de Cassandra en la nube de Amazon

322 views

Published on

Despliegue de Cassandra en la nube de Amazon

  • Be the first to comment

Despliegue de Cassandra en la nube de Amazon

  1. 1. Cassandra en Amazon EC2 José Hernández Isthari jose.Hernandez@isthari.com
  2. 2. Almacenamiento
  3. 3. Write path
  4. 4. Write path /var/lib/cassandra/commitlog /var/lib/cassandra/data keyspace_N table_A table_B
  5. 5. Backup
  6. 6. Tipo de instancia DSE 4.0 IN MEMORY
  7. 7. Multi datacenter
  8. 8. AWS Regions
  9. 9. Distribución de réplicas
  10. 10. NetworkTopologyStrategy cqlsh> create keyspace KEYSPACE_NAME with replication = { ‘class’: ‘NetworkTopologyStrategy’, and strategy_options:eu-west = 6, and strategy_options:us-west=3, and strategy_options:south-east=3 }
  11. 11. Snitch  /etc/dse/cassandra/Cassandra.yaml  Propiedad endpoint_snitch  PropertyFileSnitch, asignación IP => Datacenter y rack  EC2Snitch  EC2MultiRegionSnitch  GossippingPropertyFileSnitch
  12. 12. Cluster Datacenter: eu-west ===================== -- Address Load Owns Rack UN 192.168.1.200 128.81 MB 66.7% Rack1 UN 192.168.1.201 129.31 MB 66.7% Rack2 UN 192.168.1.202 129.28 MB 66.7% Rack3 Datacenter: us-west ===================== -- Address Load Owns Rack UN 192.168.2.200 128.81 MB 66.7% Rack1 UN 192.168.2.201 129.31 MB 66.7% Rack2 UN 192.168.2.202 129.28 MB 66.7% Rack3 Datacenter: south-west ===================== -- Address Load Owns Rack UN 192.168.3.200 128.81 MB 66.7% Rack1 …
  13. 13. Escalabilidad http://techblog.netflix.com/2011/11/benchmarking-cassandra-scalability-on.html
  14. 14. Preguntas y sugerencias

×