Skip to content

cse-southeast-devcrew/openhack-durable-entities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Hack for Durable Entities using C#

Introduction

The objective of this repository is to provide its user with a set of challenges which will help them learn about Azure Functions Durable Entities.

Durable Functions

Durable Functions are extensions of Azure Functions that let you build services with maintain state with in a serverless compute environment.

This helps us address business scenarios which may require processing to be spread over time due to need for certain data that may arrive at different intervals.

Use case for this Open Hack

The use case for this Open Hack is inspired by a real life business scenario that occurs regularly at the stores. The business requirements however have been scoped to a solution that can be developed with the time bounds of the Open Hack.

Associates in the store require an accurate and frequently updated view of the inventory in the store as the on hand counts and shipments come in.

A independent On Hand count and Shipment feed into a central database via different systems. The objective to process and update the view for the associate in the store.

Open Hack Scenario

Business Rule: Reconciling - On Hand Count and Shipment Updates

The business rule for this use case is kept deliberately simple; it does not fully reflect the business rules dictating actual scenarios in stores.

For each item in a particular store:

  • Shipment: will increment the count of items in the inventory for the store.
  • On Hand: will replace the count of items in the inventory for the store.

Open Hack Methodology

To complete the open hack, the participant will have to go through a series of challenges. The challenges are:

  • Challenge 0: Set up and verify your development environment with Visual Studio
  • Challenge 1: Hook up Change Feed listeners using Azure Functions.
  • Challenge 2: Use change feed listener to communicate with Durable Entities representing each store.
  • Challenge 3: Final challenge, use the durable entities to update the Master Data Store.

Prerequisites for the Open Hack

Reviewing the Solution Design

Let's start by reviewing the solution design for the use case using virtual actors implemented as using Azure Functions Durable Entities. Click here to navigate to the solution design document.

About

Open Hack challanges to up skill on Azure Functions Durable Entities using C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •