Version 1.0
Cassandra API in Cosmos DB
Exploring CosmosDB’s relationship to Cassandra
Obioma Anomnachi
Engineer @ Anant
CosmosDB Overview
● Cosmos DB is a managed NoSQL database that is part of Microsoft’s Azure cloud offerings
â—Ź Cosmos DB shares some traits with Cassandra
â—‹ Distributed - Both CosmosDB and Cassandra can be distributed globally
â—‹ Horizontally scalable - Both NoSQL databases can be scaled via the addition of more hardware (as
contrasted with vertical scalability, the replacement of current hardware with better versions)
â—Ź Cosmos DB backs a number of other microsoft applications
â—‹ Microsoft Office, Skype and XBOX
â—Ź Cosmos DB is multi-model
Multi-model APIs
● Generally, Cosmos DB stores “items” in “containers”
○ Each model’s API maps those into model specific concepts
â—‹ Base SQL API, as well as MongoDB API (document database), Gremlin API (graph database), etcd (key, value
store)
â—‹ Each API also allows connection via drivers native to the APIs related technologies
Cosmos DB and Cassandra
â—Ź Cosmos DB Cassandra API allows storage of data in CosmosDB using Cassandra protocol
â—‹ Can connect with standard Cassandra drivers
â—‹ Can connect via cqlsh
â—Ź Compatible with (and separate from) Azure Managed Instance for Apache Cassandra
Demo
â—Ź https://github.com/Anant/cassandra.api
Resources
â—Ź Quickstart: Cassandra API with Python - Azure Cosmos DB
â—Ź Apache Cassandra features supported by Azure Cosmos DB Cassandra API
Strategy: Scalable Fast Data
Architecture: Cassandra, Spark, Kafka
Engineering: Node, Python, JVM,CLR
Operations: Cloud, Container
Rescue: Downtime!! I need help.
www.anant.us | solutions@anant.us | (855) 262-6826
3 Washington Circle, NW | Suite 301 | Washington, DC 20037

Apache Cassandra Lunch #79: Cassandra API in Cosmos DB

  • 1.
    Version 1.0 Cassandra APIin Cosmos DB Exploring CosmosDB’s relationship to Cassandra Obioma Anomnachi Engineer @ Anant
  • 2.
    CosmosDB Overview ● CosmosDB is a managed NoSQL database that is part of Microsoft’s Azure cloud offerings ● Cosmos DB shares some traits with Cassandra ○ Distributed - Both CosmosDB and Cassandra can be distributed globally ○ Horizontally scalable - Both NoSQL databases can be scaled via the addition of more hardware (as contrasted with vertical scalability, the replacement of current hardware with better versions) ● Cosmos DB backs a number of other microsoft applications ○ Microsoft Office, Skype and XBOX ● Cosmos DB is multi-model
  • 3.
    Multi-model APIs ● Generally,Cosmos DB stores “items” in “containers” ○ Each model’s API maps those into model specific concepts ○ Base SQL API, as well as MongoDB API (document database), Gremlin API (graph database), etcd (key, value store) ○ Each API also allows connection via drivers native to the APIs related technologies
  • 4.
    Cosmos DB andCassandra â—Ź Cosmos DB Cassandra API allows storage of data in CosmosDB using Cassandra protocol â—‹ Can connect with standard Cassandra drivers â—‹ Can connect via cqlsh â—Ź Compatible with (and separate from) Azure Managed Instance for Apache Cassandra
  • 5.
  • 6.
    Resources â—Ź Quickstart: CassandraAPI with Python - Azure Cosmos DB â—Ź Apache Cassandra features supported by Azure Cosmos DB Cassandra API
  • 7.
    Strategy: Scalable FastData Architecture: Cassandra, Spark, Kafka Engineering: Node, Python, JVM,CLR Operations: Cloud, Container Rescue: Downtime!! I need help. www.anant.us | solutions@anant.us | (855) 262-6826 3 Washington Circle, NW | Suite 301 | Washington, DC 20037