VP Product at Realm here. Thanks to everyone on HN for the support over the years! We came out of YC in Summer 11 and it’s been a fantastic ride growing over the past few years. Would love to hear y’alls thoughts on what we should add next. Is there any reason why you’d still use SQLite?
Realm 1.0
71–80 of 112 posts
Re: Realm 1.0
#72Re: Realm 1.0
#73Realm is awesome! I have been using it for a year now in a large production iOS/swift app with great success. Great job on the recent additions to the more fine grain notifications, with this I was recently able to reduce my own code, simplify and increase performance! Core data is good and a powerful weapon, and certainly educational to learn its approach and how to use it effectively. I sometimes ponder if going th…
Re: Realm 1.0
#74+1 for not just telling us what Realm is, but for showing us (with inline code), and for supporting React Native :)
Re: Realm 1.0
#75VP Product at Realm here. Thanks to everyone on HN for the support over the years! We came out of YC in Summer 11 and it’s been a fantastic ride growing over the past few years. Would love to hear y’alls thoughts on what we should add next. Is there any reason why you’d still use SQLite?
I'm looking for a good geospatial data store that works on mobile devices. Ran into an issue where Spatialite used to corrupt databases larger than 2GB on Android (as in, run md5sum on the database, open it read-only, run another md5sum, notice they've changed.) At the time when I investigated this, the Android support was scattered across both the initial project and a secondary build with a vendored Spatialite, it…
Re: Realm 1.0
#76VP Product at Realm here. Thanks to everyone on HN for the support over the years! We came out of YC in Summer 11 and it’s been a fantastic ride growing over the past few years. Would love to hear y’alls thoughts on what we should add next. Is there any reason why you’d still use SQLite?
1) When I see that a library has a note about threading, I generally expect that it will either be "its thread safe" or "these operations are not thread safe and you need your own synchronization." I think having no ability to share realms/objects across threads is really unusual, and it would be better if the docs made that requirement clearer at the beginning.
2) My use case was reasonably simple - background thread A listens for messages about some expensive work to do, it updates the UI thread with the work, and then it spawns thread B to do that expensive work and keeps listening, thread B updates the worklist on the UI thread on completion. Based on my understanding of realm, I was going to have 3 copies of each object, one on each thread. Traditionally, I would expect one in-memory copy, with the threads using synchronized methods to modify the data. Then, when thread B completes, it just updates its work item and then notifies the UI thread to re-render.
Maybe I misunderstood it, or there is some really simple architecture to handle this issue, but that is how it seemed to me from the documentation.
Re: Realm 1.0
#77Realm is awesome! I have been using it for a year now in a large production iOS/swift app with great success. Great job on the recent additions to the more fine grain notifications, with this I was recently able to reduce my own code, simplify and increase performance! Core data is good and a powerful weapon, and certainly educational to learn its approach and how to use it effectively. I sometimes ponder if going th…
What's the benefit of using realm instead of Sqlite + an ORM ?
1. Since Realm is not a relational database with an ORM, we don't run into the impedance mismatch. Relationships are first-class citizens.
2. Realm uses a zero-copy architecture. Objects and collections are lazy loaded offering benefits to both memory use and speed.
Re: Realm 1.0
#78Earlier quoted context omitted.
I'm looking for a good geospatial data store that works on mobile devices. Ran into an issue where Spatialite used to corrupt databases larger than 2GB on Android (as in, run md5sum on the database, open it read-only, run another md5sum, notice they've changed.) At the time when I investigated this, the Android support was scattered across both the initial project and a secondary build with a vendored Spatialite, it…
This isn't Realm related, but Lucene has a spatial extension. And Lucene has been ported to Android. So maybe you could use that.