A tunnel is created for each sender, and when you ask it will be a different sender for each request. The tunnel actors will by default be stopped after 30 seconds of inactivity. When you use ask you should probably reduce this timeout to be similar to your ask timeout, a few seconds.
``` akka.cluster.client.receptionist.response-tunnel-receive-timeout = 3s ``` If that still doesn't solve your problem I think you should open an issue. Perhaps we can see that it's a ask request and close the tunnel immediately when the first reply is passed. Regards, Patrik On Mon, Apr 4, 2016 at 9:08 PM, lochsarun <[email protected]> wrote: > I have a Akka project utilizing the cluster client. I've found that > "ask"ing the ClusterReceptionist a large volume (100's) of questions > creates a large number of ClientResponseTunnel actors as children of the > ClusterReceptionist. Although the actor associated with the > ClusterReceptionist can be configured to use a custom dispatcher I haven't > figured out how to get the instances of ClientResponseTunnel off of the > default dispatcher. The result is that the default dispatcher gets flooded > with requests. Has anyone found a way of addressing this issue? Maybe > Akka should have configuration options to address this? > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Patrik Nordwall Akka Tech Lead Lightbend <http://www.lightbend.com/> - Reactive apps on the JVM Twitter: @patriknw -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
