MongoDB Realm
Hi guys, I am trying to build an application with Convex, I also looked up MangoDB realm briefly, it seems very similar in the backend serverless DB interactions, I just wonder what are the differences between Convex and Realm
3 Replies
Hi @juntk! Realm is pretty neat, we share some goals around building realtime, reactive UIs.
One big difference is the query language: Convex lets you write your backend transactions and express auth and business logic in JavaScript or TypeScript, while Realm has a custom, more limited query language.
Another is focus: Convex is built from the ground up to integrate with reactive frontend web frameworks like React, while Realm focuses on mobile development. Last I checked Realm didn't sync directly to a web client, you needed to use GraphQL instead.
Convex provides reactive queries directly in a web application, you don't need you own server to push updates to clients.
Mongo's subscription semantics seem to also be more limited than Convex's -- a collection of documents. Convex's subscriptions lets you transparently subscribe to any kind of update whatsoever, even joined/aggregated data from arbitrary places and through relationships
I see thanks! this is very helpful!