Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading 86 offers takes 4 seconds! Very slow loading of the SELL XMR tab high latency/delay #1516

Open
slrslr opened this issue Dec 31, 2024 · 2 comments

Comments

@slrslr
Copy link
Contributor

slrslr commented Dec 31, 2024

Hello, I am unsure if it happened in previous version, I have doubt.
But in current 1.0.17 (I am using Linux .deb file on Debian 12 with KDE), it takes 3-4 seconds to load SELL XMR tab. Other tabs are loading in 1 second.

When I compare the number of offers, indeed slow SELL XMR tab has 86 and BUY XMR only 39.
Regarding active filters, I am displaying everything, and when I enable only offers matching my accounts, it does not improve the loading time.

It is beneficial to have up to date offers, though are these loaded in optimal way? 4 seconds it too high for just 86 offers, imagine the software gets much more users. Possibly tab should be loaded immediately and its content asynchronously (I mean not lock all offers, but load/update each of the offer independently unless too CPU intensive?) while indicating that loading is in progress. If you can not reproduce, please let me know what to do exactly.

After optimization, further thing to consider is some expiring cache, then there should be an easily accessible and visible status area showing: "Updated X seconds ago. Updating..." or similar, so user knows that the view may update in a bit.

@boldsuck
Copy link
Contributor

boldsuck commented Jan 6, 2025

I also use Linux .deb file on Debian 12 with KDE. I don't have high latency. My RTT to other peers is well under 1000ms (200-800ms).
If you are using Haveno build in Tor then it might be due to Conflux bug.
I use Tor to 0.4.8.13 via externalTor.

I'm trying to upgrade Haveno Tor. Tor-binary and netlayer was easy. I still need to figure out how @preland did it with gradle/verification-metadata.xml 🤔 😵‍💫

@woodser
Copy link
Contributor

woodser commented Jan 6, 2025

I still need to figure out how @preland did it with gradle/verification-metadata.xml 🤔 😵‍💫

Updating the verification metadata is easy, just: ./gradlew --write-verification-metadata sha256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants