Re: Disable WriteBehind

2017-04-20 Thread Nikolai Tikhonov
Cache"); >>>>>>>>>>>>> //Sequence number for guid >>>>>>>>>>>>> IgniteAtomicSequence guidSeq = getGuidSeq(ignite, >>>>>>>>>>>>> targetCache); >>>>>

Re: Disable WriteBehind

2017-04-19 Thread waterg
tionService(targetCache, guidSeq); >>>>>>>>>>>> //load staging >>>>>>>>>>>> loadStaging(stagingCache); >>>>>>>>>>>> >>>>>>>>>>>> //p

Re: Disable WriteBehind

2017-04-19 Thread Nikolai Tikhonov
gt;> SqlQuery<>(StagingRec.class, getStagingSql()); >>>>>>>>>>> try (QueryCursor<Cache.Entry<String, StagingRec>> >>>>>>>>>>> cursor = stagingCache.query(sqlStg)) { >>>>>>>>>>> >>

Re: Disable WriteBehind

2017-04-18 Thread waterg
for (Cache.Entry<String, StagingRec> e : cursor) { >>>>>>>>>> Transaction tx = >>>>>>>>>> txs.txStart(TransactionConcurrency.PESSIMISTIC, >>>>>>>>>> TransactionIsolation.REPEATABLE_READ

Re: Disable WriteBehind

2017-04-17 Thread Nikolai Tikhonov
e.processStaging(e); >>>>>>>>> //stagingCache.remove(e.getKey()); //remove entry >>>>>>>>> from staging >>>>>>>>> tx.commit(); >>>>>>>>> }

Re: Disable WriteBehind

2017-04-14 Thread waterg
gt;>>> } >>>>>>>> >>>>>>>> In service.processStaging, the logic looks like this: >>>>>>>> >>>>>>>> if (condition1) { >>>>>>>> targetCache.put(key, valu

Re: Disable WriteBehind

2017-04-14 Thread Nikolai Tikhonov
targetCache.put(key, value); >>>>>>> } else if (condition2) { >>>>>>> targetCache.remove(key, value); >>>>>>> targetCache.put(key2, value2); >>>>>>> } >>>>>>> >>>>>>> Do you s

Re: Disable WriteBehind

2017-04-14 Thread waterg
ov-2 [via Apache Ignite >>>>>> Users] <[hidden email] >>>>>> <http:///user/SendEmail.jtp?type=node=11827=0>> wrote: >>>>>> >>>>>>> Could you share code snippet which your benchmarked? >>>>>>&

Re: Disable WriteBehind

2017-04-14 Thread Nikolai Tikhonov
the first cache as input >>>>>>> and output value to the second cache. >>>>>>> >>>>>>> The first cache has readThrough only. >>>>>>> >>>>>>> Part of the configurations for second caches are below:

Re: Disable WriteBehind

2017-04-11 Thread Nikolai Tikhonov
indexes on this cache. >>>>> >>>>> The other case is to set writeThrough and writeBehindEnabled to false. >>>>> I didn't change other settings. >>>>> Is there anything else that might be relevant to this case? >>>>> >>>&

Re: Disable WriteBehind

2017-04-10 Thread waterg
ai Tikhonov-2 [via Apache Ignite >>>> Users] <[hidden email] >>>> <http:///user/SendEmail.jtp?type=node=11792=0>> wrote: >>>> >>>>> It's strange. Could you share your configuration for both case? Also >>>>> could you de

Re: Disable WriteBehind

2017-04-10 Thread Nikolai Tikhonov
;>> It's strange. Could you share your configuration for both case? Also >>>> could you describe more your case? >>>> >>>> On Wed, Apr 5, 2017 at 8:45 PM, waterg <[hidden email] >>>> <http:///user/SendEmail.jtp?type=node=11789=

Re: Disable WriteBehind

2017-04-07 Thread waterg
PM, waterg <[hidden email] >>> <http:///user/SendEmail.jtp?type=node=11789=0>> wrote: >>> >>>> Thank you for the reply. >>>> Yes, I disabled both write through and write behind. >>>> We're trying evaluate the application's perfor

Re: Disable WriteBehind

2017-04-07 Thread Nikolai Tikhonov
disabled both write through and write behind. >>> We're trying evaluate the application's performance on ignite and by >>> taking >>> the persistent store out of equation, we thought the performance shall >>> improve, but on the contrary we saw performance drop

Re: Disable WriteBehind

2017-04-06 Thread waterg
this kind of behavior? >> >> >> >> -- >> View this message in context: http://apache-ignite-users.705 >> 18.x6.nabble.com/Disable-WriteBehind-tp11729p11763.html >> Sent from the Apache Ignite Users mailing list archive at Nabble.com. >> > > > >

Re: Disable WriteBehind

2017-04-06 Thread Nikolai Tikhonov
s message in context: http://apache-ignite-users. > 70518.x6.nabble.com/Disable-WriteBehind-tp11729p11763.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >

Re: Disable WriteBehind

2017-04-05 Thread waterg
would explain this kind of behavior? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Disable-WriteBehind-tp11729p11763.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Disable WriteBehind

2017-04-05 Thread Nikolai Tikhonov
Seems I misunderstood your question. Did you disable both writeThrough and writeBehind properties and got worse perfomance? On Wed, Apr 5, 2017 at 4:39 PM, Nikolai Tikhonov <ntikho...@apache.org> wrote: > Hi, > > Yes, it's expected behavior. If you disable writeBehind t

Re: Disable WriteBehind

2017-04-05 Thread Nikolai Tikhonov
Hi, Yes, it's expected behavior. If you disable writeBehind then each update will be propagated in underlying a store immediately and it's impact to performance. You can find more details in docs [1]. 1. https://apacheignite.readme.io/docs/persistent-store#section-write-behind-caching On Wed

Disable WriteBehind

2017-04-04 Thread waterg
this message in context: http://apache-ignite-users.70518.x6.nabble.com/Disable-WriteBehind-tp11729.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.