SlideShare una empresa de Scribd logo
1 de 60
Descargar para leer sin conexión
Cassandra on Pivotal CF 
Pivotal #CassandraSummit
Tammer Saleh 
Director of Product 
Pivotal CF Services, London 
! 
http://tammersaleh.com 
Pivotal #CassandraSummit
Overview of Pivotal CF! 
Services API! 
Why Cassandra! 
Building Cassandra! 
Automating Cassandra Operations 
Pivotal #CassandraSummit
Overview of Pivotal CF 
Pivotal #CassandraSummit
$ cf push is golden. 
$ cf create-service p-cassandra development-plan eventsdb 
$ cf bind-service eventsdb dashboard 
$ cf push dashboard 
$ open https://dashboard.mypcf.com 
Pivotal #CassandraSummit
Pivotal #CassandraSummit
Service Foo 
Broker DB 
Service Bar 
Broker DB 
Service Baz 
Broker DB 
Router 
Cloud Controller 
DEA 
DEA DEA 
Health Manager 
SSO 
provisioning / configuration / orchestration 
Runtime 
DEA 
vSphere 
BOSH 
Console 
Operations 
Manager 
AWS OpenStack 
Pivotal #CassandraSummit
Services API 
Pivotal #CassandraSummit
BOSH 
Router 
vSphere / AWS / OpenStack 
Operations 
Manager 
CF Runtime 
Application Instances 
Cloud 
Controller
BOSH 
Router 
vSphere / AWS / OpenStack 
Operations 
Manager 
CF Runtime 
Cloud 
Controller 
Service 
Service Instances 
Service 
Broker 
Application Instances
BOSH 
Router 
vSphere / AWS / OpenStack 
Operations 
Manager 
CF Runtime 
Cloud 
Controller 
Service 
Service Instances 
Service 
Broker 
Application Instances 
Catalog 
$ cf marketplace
BOSH 
Router 
vSphere / AWS / OpenStack 
Operations 
Manager 
CF Runtime 
Cloud 
Controller 
Service 
Service Instances 
Service 
Broker 
Application Instances 
Provision instance 
Done 
$ cf create service foo
CF Runtime 
Router 
Application Instances 
Cloud 
Controller 
Service 
Service Instances 
Service 
Broker 
Provision binding 
Binding info 
$ cf bind service my_app foo 
$VCAP_SERVICES={ 
"pgsql": [ 
{ 
"name": "UUID", 
"plan": "small", 
"credentials": { 
"uri": “postgres://u:p@service_ip” 
} 
} 
], … } 
Binding info
CF Runtime 
Router 
Application Instances 
Cloud 
Controller 
Service 
Service Instances 
Service 
Broker 
$ cf bind service my_app foo 
App instance reads 
and writes directly to 
service instance.
GET /v2/catalog What’s available? 
PUT /v2/service_instances/:id Create service 
DELETE /v2/service_instances/:id Delete service 
PUT /v2/service_instances/:id/service_bindings/:id Create binding 
DELETE /v2/service_instances/:id/service_bindings/:id Delete binding
Pivotal CF Services
Insanely fast KV storage - The AK-47 of Databases
The World's Leading Graph DB
Distributed, real-time search and analytics engine
Simple and Fast NoSQL DB
High-performance memory object cache.
Next generation MySQL replacement.
Enterprise Hadoop Distribution.
S3 Compatible Blobstore
Highly distributed, write-heavy KV/column store.
Our first production-grade service.
Why ? 
"In terms of scalability, there is a clear 
winner throughout our experiments. 
Cassandra achieves the highest 
throughput for the maximum number of 
nodes in all experiments." 
- University of Toronto, 2012
Why ?
Why ? 
Cassandra is truly cloud-scale.
Why ? 
Multi-datacenter 
deployments are 
commonplace in 
the cloud.
Building Cassandra 
Pivotal #CassandraSummit
Services API Redux 
Service Plan Instance Binding 
Pivotal #CassandraSummit
What is an Instance? 
Pivotal #CassandraSummit
What is an Instance? 
Scales to the size 
of a single cluster.! 
Single Keyspace.! 
Good for 
development and 
testing. 
Part of a Shared Cluster 
Instance 1 (Keyspace) 
Instance 2 (Keyspace) 
Instance 3 (Keyspace) 
Cassandra Node Cassandra Node Cassandra Node 
VM VM VM 
Pivotal #CassandraSummit
Keyspace visibility 
Pivotal #CassandraSummit
Noisy Neighbours 
Pivotal #CassandraSummit
Quotas 
Pivotal #CassandraSummit
What is an Instance? 
True production 
grade.! 
No noisy 
neighbours.! 
Expensive. 
Cluster of VMs 
Cassandra VM Cassandra VM Cassandra VM 
Instance 1 (Cluster of VMs) 
Cassandra VM Cassandra VM Cassandra VM 
Instance 2 (Cluster of VMs) 
Cassandra VM Cassandra VM Cassandra VM 
Instance 3 (Cluster of VMs) 
Pivotal #CassandraSummit
What is an Instance? 
Looks identical to 
production.! 
Fairly good noisy 
neighbour 
isolation.! 
Constrained 
resources per 
instance. 
Cluster of Containers 
Cassandra 
Node 
Instance 1 (Cluster) 
Cassandra 
Node 
Cassandra 
Node 
Instance 2 (Cluster) 
Cassandra 
Node 
Instance 3 (Cluster) 
Cassandra 
Node 
Cassandra 
Node 
Cassandra 
Node 
Cassandra 
Node 
Cassandra 
Node 
VM VM VM 
Pivotal #CassandraSummit
Automating Cassandra Operations 
Pivotal #CassandraSummit
BOSH 
Pivotal #CassandraSummit
BOSH is… 
• Predictable! 
• Repeatable! 
• IaaS agnostic! 
• Built for large-scale deployments 
Pivotal #CassandraSummit
BOSH 
Resurrector 
Pivotal #CassandraSummit
BOSH 
Resurrector 
BOSH 
Director 
VM 
Agent 
VM 
Agent 
VM 
Agent 
hello! 
hey ! 
there! 
ahoy! 
Pivotal #CassandraSummit
BOSH 
Resurrector 
BOSH 
Director 
VM 
Agent 
VM 
Agent 
VM 
Agent 
Pivotal #CassandraSummit
BOSH 
Resurrector 
BOSH 
Director 
VM 
Agent 
VM 
Agent 
VM 
Agent 
IaaS 
STONITH! 
Pivotal #CassandraSummit
BOSH 
Resurrector 
BOSH 
Director 
VM 
Agent 
VM 
Agent 
VM 
Agent 
IaaS 
Pivotal #CassandraSummit
BOSH 
Resurrector 
BOSH 
Director 
VM 
Agent 
VM 
Agent 
IaaS 
Pivotal #CassandraSummit
BOSH 
Resurrector 
BOSH 
Director 
VM 
Agent 
VM 
Agent 
IaaS 
Provision! 
Pivotal #CassandraSummit
BOSH 
Resurrector 
BOSH 
Director 
VM 
Agent 
VM 
Agent 
IaaS 
VM 
Agent 
howdy! 
Pivotal #CassandraSummit
NTPd 
Pivotal #CassandraSummit
NTPd! 
Accuracy vs Precision 
Pivotal #CassandraSummit
Cassandra 
Node 
Cassandra 
Cassandra 
NTPd! 
! 
Node 
Node 
https://blog.logentries.com/2014/03/synchronizing-clocks-in-a-cassandra-cluster-pt-2-solutions/ 
Pivotal #CassandraSummit
Cassandra 
Node 
Cassandra 
Node 
NTPd! 
! 
Cassandra 
Node 
NTPd! 
Server 
https://blog.logentries.com/2014/03/synchronizing-clocks-in-a-cassandra-cluster-pt-2-solutions/ 
Pivotal #CassandraSummit
Cassandra 
NTPd! 
Server 
NTPd! 
! 
Cassandra 
Node 
Node 
Cassandra 
Node 
Internet 
NTPd! 
Server 
NTPd! 
Server 
NTPd! 
Server 
https://blog.logentries.com/2014/03/synchronizing-clocks-in-a-cassandra-cluster-pt-2-solutions/ 
Pivotal #CassandraSummit
Running repairs 
Pivotal #CassandraSummit
Running repairs 
1. When decommissioning the Node. 
2. When the node has been down for N minutes. 
3. Once per node per week within GC_GRACE_PERIOD 
Pivotal #CassandraSummit
Services Are the Key 
to the Success of 
Pivotal CF 
Pivotal #CassandraSummit
Thank you. 
If this interests you, we’re hiring CF engineers in SF and London. 
Tammer Saleh 
tsaleh@pivotal.io 
http://tammersaleh.com 
Pivotal #CassandraSummit

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Extending HashiCorp Nomad with Plugins
Extending HashiCorp Nomad with PluginsExtending HashiCorp Nomad with Plugins
Extending HashiCorp Nomad with Plugins
 
Building Cloud Native Applications Using Spring Boot and Spring Cloud
Building Cloud Native Applications Using Spring Boot and Spring CloudBuilding Cloud Native Applications Using Spring Boot and Spring Cloud
Building Cloud Native Applications Using Spring Boot and Spring Cloud
 
서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)
서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)
서버리스(Serverless) 프레임웍 비교 - ClaudiaJS와 Chalice를 중심으로 (윤석찬)
 
Gaming on AWS - 1. AWS로 글로벌 게임 런칭하기 - 장르별 아키텍처 중심
Gaming on AWS - 1. AWS로 글로벌 게임 런칭하기 - 장르별 아키텍처 중심Gaming on AWS - 1. AWS로 글로벌 게임 런칭하기 - 장르별 아키텍처 중심
Gaming on AWS - 1. AWS로 글로벌 게임 런칭하기 - 장르별 아키텍처 중심
 
Serverless
ServerlessServerless
Serverless
 
Kubernetes on AWS
Kubernetes on AWSKubernetes on AWS
Kubernetes on AWS
 
RUNNING AWS LOCALLY
RUNNING AWS LOCALLY RUNNING AWS LOCALLY
RUNNING AWS LOCALLY
 
Serverless with IAC - terraform과 cloudformation 비교
Serverless with IAC - terraform과 cloudformation 비교Serverless with IAC - terraform과 cloudformation 비교
Serverless with IAC - terraform과 cloudformation 비교
 
Structuring node.js projects - Seven Peaks Software (Node.JS Meetup 18 nov 2021)
Structuring node.js projects - Seven Peaks Software (Node.JS Meetup 18 nov 2021)Structuring node.js projects - Seven Peaks Software (Node.JS Meetup 18 nov 2021)
Structuring node.js projects - Seven Peaks Software (Node.JS Meetup 18 nov 2021)
 
How to improve lambda cold starts
How to improve lambda cold startsHow to improve lambda cold starts
How to improve lambda cold starts
 
[AWSKRUG&JAWS-UG Meetup #1] Serverless Real-Time Analysis
[AWSKRUG&JAWS-UG Meetup #1]  Serverless  Real-Time Analysis[AWSKRUG&JAWS-UG Meetup #1]  Serverless  Real-Time Analysis
[AWSKRUG&JAWS-UG Meetup #1] Serverless Real-Time Analysis
 
DockerCon US 2016 - Docker Practice in Alibaba Cloud
DockerCon US 2016 - Docker Practice in Alibaba CloudDockerCon US 2016 - Docker Practice in Alibaba Cloud
DockerCon US 2016 - Docker Practice in Alibaba Cloud
 
Serverless computing
Serverless computingServerless computing
Serverless computing
 
Real time dashboards with Kafka and Druid
Real time dashboards with Kafka and DruidReal time dashboards with Kafka and Druid
Real time dashboards with Kafka and Druid
 
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
 
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container DayECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
 
Container Management with Amazon ECS
Container Management with Amazon ECSContainer Management with Amazon ECS
Container Management with Amazon ECS
 
Cloud Foundry Summit 2015: Building a Robust Cloud Foundry (HA, Security and DR)
Cloud Foundry Summit 2015: Building a Robust Cloud Foundry (HA, Security and DR)Cloud Foundry Summit 2015: Building a Robust Cloud Foundry (HA, Security and DR)
Cloud Foundry Summit 2015: Building a Robust Cloud Foundry (HA, Security and DR)
 
Let's Talk About Serverless - Focusing on AWS Lambda
Let's Talk About Serverless - Focusing on AWS LambdaLet's Talk About Serverless - Focusing on AWS Lambda
Let's Talk About Serverless - Focusing on AWS Lambda
 
Crafting Kubernetes Operators
Crafting Kubernetes OperatorsCrafting Kubernetes Operators
Crafting Kubernetes Operators
 

Similar a Cassandra Summit 2014: Apache Cassandra on Pivotal CloudFoundry

Similar a Cassandra Summit 2014: Apache Cassandra on Pivotal CloudFoundry (20)

LINSTOR Is Like Kubernetes, But for Block Devices
LINSTOR Is Like Kubernetes, But for Block DevicesLINSTOR Is Like Kubernetes, But for Block Devices
LINSTOR Is Like Kubernetes, But for Block Devices
 
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
 
Building cloud stack at scale
Building cloud stack at scaleBuilding cloud stack at scale
Building cloud stack at scale
 
Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSContinuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWS
 
Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...
Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...
Applying ML on your Data in Motion with AWS and Confluent | Joseph Morais, Co...
 
Introduction into Cloud Foundry and Bosh | anynines
Introduction into Cloud Foundry and Bosh | anyninesIntroduction into Cloud Foundry and Bosh | anynines
Introduction into Cloud Foundry and Bosh | anynines
 
App modernization on AWS with Apache Kafka and Confluent Cloud
App modernization on AWS with Apache Kafka and Confluent CloudApp modernization on AWS with Apache Kafka and Confluent Cloud
App modernization on AWS with Apache Kafka and Confluent Cloud
 
Tech huddle paas_session
Tech huddle paas_sessionTech huddle paas_session
Tech huddle paas_session
 
Automating the Entire PostgreSQL Lifecycle
Automating the Entire PostgreSQL Lifecycle Automating the Entire PostgreSQL Lifecycle
Automating the Entire PostgreSQL Lifecycle
 
Serveless Design Patterns (Serverless Computing London)
Serveless Design Patterns (Serverless Computing London)Serveless Design Patterns (Serverless Computing London)
Serveless Design Patterns (Serverless Computing London)
 
infraxstructure: Stas Levitan, "Always On" business in cloud - 2016"
infraxstructure: Stas Levitan, "Always On" business in cloud - 2016"infraxstructure: Stas Levitan, "Always On" business in cloud - 2016"
infraxstructure: Stas Levitan, "Always On" business in cloud - 2016"
 
Born in the Cloud; Build it Like a Startup
Born in the Cloud; Build it Like a StartupBorn in the Cloud; Build it Like a Startup
Born in the Cloud; Build it Like a Startup
 
The Cloud Foundry bootcamp talk from SpringOne On The Road - Europe
The Cloud Foundry bootcamp talk from SpringOne On The Road - EuropeThe Cloud Foundry bootcamp talk from SpringOne On The Road - Europe
The Cloud Foundry bootcamp talk from SpringOne On The Road - Europe
 
Serverless Design Patterns
Serverless Design PatternsServerless Design Patterns
Serverless Design Patterns
 
Serveless design patterns (VoxxedDays Luxembourg)
Serveless design patterns (VoxxedDays Luxembourg)Serveless design patterns (VoxxedDays Luxembourg)
Serveless design patterns (VoxxedDays Luxembourg)
 
Matt Johnson - My developer journey towards true hybrid cloud with Kubernetes...
Matt Johnson - My developer journey towards true hybrid cloud with Kubernetes...Matt Johnson - My developer journey towards true hybrid cloud with Kubernetes...
Matt Johnson - My developer journey towards true hybrid cloud with Kubernetes...
 
Serverless Architectural Patterns & Best Practices
Serverless Architectural Patterns & Best PracticesServerless Architectural Patterns & Best Practices
Serverless Architectural Patterns & Best Practices
 
Migrate a on-prem platform to the public cloud with Java - SpringBoot and PCF
Migrate a on-prem platform to the public cloud with Java - SpringBoot and PCFMigrate a on-prem platform to the public cloud with Java - SpringBoot and PCF
Migrate a on-prem platform to the public cloud with Java - SpringBoot and PCF
 
.NET Developer Days - So many Docker platforms, so little time...
.NET Developer Days - So many Docker platforms, so little time....NET Developer Days - So many Docker platforms, so little time...
.NET Developer Days - So many Docker platforms, so little time...
 
Communication Amongst Microservices: Kubernetes, Istio, and Spring Cloud with...
Communication Amongst Microservices: Kubernetes, Istio, and Spring Cloud with...Communication Amongst Microservices: Kubernetes, Istio, and Spring Cloud with...
Communication Amongst Microservices: Kubernetes, Istio, and Spring Cloud with...
 

Más de DataStax Academy

Cassandra on Docker @ Walmart Labs
Cassandra on Docker @ Walmart LabsCassandra on Docker @ Walmart Labs
Cassandra on Docker @ Walmart Labs
DataStax Academy
 
Cassandra Adoption on Cisco UCS & Open stack
Cassandra Adoption on Cisco UCS & Open stackCassandra Adoption on Cisco UCS & Open stack
Cassandra Adoption on Cisco UCS & Open stack
DataStax Academy
 
Cassandra @ Netflix: Monitoring C* at Scale, Gossip and Tickler & Python
Cassandra @ Netflix: Monitoring C* at Scale, Gossip and Tickler & PythonCassandra @ Netflix: Monitoring C* at Scale, Gossip and Tickler & Python
Cassandra @ Netflix: Monitoring C* at Scale, Gossip and Tickler & Python
DataStax Academy
 
Standing Up Your First Cluster
Standing Up Your First ClusterStanding Up Your First Cluster
Standing Up Your First Cluster
DataStax Academy
 
Real Time Analytics with Dse
Real Time Analytics with DseReal Time Analytics with Dse
Real Time Analytics with Dse
DataStax Academy
 
Introduction to Data Modeling with Apache Cassandra
Introduction to Data Modeling with Apache CassandraIntroduction to Data Modeling with Apache Cassandra
Introduction to Data Modeling with Apache Cassandra
DataStax Academy
 
Enabling Search in your Cassandra Application with DataStax Enterprise
Enabling Search in your Cassandra Application with DataStax EnterpriseEnabling Search in your Cassandra Application with DataStax Enterprise
Enabling Search in your Cassandra Application with DataStax Enterprise
DataStax Academy
 
Advanced Data Modeling with Apache Cassandra
Advanced Data Modeling with Apache CassandraAdvanced Data Modeling with Apache Cassandra
Advanced Data Modeling with Apache Cassandra
DataStax Academy
 

Más de DataStax Academy (20)

Forrester CXNYC 2017 - Delivering great real-time cx is a true craft
Forrester CXNYC 2017 - Delivering great real-time cx is a true craftForrester CXNYC 2017 - Delivering great real-time cx is a true craft
Forrester CXNYC 2017 - Delivering great real-time cx is a true craft
 
Introduction to DataStax Enterprise Graph Database
Introduction to DataStax Enterprise Graph DatabaseIntroduction to DataStax Enterprise Graph Database
Introduction to DataStax Enterprise Graph Database
 
Introduction to DataStax Enterprise Advanced Replication with Apache Cassandra
Introduction to DataStax Enterprise Advanced Replication with Apache CassandraIntroduction to DataStax Enterprise Advanced Replication with Apache Cassandra
Introduction to DataStax Enterprise Advanced Replication with Apache Cassandra
 
Cassandra on Docker @ Walmart Labs
Cassandra on Docker @ Walmart LabsCassandra on Docker @ Walmart Labs
Cassandra on Docker @ Walmart Labs
 
Cassandra 3.0 Data Modeling
Cassandra 3.0 Data ModelingCassandra 3.0 Data Modeling
Cassandra 3.0 Data Modeling
 
Cassandra Adoption on Cisco UCS & Open stack
Cassandra Adoption on Cisco UCS & Open stackCassandra Adoption on Cisco UCS & Open stack
Cassandra Adoption on Cisco UCS & Open stack
 
Data Modeling for Apache Cassandra
Data Modeling for Apache CassandraData Modeling for Apache Cassandra
Data Modeling for Apache Cassandra
 
Coursera Cassandra Driver
Coursera Cassandra DriverCoursera Cassandra Driver
Coursera Cassandra Driver
 
Production Ready Cassandra
Production Ready CassandraProduction Ready Cassandra
Production Ready Cassandra
 
Cassandra @ Netflix: Monitoring C* at Scale, Gossip and Tickler & Python
Cassandra @ Netflix: Monitoring C* at Scale, Gossip and Tickler & PythonCassandra @ Netflix: Monitoring C* at Scale, Gossip and Tickler & Python
Cassandra @ Netflix: Monitoring C* at Scale, Gossip and Tickler & Python
 
Cassandra @ Sony: The good, the bad, and the ugly part 1
Cassandra @ Sony: The good, the bad, and the ugly part 1Cassandra @ Sony: The good, the bad, and the ugly part 1
Cassandra @ Sony: The good, the bad, and the ugly part 1
 
Cassandra @ Sony: The good, the bad, and the ugly part 2
Cassandra @ Sony: The good, the bad, and the ugly part 2Cassandra @ Sony: The good, the bad, and the ugly part 2
Cassandra @ Sony: The good, the bad, and the ugly part 2
 
Standing Up Your First Cluster
Standing Up Your First ClusterStanding Up Your First Cluster
Standing Up Your First Cluster
 
Real Time Analytics with Dse
Real Time Analytics with DseReal Time Analytics with Dse
Real Time Analytics with Dse
 
Introduction to Data Modeling with Apache Cassandra
Introduction to Data Modeling with Apache CassandraIntroduction to Data Modeling with Apache Cassandra
Introduction to Data Modeling with Apache Cassandra
 
Cassandra Core Concepts
Cassandra Core ConceptsCassandra Core Concepts
Cassandra Core Concepts
 
Enabling Search in your Cassandra Application with DataStax Enterprise
Enabling Search in your Cassandra Application with DataStax EnterpriseEnabling Search in your Cassandra Application with DataStax Enterprise
Enabling Search in your Cassandra Application with DataStax Enterprise
 
Bad Habits Die Hard
Bad Habits Die Hard Bad Habits Die Hard
Bad Habits Die Hard
 
Advanced Data Modeling with Apache Cassandra
Advanced Data Modeling with Apache CassandraAdvanced Data Modeling with Apache Cassandra
Advanced Data Modeling with Apache Cassandra
 
Advanced Cassandra
Advanced CassandraAdvanced Cassandra
Advanced Cassandra
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

Cassandra Summit 2014: Apache Cassandra on Pivotal CloudFoundry

  • 1. Cassandra on Pivotal CF Pivotal #CassandraSummit
  • 2. Tammer Saleh Director of Product Pivotal CF Services, London ! http://tammersaleh.com Pivotal #CassandraSummit
  • 3. Overview of Pivotal CF! Services API! Why Cassandra! Building Cassandra! Automating Cassandra Operations Pivotal #CassandraSummit
  • 4. Overview of Pivotal CF Pivotal #CassandraSummit
  • 5. $ cf push is golden. $ cf create-service p-cassandra development-plan eventsdb $ cf bind-service eventsdb dashboard $ cf push dashboard $ open https://dashboard.mypcf.com Pivotal #CassandraSummit
  • 7. Service Foo Broker DB Service Bar Broker DB Service Baz Broker DB Router Cloud Controller DEA DEA DEA Health Manager SSO provisioning / configuration / orchestration Runtime DEA vSphere BOSH Console Operations Manager AWS OpenStack Pivotal #CassandraSummit
  • 8. Services API Pivotal #CassandraSummit
  • 9. BOSH Router vSphere / AWS / OpenStack Operations Manager CF Runtime Application Instances Cloud Controller
  • 10. BOSH Router vSphere / AWS / OpenStack Operations Manager CF Runtime Cloud Controller Service Service Instances Service Broker Application Instances
  • 11. BOSH Router vSphere / AWS / OpenStack Operations Manager CF Runtime Cloud Controller Service Service Instances Service Broker Application Instances Catalog $ cf marketplace
  • 12. BOSH Router vSphere / AWS / OpenStack Operations Manager CF Runtime Cloud Controller Service Service Instances Service Broker Application Instances Provision instance Done $ cf create service foo
  • 13. CF Runtime Router Application Instances Cloud Controller Service Service Instances Service Broker Provision binding Binding info $ cf bind service my_app foo $VCAP_SERVICES={ "pgsql": [ { "name": "UUID", "plan": "small", "credentials": { "uri": “postgres://u:p@service_ip” } } ], … } Binding info
  • 14. CF Runtime Router Application Instances Cloud Controller Service Service Instances Service Broker $ cf bind service my_app foo App instance reads and writes directly to service instance.
  • 15. GET /v2/catalog What’s available? PUT /v2/service_instances/:id Create service DELETE /v2/service_instances/:id Delete service PUT /v2/service_instances/:id/service_bindings/:id Create binding DELETE /v2/service_instances/:id/service_bindings/:id Delete binding
  • 17. Insanely fast KV storage - The AK-47 of Databases
  • 19. Distributed, real-time search and analytics engine
  • 20. Simple and Fast NoSQL DB
  • 22. Next generation MySQL replacement.
  • 26.
  • 28. Why ? "In terms of scalability, there is a clear winner throughout our experiments. Cassandra achieves the highest throughput for the maximum number of nodes in all experiments." - University of Toronto, 2012
  • 29. Why ?
  • 30. Why ? Cassandra is truly cloud-scale.
  • 31. Why ? Multi-datacenter deployments are commonplace in the cloud.
  • 32. Building Cassandra Pivotal #CassandraSummit
  • 33. Services API Redux Service Plan Instance Binding Pivotal #CassandraSummit
  • 34. What is an Instance? Pivotal #CassandraSummit
  • 35. What is an Instance? Scales to the size of a single cluster.! Single Keyspace.! Good for development and testing. Part of a Shared Cluster Instance 1 (Keyspace) Instance 2 (Keyspace) Instance 3 (Keyspace) Cassandra Node Cassandra Node Cassandra Node VM VM VM Pivotal #CassandraSummit
  • 36. Keyspace visibility Pivotal #CassandraSummit
  • 37. Noisy Neighbours Pivotal #CassandraSummit
  • 39. What is an Instance? True production grade.! No noisy neighbours.! Expensive. Cluster of VMs Cassandra VM Cassandra VM Cassandra VM Instance 1 (Cluster of VMs) Cassandra VM Cassandra VM Cassandra VM Instance 2 (Cluster of VMs) Cassandra VM Cassandra VM Cassandra VM Instance 3 (Cluster of VMs) Pivotal #CassandraSummit
  • 40. What is an Instance? Looks identical to production.! Fairly good noisy neighbour isolation.! Constrained resources per instance. Cluster of Containers Cassandra Node Instance 1 (Cluster) Cassandra Node Cassandra Node Instance 2 (Cluster) Cassandra Node Instance 3 (Cluster) Cassandra Node Cassandra Node Cassandra Node Cassandra Node Cassandra Node VM VM VM Pivotal #CassandraSummit
  • 41. Automating Cassandra Operations Pivotal #CassandraSummit
  • 43. BOSH is… • Predictable! • Repeatable! • IaaS agnostic! • Built for large-scale deployments Pivotal #CassandraSummit
  • 44. BOSH Resurrector Pivotal #CassandraSummit
  • 45. BOSH Resurrector BOSH Director VM Agent VM Agent VM Agent hello! hey ! there! ahoy! Pivotal #CassandraSummit
  • 46. BOSH Resurrector BOSH Director VM Agent VM Agent VM Agent Pivotal #CassandraSummit
  • 47. BOSH Resurrector BOSH Director VM Agent VM Agent VM Agent IaaS STONITH! Pivotal #CassandraSummit
  • 48. BOSH Resurrector BOSH Director VM Agent VM Agent VM Agent IaaS Pivotal #CassandraSummit
  • 49. BOSH Resurrector BOSH Director VM Agent VM Agent IaaS Pivotal #CassandraSummit
  • 50. BOSH Resurrector BOSH Director VM Agent VM Agent IaaS Provision! Pivotal #CassandraSummit
  • 51. BOSH Resurrector BOSH Director VM Agent VM Agent IaaS VM Agent howdy! Pivotal #CassandraSummit
  • 53. NTPd! Accuracy vs Precision Pivotal #CassandraSummit
  • 54. Cassandra Node Cassandra Cassandra NTPd! ! Node Node https://blog.logentries.com/2014/03/synchronizing-clocks-in-a-cassandra-cluster-pt-2-solutions/ Pivotal #CassandraSummit
  • 55. Cassandra Node Cassandra Node NTPd! ! Cassandra Node NTPd! Server https://blog.logentries.com/2014/03/synchronizing-clocks-in-a-cassandra-cluster-pt-2-solutions/ Pivotal #CassandraSummit
  • 56. Cassandra NTPd! Server NTPd! ! Cassandra Node Node Cassandra Node Internet NTPd! Server NTPd! Server NTPd! Server https://blog.logentries.com/2014/03/synchronizing-clocks-in-a-cassandra-cluster-pt-2-solutions/ Pivotal #CassandraSummit
  • 57. Running repairs Pivotal #CassandraSummit
  • 58. Running repairs 1. When decommissioning the Node. 2. When the node has been down for N minutes. 3. Once per node per week within GC_GRACE_PERIOD Pivotal #CassandraSummit
  • 59. Services Are the Key to the Success of Pivotal CF Pivotal #CassandraSummit
  • 60. Thank you. If this interests you, we’re hiring CF engineers in SF and London. Tammer Saleh tsaleh@pivotal.io http://tammersaleh.com Pivotal #CassandraSummit