Giter VIP home page Giter VIP logo

Comments (7)

anthony-murphy avatar anthony-murphy commented on July 19, 2024

This microsoft/Prague#1482 will be difficult without this proposal

from fluidframework.

anthony-murphy avatar anthony-murphy commented on July 19, 2024

@steveluc & @DLehenbauer I'd be curious to know your thoughts on this proposal

from fluidframework.

DLehenbauer avatar DLehenbauer commented on July 19, 2024

It's a clever observation that if ISegment itself were JSON serializable we wouldn't need custom serializers/deserializers. I think much of the required factoring to enable this would be very positive (e.g., MergeTree only speaks ISegment), but I'm skeptical that avoiding the need for custom serializers/deserializes is worth the tradeoffs this would bring between compressing in-memory representation (i.e., Zamboni) and compressing the wire-format.

(Just my initial reaction. Feel free to persuade me if you see a strong upside.)

from fluidframework.

anthony-murphy avatar anthony-murphy commented on July 19, 2024

Getting rid of serializers/deserializers and making ISegment JSON serializable is one possible implementation, but we could also keep them, and allow them to run client side. This would keep wire format compression, but potentially lose some representational compression. This probably needs deeper investigation. My guess is that a hybrid approach is probably best here. We'll keep some segment types in the runtime for both advantages, but allow custom types that forego either or both levels of compression for the flexability of using custom types.

You bring up a good point in that whether the snapshotter needs them or not is an orthogonal problem to the design issue around the simplification of ISegment. In fact doing the decoupling would make it easier to explore. It seems like you agree that this would be a good change to pursue, and we can wait to decide the serde issue afterwards

from fluidframework.

 avatar commented on July 19, 2024

This issue has been automatically marked as stale because it has had no activity for 180 days. It will be closed if no further activity occurs within 8 days of this comment. Thank you for your contributions to Fluid Framework!

from fluidframework.

anthony-murphy avatar anthony-murphy commented on July 19, 2024

i would still like to do this.... someday, so go away bot.

from fluidframework.

 avatar commented on July 19, 2024

This issue has been automatically marked as stale because it has had no activity for 180 days. It will be closed if no further activity occurs within 8 days of this comment. Thank you for your contributions to Fluid Framework!

from fluidframework.

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.