Reputation: 7285
This is probably a very trivial question but just want to ask (after doing my initial search). The persistent SF actor gets garbage collected after 60 minutes(default) of being idle(not used). Will the ReceiveReminderAsync
still gets called if I have a reminder created with a period of more than 60 minutes ?
Upvotes: 0
Views: 402
Reputation: 33071
Reminders are a mechanism to trigger persistent callbacks on an actor at specified times. They are similar to timers, but unlike timers reminders are triggered under all circumstances until the actor explicitly unregisters them or the actor is deleted. Actors are triggered across actor deactivations and failovers because the Actors runtime persists information about the actor's reminders.
Upvotes: 0
Reputation: 4482
Unless I'm wrong, the actorservice will spin up a new actor as necessary. See this briliant answer with sample code here Service Fabric Reminders
Upvotes: 0