Actor mailbox delays when service is hosted as an Azure App Service #6117
CalumPeebles
started this conversation in
General
Replies: 1 comment 8 replies
-
@CalumPeebles so a 2-second delay between By any chance, does this only happen the first time the application has been used in a while? i.e. is this an infrequently used service? Or is this a regular issue that occurs with a system that has a consistent amount of traffic? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been having an issue for a while now (around 2 months) where I'm experiencing delays only when the service is ran as an Azure App Service. There are often delays of up to 2 seconds between the IActorRef.Tell() call and the message being picked up by the recipient actor, even when there are no messages being waited for.
I've only seen this happen when running the service as an Azure App Service, it works fine on my laptop and on an Azure Windows 11 VM with much lower RAM and CPU capacity than the App Service plan. The service is lightweight and I've tried increasing the App Service plan to an insanely high spec one and the issue still occurs, so that rules out computing power as the cause.
The technical support team at Azure have been looking into it for nearly 2 months but are stumped as they have little knowledge of akka.net and haven't been able to debug it properly.
Has anyone else experienced this? Or know what might be causing it?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions