Hey,
I am a bit curious about the accuracy of Timed Tasks when we use “time.Sleep()” in our workflow definition.
Do we have an expected accuracy level of Cloud/OSS servers?
For example 1ms accuracy or 10ms accuracy?
Thanks !
Hey,
I am a bit curious about the accuracy of Timed Tasks when we use “time.Sleep()” in our workflow definition.
Do we have an expected accuracy level of Cloud/OSS servers?
For example 1ms accuracy or 10ms accuracy?
Thanks !
The durable timer involves DB transactions and RPC calls. Also, time of processing depends on the availability of worker processes. So I wouldn’t count on timer accuracy below 1 second. And in case of worker downtime, it can be delayed for a long time.