Live data from Hacker News

Ditto: Real-time sync for apps even without the internet

ditto.live

81–89 of 89 posts

Re: Ditto: Real-time sync for apps even without the internet

#81
post #68

Earlier quoted context omitted.

We use multihop ad hoc network connections! That’s the BIG thing that we add to the mix!

That's pretty cool. Care to hint a bit at how your solution relates to aodv or batman?

I would say:

A) PouchDB, Couchbase, Firebase, Realm are all databases that can sync to a "master" node in the cloud.

B) AODV and BATMAN are really an ad-hoc mesh networking and routing protocol.

Ditto is both A and B. You work with Ditto as a database on your mobile, IoT, web app with common database functions (querying, updating, deleting etc...) and we will sync the changes between edge and cloud devices. Most developers cannot sensibly use AODV and BATMAN to build robust collaborative applications, it's too hard. We abstract all of the routing, network resiliency, and replication away from you; just work with the database

Re: Ditto: Real-time sync for apps even without the internet

#82

You had me at automatic conflict resolution. Definitely going to be trying this out, this looks amazing.

Thank you! After feedback from a lot of our customers, they want more access to explicit types so you'll see a lot more APIs to control how you want conflict resolution.

Re: Ditto: Real-time sync for apps even without the internet

#83
post #80

Earlier quoted context omitted.

This interpretation of the terms is straining it almost to the breaking point. The section you quoted says explicitly: "We do not allow our third-party service providers to use your Personal Information for their own purposes and only permit them to process your Personal Information for specified purposes and in accordance with our instructions, unless the data is rendered fully anonymous." You didn't quote this part…

Thank you for spending time reading privacy policies. I'm glad someone is looking at them. What keeps you motivated to do this (boring) work?

I'm mostly a software developer but I've long been interested in legal stuff on the side as long as I can remember. Not for career reasons, I just find it interesting. It's not always boring! For a nonprofit I've volunteered for for a long time, I ended up helping a lot with bylaws and policy writing. Reading the terms and policy documents of a company, in addition to learning the actual rules, gives you a glimpse into their culture (granted, a noisy glimpse - may mean nothing more than "founder doesn't give the terms any mindshare so just had their lawyer do everything bog-standard"). Terms/privacy policies are often a factor in products I choose to use (or not use).

Re: Ditto: Real-time sync for apps even without the internet

#84

Earlier quoted context omitted.

What political bias exactly do you think I’m exhibiting? An anti military bias is valid regardless, there are successful companies that choose not to engage Btw my post was asking what the air force is using it for. I know they do a variety of things that’s why I asked. edit: Thank you, below, for the details - so my guesses were more or less "spot on" (communication systems connectivity for things they put in the ai…

Military contracts are public information. From the looks of their SBIR profile they have been doing R&D for resilient communications applications. https://www.sbir.gov/node/1629457

Thanks - unbelievable how downvoted this question is when the answer is indeed that they are helping with weapons development

Re: Ditto: Real-time sync for apps even without the internet

#85
post #19
post #13

Very cool project - I wonder if they shouldn't go the "Free for open-source/education projects" route though? With the current offering, I feel at anytime there could be a "takeover" by a well-run open-source initiative and "everyone loses".

Why does "everyone lose" if a well-run open source initiative forks it and runs it better? That seems like like an improvement for everyone except maybe the original maintainer of the project, if they don't want to join up with the rest of the people.

I was thinking that users will have to use a "worse" (less features) open-source alternative for years until it comes to parity.

If its a niche thing, the community for each software could be cut in half, etc.

Re: Ditto: Real-time sync for apps even without the internet

#86

This looks cool. Are there comparable open source projects? How do Y.js ( https://yjs.dev ) and Gun ( https://gun.js.org ) compare?

We have a mesh network that syncs devices using P2P wifi, BLE and over a LAN as well! I think this is our biggest differentiator compared to other sync systems.

Do you think it'd be possible to use your mesh network layer as a generalized network transport? e.g., I have ethernet, wifi, and BLE devices, and the BLE device is able to access the network and/or internet via one of the other two devices?

Re: Ditto: Real-time sync for apps even without the internet

#87
post #86

Earlier quoted context omitted.

We have a mesh network that syncs devices using P2P wifi, BLE and over a LAN as well! I think this is our biggest differentiator compared to other sync systems.

Do you think it'd be possible to use your mesh network layer as a generalized network transport? e.g., I have ethernet, wifi, and BLE devices, and the BLE device is able to access the network and/or internet via one of the other two devices?

(Ditto developer here) Yes most definitely! We are rolling out a feature called Ditto Bus which lets you open reliable or lossy streams for arbitrary data flows between between your device and another in the mesh. Each stream flows over any transport available and will multihop via the most efficient path if needed. An early version of this is already available in the iOS SDK.

It's a powerful building block that can be used for proxying any kind of other traffic, either yourself as an app developer or if we end up providing proxy/VPN/other functionality as part of the Ditto SDK.

Re: Ditto: Real-time sync for apps even without the internet

#88
post #86

Earlier quoted context omitted.

Do you think it'd be possible to use your mesh network layer as a generalized network transport? e.g., I have ethernet, wifi, and BLE devices, and the BLE device is able to access the network and/or internet via one of the other two devices?

(Ditto developer here) Yes most definitely! We are rolling out a feature called Ditto Bus which lets you open reliable or lossy streams for arbitrary data flows between between your device and another in the mesh. Each stream flows over any transport available and will multihop via the most efficient path if needed. An early version of this is already available in the iOS SDK. It's a powerful building block that can…

I don't have an iOS device but I'm looking forward to seeing this on other platforms!

Re: Ditto: Real-time sync for apps even without the internet

#89
post #86

Earlier quoted context omitted.

Do you think it'd be possible to use your mesh network layer as a generalized network transport? e.g., I have ethernet, wifi, and BLE devices, and the BLE device is able to access the network and/or internet via one of the other two devices?

(Ditto developer here) Yes most definitely! We are rolling out a feature called Ditto Bus which lets you open reliable or lossy streams for arbitrary data flows between between your device and another in the mesh. Each stream flows over any transport available and will multihop via the most efficient path if needed. An early version of this is already available in the iOS SDK. It's a powerful building block that can…

slightly o/t: do you have any stats for end to end latency between n number of nodes, and between the different connectivity types? I'm curious how workable this would be for a game with real time logic.
Post reply on HN