BT

Realm Mobile Platform to Enable Reactive Mobile Apps with Data Sync and Event Handling

| by Sergio De Simone Follow 14 Followers on Oct 01, 2016. Estimated reading time: 1 minute |

Realm introduced its new mobile development platform aiming to provide seamless realtime synchronization, conflict resolution, and reactive event handling. Furthermore, its client-side database is now fully open-source.

Realm Mobile Platform integrates the Realm Mobile Database with the new Realm Object Server to provide its features across multiple mobile device platforms, including iOS, Android, and watchOS.

One of the key aspects of the Realm Mobile Database is its being an object graph manager aiming to provide a direct representation of an app’s model, similarly to Apple’s Core Data. Realm Object Server extends that philosophy by providing the abstraction of live objects, which are, Realm claims, seamlessly and automatically kept in sync with objects on different devices without ever requiring the programmer to write networking code. A fundamental feature for this to be possible is automatic conflict resolution, which is required when competing changes to shared live objects are submitted at the same time. Realm’s approach to conflict resolution aims to provide strong eventual consistency, which ensures that both sides always converge to the same result even when they apply changes in a different order. This is accomplished by following a few basic rules, including:

  • If an object is deleted, then it remains deleted even if another device updates it later.
  • If two devices update the same property, the last change prevails.
  • If two devices add an item to the end of the list, the two items are appended according to their insertion time.

Thanks to automatic conflict resolution, says Realm, developers can easily build apps that work properly despite lost or intermittent connectivity.

Another interesting feature of Realm Mobile Platform, albeit only available in its premium enterprise edition, is event handling. This makes it possible to define server-side handlers that are triggered by an object’s state change as soon as it is propagated to the server, and thus enables the design of apps implementing a serverless architecture.

Realm Object Server can be deployed on-premises or run on public cloud, including on AWS, Azure, etc. Realm is offering its Mobile Platform in two tiers: a free developer edition and a premium enterprise edition which also includes event handling.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT