Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

How can I contribute to the Realm Object Server codebase? #148

Closed
neokree opened this issue Mar 15, 2017 · 3 comments
Closed

How can I contribute to the Realm Object Server codebase? #148

neokree opened this issue Mar 15, 2017 · 3 comments
Assignees
Labels

Comments

@neokree
Copy link

neokree commented Mar 15, 2017

Hi to all the Realm team.
I have searched for the realm object server sources because I want to contribute to the project.
However I cannot find any github repo for that.
It is closed source at this time or I'm missing something?

Thank you for your time

@bmunkholm
Copy link
Contributor

@neokree Awesome of you to want to contribute - we appreciate that!
Unfortunately it is closed source at the moment and the foreseeable future. Only the core database is open sourced for now. But perhaps it's the specific sync parts you are interested in? Let me know in which way you want to help the project. There could be other ways to help advance the development. It could be in testing and replicating issues for instance - if not core or SDK work.

@neokree
Copy link
Author

neokree commented Mar 15, 2017

Yes I'm interested in the permission and "partial sync" feature from #22.
Because Realm Object Server could be perfect for my project use case, but without these two features I cannot use it without have a serious security and big data syncing problems (for instance, use a global realm sync between all users). I'm sure that you have a lot work to do, so implement these features by myself was the fastest way I thought.
Anyway I will continue to stay updated with your releases.
Thank you for your support!

@istx25 istx25 added the T-Help label Mar 15, 2017
@istx25 istx25 changed the title Realm Object Server sources How can I contribute to the Realm Object Server codebase? Mar 15, 2017
@omidraha
Copy link

omidraha commented Sep 16, 2017

Hi,

Is there any source code for syncing process section, or technical post about how syncing is done?

Currently i use realm on the client side,
But, for some reason i can't use object server on the server side,
So i want to implement simple small application for sync data between client and server on the server side. (and also one background task on the client side)

Actually i just want to know what is standard algorithm on this section:
How server can track/keep difference/detect new/deleted and modified records (also some new records generate on the server side for user) for each of multiple devices of one user from the client side on the server?

Also i think i have some limitation for that, because on the client side:

  • Realm doesn't support null value for primary key #2634 (RealmPrimaryKeyConstraintException)
  • Realm doesn't support for update primary key #3589
  • The Realm.createOrUpdateAllFromJson method identify objects only by their primary key, and we can't set another custom field lookup for that. #3758
  • Realm doesn't support compound primary keys #1129
  • Realm doesn't support for cascading deletes #11104, #746
  • Realm doesn't support for Inheritance / Polymorphism #761

For prevent conflicting, i wish to generate id (UUID) on the server side, so i want to left objects without id that is generated on the client side, and on the sync process i will get id of them from server and update them for ids.

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants