Realm: How I learned to love database again
summary
Compares SQLite and Core Data to Realm with concrete outcomes: replaced a Core Data app and finished conversion in about three hours, avoided Core Data’s failed schema migrations that corrupted shipped data, and gained zero-copy memory mapping for much lower memory use. Describes API specifics (Realm objects, one write transaction at a time, thread confinement), best practices (batch writes, use primary keys to re-query on other threads), and the new Realm Object Server / Realm Mobile Platform (syncs devices, tested to ~10k–100k users).
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:11Who am I
- 2:04Pokedex
- 3:52Secret Medic
- 7:10Takeaways
- 9:07Converting to Realm
- 10:48What is Realm
- 12:16How to use Realm
- 13:39Realm objects
- 16:06Realm results
- 16:47Zero copy architecture
- 17:25Live updates
- 18:36Best practices
- 19:49Write transactions
- 20:50Blocking operations
- 21:32Working across threads
- 22:04Single Realm Primary Keys
- 22:40Realm Object Server
- 27:35Questions
related talks
41mForget SQLite and say hello to Realm
43mRealm – a New, Easy to Use Mobile Database & Object Framework
19mReactive iOS App Development
23mCrafting Collaborative Apps with Realm
06mLightning talk from Scott Kyle
27mNetworking & Persistence in Mobile Applications at Scale
23mWhat's an App Without Data?
49mIs There an ORM Better Than SwiftData?
