News for hackers. Stuff that matters.
Re:The First Object Database for Node: Introducing Realm Nod... by mwcampbell on Wednesday November 16, 2016 @03:20PM (#12971073)
I think this would be particularly useful for Sandstorm applications. Since Sandstorm's grain-based model means that you have many small databases instead of a single big one (or a relatively small number of big shards), an embedded database like Realm seems like a particularly good fit here. I wonder if kentonv or any of the other Sandstorm developers have any thoughts on this.
Re:The First Object Database for Node: Introducing Realm Nod... by kentonv on Wednesday November 16, 2016 @03:38PM (#12971248)
I don't know much about Realm, but what you say sounds correct.

Generally we like Sandstorm apps to use sqlite because it is well-optimized for the use case of a "small" (100k-1G) database on local storage with only one process accessing the database at a time. In this use case it doesn't make sense to have a separate process dedicated to the database, clustering is irrelevant, etc.

If Realm has similar properties then indeed it would work great for Sandstorm apps.