Presented By O'Reilly and Cloudera
Make Data Work
September 26–27, 2016: Training
September 27–29, 2016: Tutorials & Conference
New York, NY

Data modeling for microservices with Cassandra and Spark

Jeffrey Carpenter (DataStax)
4:35pm–5:15pm Thursday, 09/29/2016
Data innovations
Location: 3D 10 Level: Intermediate
Average rating: ****.
(4.33, 3 ratings)

Prerequisite knowledge

  • A basic understanding of data modeling principles
  • Basic familiarity with Cassandra or other nonrelational databases
  • What you'll learn

  • Understand how a well-designed data model can be a key enabler of architecture stability and performance for both transactional (OLTP) and analytics (OLAP) systems, helping to drive the boundaries both within and between systems in ways that promote extensibility and loose coupling
  • Description

    Choice Hotels International is in the midst of a multiyear transformation that is changing key elements of its IT enterprise—replacing its monolithic central reservation system with a cloud-based, microservice-style architecture using Cassandra as the backend. A parallel project is replacing its enterprise data warehouse and reporting systems with an advanced analytics platform based on Spark and Kafka.

    Jeff Carpenter describes the key role that data modeling played in helping to define the architectures of these new systems. Along the way, Jeff highlights several of the challenges Choice Hotels faced, including achieving transactional behavior across distributed services, accessing historical data from online systems, and maintaining an extensible data design when new features are added.

    Topics include:

    • Using bounded contexts to identify microservices and data ownership
    • Defining data types for RESTful APIs and asynchronous events
    • Creating extensible Cassandra schema designs
    • Incorporating common metadata into APIs, logs, metrics, and events to enable diagnostics and analytics
    Photo of Jeffrey Carpenter

    Jeffrey Carpenter


    Jeff Carpenter is a technology evangelist at DataStax, where he leverages his background in system architecture, microservices and Apache Cassandra to help empower developers and operations engineers build distributed systems that are scalable, reliable, and secure. Jeff has worked on projects ranging from a complex battle planning system in an austere network environment, to a cloud-based hotel reservation system and is the author of Cassandra: The Definitive Guide, 2nd Edition.