WORKSHOP SERIES | ON-DEMAND

Part 3 - CQRS and Projections for Queries

Hugh McKee, Developer Advocate at Lightbend, Inc.

Watch Akka Workshop Series

Part 1 Part 2 Part 3 Part 4 Part 5

Welcome to Part 3 of our five-part workshop series providing a guided, expert tour of implementing microservices with Akka Cloud Platform, Kubernetes, and Amazon Web Services or Google Cloud Platform. In this part, we look at the concepts of CQRS and Projections for queries, implementing event processing and distributing workloads across Akka Cluster, and finish with important messaging semantics in distributed systems.

Helpful resources:

  1. Akka Platform Guide section: Part 3 - CQRS and Projections for Queries:
    https://developer.lightbend.com/docs/akka-platform-guide/microservices-tutorial/projection-query.html

  2. Demo: Check out Hugh's Akka-based IoT demo “Where on Earth” to understand more about how CQRS and Akka Projections work:
    https://www.lightbend.com/blog/iot-building-digital-twins-with-akka-microservices

Go to other parts of this series:

About The Workshop Series

This 5-part workshop series provides a guided, expert tour of implementing microservices with Akka Cloud Platform and Kubernetes.

From code and concepts to deployment, this series enables Java and Scala developers to rapidly create a functioning proof-of-concept: a microservices-based, cloud native Reactive Shopping Cart application on Kubernetes. From there, deploying to a cloud provider of your choice—namely with Akka Cloud Platform on the AWS Marketplace—is just a few keystrokes away.

This workshop series will focus on:

  • Guided walkthrough of the Akka Platform Guide's “Reactive Shopping Cart” microservices tutorial, starting from scratch.
  • Explore the code and technologies within the sample application, and the Reactive Principles and Patterns behind it all.
  • Deploy and deliver a cutting edge, cloud native microservices proof of concept that you can share with your colleagues and management team.

Prerequisites:

  1. Visit the Akka Platform Guide development setup instructions to get prepared.
  2. Technologies required are Java 8+, favorite IDE, Maven, grpcurl, and Docker (plus Amazon Web Services account access for Part 5).