ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shawn.du" <shawn...@neulion.com.cn>
Subject Re: persist only on delete
Date Tue, 07 Feb 2017 01:06:43 GMT
<html>
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
</head>
<body>
<style>
    font{
        line-height: 1.5;
    }
</style>
<div style = 'font-family:"微软雅黑"; font-size: 16px; color:#000000; line-height:1.5;'>
    <div>Hi Val,</div><div><br></div><div>Thanks very
much. <span style="font-size: 13px; line-height: 19.5px;">CacheInterceptor is the best
way.</span><div id="ntes-pcmail-signature" style="font-family:'微软雅黑'"><div
style="font-size:14px; padding: 0;  margin:0;"><div style="font-family:&quot;微软雅黑&quot;;
font-size: 13px; color:#000000"><div id="ntes-pcmail-signature-default" style="font-size:14px;
color:#000; text-decoration: none;">Shawn</div>
</div>
                </div>

</div><br>
</div><div class="J-reply" style="background-color:#f2f2f2;color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:45px;margin-bottom:20px;font-family:'微软雅黑';">
    <div style="font-size:14px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px">On
<span class="mail-date">02/7/2017 08:09</span>,<a class="mail-to" style="text-decoration:none;color:#2a97ff;"
href="mailto:valentin.kulichenko@gmail.com">vkulichenko&lt;valentin.kulichenko@gmail.com&gt;</a>
wrote: </div>
</div>
<blockquote id="ntes-pcmail-quote" style="margin: 0; padding: 0; font-size: 13px; font-family:
'微软雅黑';">
Hi&nbsp;Shawn,
<br>
<br>Your&nbsp;approach&nbsp;sounds&nbsp;a&nbsp;bit&nbsp;dangerous.&nbsp;Store&nbsp;is&nbsp;called&nbsp;within&nbsp;an&nbsp;entry&nbsp;lock,
<br>which&nbsp;means&nbsp;that&nbsp;if&nbsp;you&nbsp;do&nbsp;a&nbsp;distributed&nbsp;get&nbsp;there,&nbsp;you&nbsp;will&nbsp;likely&nbsp;get
<br>thread&nbsp;starvation.&nbsp;This&nbsp;should&nbsp;not&nbsp;happen&nbsp;on&nbsp;stable&nbsp;topology,&nbsp;but&nbsp;if&nbsp;another
<br>node&nbsp;fails&nbsp;or&nbsp;joins,&nbsp;you&nbsp;can&nbsp;get&nbsp;stuck.
<br>
<br>I&nbsp;think&nbsp;you&nbsp;should&nbsp;use&nbsp;interceptor&nbsp;instead:
<br>https://ignite.apache.org/releases/mobile/org/apache/ignite/cache/CacheInterceptor.html
<br>
<br>-Val
<br>
<br>
<br>
<br>--
<br>View&nbsp;this&nbsp;message&nbsp;in&nbsp;context:&nbsp;http://apache-ignite-users.70518.x6.nabble.com/persist-only-on-delete-tp10438p10461.html
<br>Sent&nbsp;from&nbsp;the&nbsp;Apache&nbsp;Ignite&nbsp;Users&nbsp;mailing&nbsp;list&nbsp;archive&nbsp;at&nbsp;Nabble.com.
<br></blockquote><style type="text/css">
        a#ntes-pcmail-signature-default:hover {
            text-decoration: underline;
            color: #3593db;
            cursor: pointer;
        }
    </style><style>
        font{
            line-height: 1.5;
        }
    </style>
</div>
</body>
</html>

Mime
View raw message