Reputation: 39
I am trying to implement 3rd Party Persistence using Ignite.Net. I have implemented a CacheStore , wherein I am using Dapper as a 3rd Party ORM for database interaction in Load(),Write(),Delete() functions.
Can we make Load(),Write(),Delete() functions async ? Or do we have an async CacheStoreAdapter ?
Upvotes: 0
Views: 379
Reputation: 3591
You can use a cache store in write-behind mode. In this mode updates are collected and written to the underlying DB asynchronously with cache operations.
To enable it you should set CacheConfiguration#writeBehindEnabled configuration property to true.
Upvotes: 1