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

Performance issues with multiple tabs #22

Open
nsreed opened this issue May 6, 2021 · 2 comments
Open

Performance issues with multiple tabs #22

nsreed opened this issue May 6, 2021 · 2 comments

Comments

@nsreed
Copy link
Owner

nsreed commented May 6, 2021

@ultimape experienced performance problems when opening ouronote in multiple tabs. In addition to performance issues on the machine which had multiple tabs open, other devices on the local network may have stopped synchronizing entirely until the additional tabs were closed. This issue should be expanded on, as this is only my understanding of the problem.

@nsreed nsreed mentioned this issue May 6, 2021
@ultimape
Copy link
Collaborator

ultimape commented Dec 29, 2021

Seems to be some kind of rhythmic spiking when a view and edit page are open to the same drawing at the same time. The browser windows were going form 0% to 100% and back. Not sure what was driving it.

image

@nsreed
Copy link
Owner Author

nsreed commented Dec 29, 2021

A couple of ideas that have come up:

  1. WebRTC may be cross-talking between tabs (in both confirmed cases, there was also a tab open on another machine, so that could play a role)
  2. There's currently redundant put() calls being made by the gun-paper bridge when incoming changes happen. This could be ping-ponging potentially large sets of changes back and forth between instances.

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

2 participants