3 ms·
Looks good! Two questions come to my mind : - Is it possible to embed RedisGraph inside an Android application ? - Given it is memory only, is it possible to
by antpls 9y ago
Looks good! Two questions come to my mind :
- 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
- dvirsky 9y ago> Given it is memory only, is it possible to "dump" the graph to local storage then restore it to memory later ? That's how Redis operates. It happens automatically. You can also back every command that changes the graph to a durable transaction log.
- swilly2 9y agoCan RedisGraph be embedded inside an Android application? I don't have much experience developing applications for Android but it mostly comes down to the underline architecture you're aiming for, although Redis 4.0 can run on ARM, RedisGraph currently can't as it access unaligned memory. 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.
- MR4D 9y agoThe main features list includes “On disk persistence”. Is that what you were looking for?