Akka documentation says here: The ask operation involves creating an internal actor for handling this reply, which needs to have a timeout after which it is destroyed in order not to leak resources
Is there any way we can stop this internal actor creation?
If you still want to
ask
, then it will create that internal actor regardless, and there is no way to avoid.If you want to avoid the internal actor for whatever reason, you will have to use
tell
instead ofask
.