Temporal

Customer Workflows in Loyalty Programs with Temporal

Aug 3, 2023
Customer Workflows in Loyalty Programs with Temporal
SummaryAI, from the source post

This post demonstrates how to implement the Actor Model's core principles (message sending/receiving, state maintenance, actor creation) using Temporal Workflows. It provides a concrete example of a customer loyalty program, detailing the implementation of Signal handlers for 'addPoints' and 'cancelAccount', and the use of `workflow.NewSelector` to manage incoming messages. It also discusses the implications of event history size for long-lived workflows and the use of Continue-As-New.

More from the Durable Execution trail