[infinispan-dev] Changing default Hot Rod client max retries

Sanne Grinovero sanne at infinispan.org
Wed Jun 1 05:34:25 EDT 2016

No objection, just not sure about the usefulness. I think what matters
for people is how long is it going to wait before it fails.

If it's a long time (i.e. 10 minutes) then you'd probably want it try
faster than waiting 5 minutes for the second try ... exponential
backoff sounds nicer than trying to find a reasonable balance in the
connection retries.

Another benefit of an exponential backoff strategy is that you could
allow the users to set an option to wait essentially forever (until
interrupted: nicer to allow this control to higher up stacks), which
could be useful for cloud deployments, microservices, etc..

On 1 June 2016 at 09:26, Galder Zamarreño <galder at redhat.com> wrote:
> Hi all,
> Java Hot Rod client has 10 max retries as default. This sounds a bit too much, and as I find the need to add similar configuration to JS client, I'm wondering whether this should be reduce to 3 for all clients, including Java, C* and JS clients.
> Any objections?
> Cheers,
> --
> Galder Zamarreño
> Infinispan, Red Hat
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

More information about the infinispan-dev mailing list