Giter VIP home page Giter VIP logo

fluid-ledger's Introduction

fluid-ledger's People

Contributors

dependabot[bot] avatar vladris avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

fluid-ledger's Issues

Properly handle detached container state

That's when this client owns the document. Once attached, snapshot happens and other clients load from snapshot. Behavior should be to immediately apply appends and fire event during detached state.

Do we need to support an offline mode?

Stashed ops happen when disconnected, applyStashedOp is invoked on reconnect. We likely can't support offline with this DDS as sequencing is important.

Enhancement ideas

These could potentially be different flavors of the DDS with additional functionality:

  • Provide a clear op to clear the list/reset. In case full history is not important.
  • Currently ledger grows unbounded. We could potentially have configurable N and M such that when ledger reaches N items, we delete (shift) the first M items and fire an event for clients to handle. We lose the full history but we gain infinite append.
  • Context-dependent append: client might chose to append an item based on its known state of the world (local ledger). If another client interleaves an append, so when our append gets sequenced, ledger is different, we can fire a different event (rejected) and let client decide whether to resubmit. Other clients would ignore the op. We should be able to easily implement this by including ledger length when we submit the op and checking against actual length when we get the op back (note previous 2 ideas might shorten ledger, in which case we can keep a separate counter for the length).

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.