I was doing a React-Native project. I was required to save data locally and then I decided to this in Realm.
Soon I found out it has pricing options for cloud database. I'm not able to find out if this DB can use an alternative like sqlite or CoreData like it has mentioned:
"Used by 100k+ developers and downloaded over two billion times. Realm Database is a fast, easy to use, and open source alternative to SQLite and Core Data."
Can I use Realm for free for saving data locally?
The database itself is free and open source. Realm for Android appeared in 2014 and has been constantly evolving since then.
Working with Realm is much easier than with CoreData. The fact is that in order to use CoreData, you need a deep understanding of the API. In the case of Realm, everything is rather simpler. CoreData manages objects explicitly in a ManagedObjectContext which you must save when making any changes.
Thus, the tests show that Realm is faster than SQLite and Room. You can learn more about this performance comparison here.
Realm is an open source object database management system, initially for mobile operating systems (Android/iOS) but also available for platforms such as Xamarin, React Native, and others, including desktop applications (Windows), and is licensed under the Apache License.
I spent considerable amount of time and found out :
Self hosted “realm platform/ros” - not free starting 3.5.0
“Realm platform/ros” - not open source
“Realm platform/ros” - data integration needs license/unmaintained/create data connector/create APIs
“Realm platform/ros and cloud” - data querying/exporting
Hope this saves time for other readers !
Yes definitely you can use Realm
for free to save unlimited data locally. Realm
is only charging for cloud storage
.
Realm Cloud Storage Pricing
I currently use realm in a production application with exactly this use case. Pros: Fast read and writes good documentation. Cons: Models get messy Clogs up JS thread Impossible to debug Realm objects make tranlating to the redux store a major pain
My advice is use watermelonDb
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With