Faster syncing?

This post was last updated for 528 days ago, and the information may already be changed

hi, I'm trying the trial and the syncing is restricted to 30 seconds after the last input. That's way too slow and in practice it feels more like a couple minutes. On logseq it's 2 seconds after last input, and from last input to propagation it's about 10-15 seconds. On AnyType, it's almost instantaneous, from last input to propagation to new deviceit's about 2 seconds.

i'm considering the lifetime subscription, but I'd like to know if we can get faster syncing. For right now it's way too slow. I also noticed that if I type something on one page on one device, and then type somethingin the same document from another device, it completely overwrites the page, instead of actually merging.

    7 Reply

    Welcome to here!

    Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.

    Signup About
    Please input reply content ...
    • 88250

      Hello, if you want to sync at demand, try to press F9 to toggle sync. If multiple devices are online, the config item Settings - Cloud - Sync perception could enhance auto sync experience, thanks.

    • MonkCanatella
      Author

      Is there a buttin to sync on deman in IOS? I really think that syncing within a few seconds of last type is necessary - is there a way we can change this setting? That would make conflicts much less likely. Please allow us the option to sync 2 seconds after - or even better, let us select in seconds how often we want syncing to occur. Please, it is very vital to my use of SiYuan. And thank you for your excellent work, you have made my favorite PKMS

      1 Reply
    • 88250

      After the mobile device data is changed, a cloud icon will appear on the interface, click to synchronize.

      If the frequency of automatic synchronization is too high, system and network resources will be wasted. Considering that SiYuan is not a collaborative editing product, we do not use a synchronous algorithm for collaborative editing, but use incremental snapshots of files to achieve synchronization (similar to Git). It can guarantee performance and consistency in the case of a large number of files.

      Thank you for your trial and attention to SiYuan.

    • MonkCanatella
      Author

      So it's not up for consideration? If I just sync everytime I finish typing something it will have the same effect. I think you will find it's not resource heavy if you're only syncing the changes made and not the entirety of the database. It should be about as resource heavy as a chat app sending messages back and forth

      1 Reply
    • 88250

      Yes, the current synchronization mechanism will not consider changes for the time being.

      This is not quite like chat messages. Data synchronization also needs to consider external changes (for example, on the desktop, users may use other applications to change asset files, such as editing pictures), so we choose the incremental file snapshot solution. Before synchronization, it is necessary to traverse the file system to generate snapshots. If it is too frequent, it will cause a certain waste of system resources. In addition, each synchronization needs to download the snapshot index from the cloud, and network traffic will also be used.

      In summary, we will not consider reducing the synchronization interval for the time being, unless the user manually triggers the synchronization, thank you.

    • MonkCanatella 1
      Author

      I understand. However I strongly encourage you to consider allowing more rapid syncing, especially for only text updates. SiYuan is my favorite PKMS that I have encountered, but logseq and anytype and many others that aren't catered towards collaboration still have very rapid syncing.

      I understand if there's a lot of work to be done to change the syncing infrastructure, but if the paid offering is syncing and it has such severe limitations, it really makes it a poor value proposition. I highly encourage to be open to more robust syncing and improvements to syncing in general

    • zxhd86

      As far as I know, you can bind instant sync to a shortcut key to achieve fast sync. Equipped with the Sync perception function, I think it can solve your problem.

    Please input reply content ...