Code Monkey home page Code Monkey logo

Comments (4)

vrtmrz avatar vrtmrz commented on July 17, 2024

Thank you for opening the issue and detailed information!

If the file changes are not watched, we have to scan the files before synchronisation to see which files have actually been changed. This also can be a bit costly process with 2000 files.

a) Only update the local PouchDB when an actual replication is triggered, rigth before the actual synchronisation with the remote DB takes place ... or - in case this impeeds some other use cases/capabilities of the plugin ...

Actually, this is the Batch database update (And sorry, not related to the term Batch of Batch size in synchronisation. I regret to name it so misleading). Aeroplane icons indicate files which are being pended to read. This has got quite less cost since v0.22.16.
Could you please check when the lag has happened? -- with an aeroplane, or with an hourglass?

And, to check one more possibility. Would you mind trying file editing by disabling all status icons in Appearance of General Settings?

from obsidian-livesync.

czenk avatar czenk commented on July 17, 2024

Thank you so much for looking into my issue and for taking the time to respond.
Incorporating your advise and explanations I will do some extended testing and report back once done.

from obsidian-livesync.

czenk avatar czenk commented on July 17, 2024

Hi,
Update on my experience regarding STORAGE -> DB activity in "batch" mode:

  1. In this mode on Windows, the logs show updates from storage to DB when the changed note loses focus (e.g. when switching to another tab)
  2. In this mode on iPad, the logs show updates from storage to DB every 5-10 seconds when the note gets changed.
    During test on the iPad all status indicators were switched off.

The behaviour from 2. is undesired as it a) causes unnecessary battery drain, b) needs compute power which can cause lag depending on the load of the mobile device, vault configuration and vault size.
Is the problem "in front of the keyboard" (<-which would be me not configuring your plugin correctly ;-) or is your plugin behaving like this by design? Do feel free to let me know with what additional information I can assist in tracking down the issue (I can imagine that you may need more info to work with).

Thank you very much for your efforts and for providing the community with a plugin that has the potential to extend Obsidian to business cases that require an alternative option for data governance.

from obsidian-livesync.

czenk avatar czenk commented on July 17, 2024

Thank you very much for the new release 0.22.17.
Just did some testing against it. Unfortunately the situation has not improved. Both on Windows and iPad the 'STORAGE -> DB' activity can bee seen every few seconds when a note is changed.
In the hope that it may help, I am attaching a new report and screenshot.
livesync_report_0.22.17_20240416.txt
Livesync_batch_UI
Thank you and please do not hesitate to reach out in case I can be of further assistance.
Kind regards

from obsidian-livesync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.