How does react-native-mmkv-storage store data under-the-hood?
When I was building SwiftStore - a KV store [1] for iOS, I went with LevelDB as the choice for the underlying database.
LevelDB because it's written in c++ and used widely as an embedded database. Integrating it as a static library in Objective-C is also fairly straight forward.
MMKV uses mmap to keep memory synced with file, and protobuf to encode/decode values, making the most of iOS/macOS to achieve best performance and uses c++
When I was building SwiftStore - a KV store [1] for iOS, I went with LevelDB as the choice for the underlying database.
LevelDB because it's written in c++ and used widely as an embedded database. Integrating it as a static library in Objective-C is also fairly straight forward.
[1] https://github.com/hemantasapkota/SwiftStore