Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

why loading and receiving messages is so slow #18

Open
isbincApps opened this issue Aug 3, 2020 · 3 comments
Open

why loading and receiving messages is so slow #18

isbincApps opened this issue Aug 3, 2020 · 3 comments

Comments

@isbincApps
Copy link

hi, the library is great ,but loading the data is so slow

@amark
Copy link
Contributor

amark commented Aug 3, 2020

This is probably my fault, I'm working to add CPU scheduling to how GUN loads large tables so apps/UX stay responsive as history gets streamed to them.

@isbincApps
Copy link
Author

isbincApps commented Aug 4, 2020

thanks @amark, why radisk is filling up my hard disk, here's my config
let gunOpts = { peers: peers, localStorage: false, radisk: false, retry:Infinity };

@mmalmi
Copy link
Member

mmalmi commented Aug 10, 2020

If you're loading a large message history, decrypting the messages takes time. Iris-messenger is also sometimes slowed down by hundreds of "signature did not match" errors that I'll need to debug.

It's noteworthy that iOS safari seems to have none of these performance issues, so it should be fixable.

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

No branches or pull requests

3 participants