by antpls · 8y ago · 0 comments
- Is it possible to embed RedisGraph inside an Android application ?
- Given it is memory only, is it possible to "dump" the graph to local storage then restore it to memory later ?
Another question, more general : Given an X-only application (X being memory or disk), it is possible to emulate the API on top on the other, for example filesystem-in-memory and memory-on-disk (basically, swap I guess). Would you rather build an application using exclusively a Filesystem API, or exclusively a Memory-oriented API ?
Best Regards
But incase that's resolved or in the case of Intel CPU you'll have to embed a binary executable within your Android application, i'm pretty sure that's possible.
With regard to your second question, I think this a personal preference question, as I've been dealing mostly with in-memory applications for the past couple of years I'll prefer a memory oriented API.
That's how Redis operates. It happens automatically. You can also back every command that changes the graph to a durable transaction log.