Hacker News new | ask | show | jobs
by brmunk 4098 days ago
Hi, Brian from Realm here. Surely hard to find much info about the internals yet. We could and should absolutely share more about that in a blog post. And to be honest we have for a long time wanted to do that, but just prioritized to enhance the features and support people building apps. We will get back on that.
1 comments

Can you summarize it in a few sentences? It sounds like you've got interesting tech under the hood.
I'm not sure I can make it justice in a few words :-) But shortly:

The core has been developed from the ground up in C++ over the last 3 1/2 years. Realm’s efficiency comes from leveraging bit-packing, caching, vectorization, query algorithm innovations and a zero-copy architecture to realize gains in memory usage and speed. Data is stored in a single memory mapped file. It uses copy-on-write MVCC (Multi-Version-Concurrency-Control) allowing very efficient fully ACID serializable transactions.

The core is exceptionally fast, which we can leverage to make easy to use API's in the different languages (currently Java, ObjC, Swift and more to follow) and still maintain a speed and functionality advantage.

It is hard to describe in a few sentences, but keywords are bit-packing, cache awareness, vectorization and a zero-copy architecture.