Giter VIP home page Giter VIP logo

Comments (2)

ultimape avatar ultimape commented on June 5, 2024

We ran into this while testing. But was unable to reproduce.

It seemed to occur when a peer was offline and edits were being made. The online peer's changes didn't automatically sync up to the offline peer, and the offline peer's changes never seemed to be communicated to the rest of the peers when returning online, even after a lot of other sync'd changes and time passing.

This fit the pattern we had before the peer connection system was implemented.

Current suspicion is that there is a size issue somehow impacting the indexedDB > radata storage area as the toy version of the test (after clearing things out of the browser) did not have the issue, and was the only major thing changed between tests.

A different problem entirely was that having more than one tab open seemed to cause massive delays in syncing that were resolved when the older tab closed. This was creating a similar effect with partial changes being sent to the incompletely loaded tab. That might be worth a separate issue entry.

from ouronote.

nsreed avatar nsreed commented on June 5, 2024

There were two variables tested within the gun configuration, using the IndexedDB vs. LocalStorage storage adapters, and WebRTC enabled vs. disabled. The storage adapter appeared to have an effect on the primary issue (data consistency after a network connection reset), while WebRTC may have only caused multi-tab issues. Needs more rigorous testing against each permutation of these options, with well-defined sequences of events, along with the state of the client's local graph after each test, to prepare an issue for the gun team, assuming we can confirm the issue is occurring within gun.

from ouronote.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.