This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Slow sync makes mobile apps unusable #7781
Labels
A-Performance
Performance, both client-facing and admin-facing
A-Sync
defects related to /sync
z-p2
(Deprecated Label)
Description
Every time i check my messages on my phone with RiotX there's a 5-12 second sync which makes it very inconvenient to use. This happens if all other clients are offline and if i haven't opened the app for longer than a minute or so. If i have riot-desktop open at the time the syncs are barely noticeable (below 1 second).
I'm running a single user HS so when the slow syncs happen RiotX is the only client attempting to connect in a while.
I've noticed the same long syncs when riot-desktop is opened after a period of inactivity. But, although the syncs take about the same amount of time, it's practically a non-issue on desktop because it happens only once and then riot-desktop remains open and everything's fast as expected.
Steps to reproduce
Logs
Here are some log snippets that illustrate the above.
First sync after a period of inactivity (client is RiotX):
Sync on RiotX when riot-desktop is also running (both RiotX and riot-desktop requests are here, all are fast):
Here are the full logs of around that time
slow-sync-riotx.redacted.log
ok-sync-riot-and-riotx.redacted.log
Version information
Version: 1.15.1 (issue experienced on multiple previous versions as well)
Install method: NixOS
Platform: NixOS on ROCKPro64 single board computer
The text was updated successfully, but these errors were encountered: