[infinispan-issues] [JBoss JIRA] (ISPN-8127) Prevent Hot Rod client from failing on certain scenarios
Sebastian Łaskawiec (JIRA)
issues at jboss.org
Mon Sep 18 04:16:01 EDT 2017
[ https://issues.jboss.org/browse/ISPN-8127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464959#comment-13464959 ]
Sebastian Łaskawiec commented on ISPN-8127:
-------------------------------------------
The most common example is using Infinispan Hot Rod client in Cloud environment for caching method results (via JCache or Spring Cache). In that scenario, when the server is down we shouldn't throw an exception but just return null. In such scenarios, missing value or server failure are equal to the client - it just needs to execute the expensive method (whether it's a DB call, going to a remote service - it doesn't matter).
> Prevent Hot Rod client from failing on certain scenarios
> --------------------------------------------------------
>
> Key: ISPN-8127
> URL: https://issues.jboss.org/browse/ISPN-8127
> Project: Infinispan
> Issue Type: Enhancement
> Components: Cloud Integrations, Remote Protocols
> Reporter: Sebastian Łaskawiec
>
> In some scenarios it should be possible to use Hot Rod client in graceful mode. It shouldn't fail when it can not contact the server (especially when {{putIfAbsent}} is concerned).
> As long as near caching is concerned, we could provide stale data in such scenario.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list