Akka.Net - how to properly analyse occasionally and remedy some rogue messages taking too long to be acted upon
Solution 1:
If I understood your issue correctly, upon receiving a message, it is forwarded to a downstream actor whose job is to call an external server? If that is the case, then Akka.NET is not at fault, why?:
-
Actors process message sequentially and won't process the next message unless the current message has been processed completely. The more time it takes to handle the current message the more time it takes for the next message to be handled.
-
Probably the external server is over loaded and not sending response quickly or maybe there is rate limiting turned on at the external server's side.
-
Probably the
httpclient
used by you needs fine-tuning!
If you can post a sample of your code, it will help in understanding your issue better!