juntk
juntk3y ago

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
ballingt
ballingt3y ago
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.
jamwt
jamwt3y ago
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
juntk
juntkOP3y ago
I see thanks! this is very helpful!

Did you find this page helpful?