Hi Ricky,

Here is a link to documentation [1].
Write behind will perform in async way. Yes, you should wait 5 sec for
flush.

[1]
https://apacheignite.readme.io/docs/persistent-store#write-behind-caching

On Thu, Apr 20, 2017 at 5:56 AM, Ricky Nauvaldy <[email protected]
> wrote:

> Hello, can you provide a tutorial for* write-behind* caching? (similar to
> the one on this page https://dzone.com/articles/apache-ignite-how-to-read-
> data-from-persistent-sto but for *write-behind*). My configuration is the
> same as in the example provided in that page above (MySQL database), with
> the transaction process is based on CacheTransactionExample.java provided
> in Ignite Examples, but this time I'm trying to learn how to do
> *write-behind*. I've already succeed in doing *write through*, but when I
> add the *write behind* configuration, it just won't write. What response
> should I expect when I use write behind? Will it wait for 5 seconds before
> it writes (e.g. using setWriteBehindFlushFrequency(5000) and
> setWriteBehindFlushSize(0))?
>
> Thanks for any help that you can provide.
>



-- 
Best regards,
Andrey V. Mashenkov

Reply via email to