dotnet / dotnet/orleans

Activate reminders

Open
#7,405 3 comments 0 reactions 1 assignee Claimed by @benjaminpetit View on GitHub
question
Dominant language
C#
Stars
10.9k
Forks
2.1k
Avg merge
14h 42m
Merged PRs (30d)
354

Description

We are using an Azure Table as a storage for the Reminder Service. A fresh deployment comes with an empty table. When we start Silos no reminder grain is triggered as there is no registration stored in the Azure Table. What would be the best way to initialize the reminders? Should we do RegisterOrUpdateReminder in OnActivateAsync of the reminder grains, and try to activate the grains by reaching them. If so, what would be the best way to do in a multi-silo deployment? We tried to do it by participating in the silo's lifecycle and reaching the reminder grains in the stage ServiceLifecycleStage.Active, but it result in calling OnActivateAsync multiple times (one per silo).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.