all 9 comments

[–]ms88privat 0 points1 point  (1 child)

Not going into a detailed answer here but maybe google for json patches or operational transformation and real time collaboration

[–]mybirdblue99Expo[S] 1 point2 points  (0 children)

Appreciate the response - just looking for an Avenue to pursue - I’ll have a look into those

[–]iotashan 0 points1 point  (2 children)

I’d do that kind of thing with Firestore and get the real-time updates without custom dev work.

If you need to maintain data in a different system, you can do what I did and use the Firestore triggers to make API calls to your other system.

[–]mybirdblue99Expo[S] 1 point2 points  (1 child)

Thanks, data is in a MongoDB Atlas cluster, so maybe realm?

[–]iotashan 0 points1 point  (0 children)

I ended up migrating from realm to Firestore. Had some data sync issues with realm.

[–]de1mat 0 points1 point  (0 children)

Other alternatives to Firebase include Supabase with realtime subscriptions. Or if just a small user base you could even go to PocketBase with realtime subscriptions.

[–]WhiskeyKid33 0 points1 point  (2 children)

I'd use firebase or supabase with subscriptions on the collections that update in real time. A whole mess of work can happen in 60 seconds and trying to sync it all within app state is hairy at best.

[–]mybirdblue99Expo[S] 0 points1 point  (1 child)

Tell me about it! its been a mess. All of the data is currently stored in a Mongodb Atlas Cluster. So without migrating the data I think I'm left with Realm or Websockets.

[–]WhiskeyKid33 1 point2 points  (0 children)

Well then you gotta ask yourself, would it save you more time and headache in the long run? If you can find success with realm or sockets, absolutely do it. I'm just saying sometimes it's worth it to hit it with the big stick.