Search code examples
ignite

How to write query result to persistent store


I did some query against a cache, and I want to save the query result to a persist store, eg, mysql db.

I would ask what's the recommended way to accomplish this? Is there some code example for reference? Thanks!


Solution

  • If you need this data in cache as well, use write-through. Otherwise, just update your DB directly. I don't see how Ignite can participate in this process.