News for hackers. Stuff that matters.

rikkimaru

Switched from CoreData to Realm for a database-heavy communications iOS app. Been using it for about 6 months, so not an expert, but I've done some interesting stuff with it :)

Main benefits I saw:

  * faster performance
  * simpler multi-threading
  * built-in encryption based on ios' commoncrypto (fips 140-2 module)
  * fast response time to questions on github (in 3 cases)
Main drawbacks:

  * no icloud syncing. I need to check out the new syncing stuff...
  * new-ish database so does not have ALL features (e.g., multi-process encrypted access). They appear to work quickly to implement features the community cares about.
  * performance is fairly "magical". I understand normal database query performance, realm is different...
  * No in-place VACCUUM-type functionality. I've had issues with the realm database file growing unexpectedly large.