objectbox-java icon indicating copy to clipboard operation
objectbox-java copied to clipboard

Objectbox Sync Early Access

Open ramsundark5 opened this issue 5 years ago • 19 comments

Thanks for the wonderful library. When is objectbox sync going to be released? I signed up for early access a while back and have received no updates so far.

ramsundark5 avatar Jun 08 '19 04:06 ramsundark5

We're on it. Progress is looking good. So I guess a preview will be available soon? -Uwe

greenrobot-team avatar Jun 18 '19 05:06 greenrobot-team

Is there any update? At least some estimate?

devjn avatar Sep 17 '19 06:09 devjn

As usual, it's done when it's done. We don't/can't share any timelines.

greenrobot-team avatar Sep 17 '19 11:09 greenrobot-team

We are looking forward for this

jrcacd avatar Feb 14 '20 13:02 jrcacd

We are still waiting to explore this feature, Or guide us the way to build a custom solution for this feature. The most awaited feature is not released even after many years. I can't switch to another DB in middle of project. So this is just disappointed.

axebelk avatar Jun 16 '20 11:06 axebelk

We appreciate the work you have done and are continuing to do. Some of us chose Objectbox particular for the Sync feature and would really appreciate a rough estimate on this (next month, next year, in 5 years, never, etc) so we can plan for the future. A lot of us would gladly pay for this service, it would be much cheaper than building out and migrating to alternative solutions. A rough estimate or timeline would be much appreciated. Keep up the great work.

madra avatar Jul 03 '20 06:07 madra

A quick update on Sync status: We are currently working with select projects/use cases on early Sync implementation. If you're interested in learning more, please get in touch with us via the contact form on https://objectbox.io/sync/.

accoke avatar Jul 23 '20 14:07 accoke

I just started to implementing my own sync adapters. Your package ruined my time and business. Good bye

axebelk avatar Sep 01 '20 10:09 axebelk

@axebelk is your sync implementation is also open-source?

flatlanderer avatar Dec 12 '20 10:12 flatlanderer

An open question to Objectbox developers, from the website, says "ObjectBox has been running on 30k+ apps, and millions of devices" my question is, if Sync is still in beta, how did these 30k apps and millions of devices was able to sync their data to the server? Does it mean, all these usages are only used for local storage or temporary storage solution?

flatlanderer avatar Dec 12 '20 10:12 flatlanderer

@axebelk is your sync implementation is also open-source?

Not an open source project, I developed for my own project with mongodb + django as a backend.

axebelk avatar Dec 26 '20 05:12 axebelk

@greenrobot-team can ObjectBox work on a server environment? And can it work on a clustered environment for high-availability?

cyberquarks avatar Jan 08 '21 18:01 cyberquarks

@greenrobot-team Thanks for your great job, I want to know is Objectbox Sync also open-source and Free?

linisme avatar May 07 '21 04:05 linisme

AFAIK same as for "regular" ObjectBox the Java part is open source, the JNI/native parts are not. E.g. you can already see the sync related code as part of this repository: https://github.com/objectbox/objectbox-java/tree/main/objectbox-java/src/main/java/io/objectbox/sync

greenrobot-team avatar May 10 '21 11:05 greenrobot-team

@linisme looking at the code linked by @greenrobot-team it shows that the "sync" codes there are for your client app, the server implementation is still unknown.

Here's a code from the docs:

SyncClient syncClient 
    = Sync.client( 
            boxStore,  
            "wss://127.0.0.1" /* Use ws for unencrypted traffic. */,  
            SyncCredentials.apiKey("api-key")).build(); // Connect and start syncing.

So this WebSocket server is the real server to which ObjectBox will sync into.

https://github.com/objectbox/objectbox-java/blob/4cb0ca5df78161fdf8e02c0ea1770dda89896e26/objectbox-java/src/main/java/io/objectbox/sync/server/SyncServerImpl.java

There's also a native interface that I think does the actual "sync" to the server.

cyberquarks avatar Nov 08 '21 23:11 cyberquarks

@greenrobot-team can you confirm that ObjectBox Sync is not planned to be available for free in a scenario when the server part is hosted on clients' premises (not part of your paid cloud services)? My understanding is that Greenrobot will not publish the Sync server code for free download, am I right?

ddekanski avatar Jan 28 '22 08:01 ddekanski

@ddekanski I guess you should email about this ([email protected]) to learn more. This issue is more about discussing the technical stuff.

greenrobot-team avatar Jan 31 '22 06:01 greenrobot-team

Hi, How sync happen between two servers (e.g sync between server is in premises and cloud server ) any documentation available?

savilmehra avatar Oct 06 '22 06:10 savilmehra

@savilmehra There is no documentation currently that I am aware of. I suggest to email your ObjectBox contact about this.

greenrobot-team avatar Oct 10 '22 05:10 greenrobot-team