Akka.Persistence.Reminders icon indicating copy to clipboard operation
Akka.Persistence.Reminders copied to clipboard

Sliding reminders

Open Zetanova opened this issue 6 years ago • 2 comments
trafficstars

If the requirement of a reminder is that it only need to triggers every short-period but beside that has no other requirement then an option is needed to suppress the persistence of completition events into the event stream.

An example would be a heartbeat that sends a pulse message to a ConsistentHashing router to ensure that multiple instances of a service are instantiated. The period would be 30-180sec and to save completed-events into the event stream would only pollute it.

Zetanova avatar Sep 07 '19 16:09 Zetanova

Why using a traditional akka.net scheduler would be a no go in this scenario?

Horusiath avatar Sep 08 '19 17:09 Horusiath

Yes it would work, the result would be the same. ServiceA sends to a remote-service a request, that it needs to send pulse message to an address back.

I only searched for some kind of finished library, so i can use it for task, heartbeat with persistence.

Zetanova avatar Sep 08 '19 19:09 Zetanova