Comments (4)
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.
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.
Hi,
Update on my experience regarding STORAGE -> DB activity in "batch" mode:
- 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)
- 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.
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
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)
- Reducing Time for _changes Request in CouchDB HOT 1
- Run replicate now automatically? HOT 2
- Renaming or deleting notes cause sync to be stuck, showing β³ Working read storage processes and/or π« Pending read storage processes HOT 6
- Notes with quoted strings in their name are synced as if they are deleted HOT 2
- Default ignore pattern settings for hidden files sync doesn't work HOT 2
- θ½ε¦ε’ε δΈζζ―ζ HOT 6
- no sync when couchdb sits behind a /location
- Remote database is 7 times larger than the vault HOT 1
- Some hidden files fail to sync and may cause sync paused HOT 4
- [Feature request] Can we customize the HTTP request header?
- CORS errors in remote database connection HOT 1
- Click on the upper right corner but cannot close HOT 1
- Live sync won't start HOT 27
- The request may have failed. The reason sent by the server: 404: HOT 2
- Ask for "Reload Obsidian" when it is safe to do HOT 5
- Feature Request: Canarie and LTS versions of the plugin HOT 2
- Issue with large MD files HOT 4
- English translation and explanation of settings HOT 1
- Remote Configuration Error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-livesync.