Challenge 4 - Dapr Redis State Management

< Previous Challenge - Home - Next Challenge >

Introduction

In this challenge, you’re going to add Dapr state management in the TrafficControlService to store vehicle information.

Description

Dapr includes APIs that support stateful, long-running services with key/value storage. Services can use these APIs to leverage a variety of popular state stores, without adding or learning a third party SDK.

Furthermore, the Dapr state management building block provides several other features that would otherwise be complicated and error-prone to build yourself:

The following diagram shows the high level architecture:

Right now, this is all you need to know about this building block. If you want to get more detailed information, read introduction to the state management building block.

You will need to modify the services to use the Dapr state management block.

Success Criteria

This challenge targets the operation labeled as number 3 in the end-state setup:

Tips

Learning Resources