Giter Site home page Giter Site logo

Comments (5)

AlexDaniel avatar AlexDaniel commented on July 3, 2024

Interesting issue. See #117 also.

Basically, we have something like this:

  • Builds that are in long-term storage mode, where 20 builds are put into the same archive to save space
    • using lrz
    • extremely low disk usage (≈10 MiB per archive, which is ≈0.5 MiB per build)
    • <2 seconds to extract required build
  • Normally archived builds, where each build is in its own archive
    • using zstd
    • low disk usage (≈4.7 MiB per archive/build)
    • <0.2 seconds to extract required build
  • A new level proposed by this ticket
    • using nothing, the build is left on the disk uncompressed
    • 28 MiB per build
    • Low to zero delay to get the required build

from whateverable.

AlexDaniel avatar AlexDaniel commented on July 3, 2024

I wonder if we should use lz4 for this. According to my measurements in #23, lz4 is just ≈38 milliseconds (≈30%) faster than zstd, so we are not winning anything this way? I'd consider 87ms delay to get the required build as too slow if we are talking about fast cache.

from whateverable.

MasterDuke17 avatar MasterDuke17 commented on July 3, 2024

You mean use lz4 for the fast path? Instead of uncompressed?

from whateverable.

AlexDaniel avatar AlexDaniel commented on July 3, 2024

@MasterDuke17 yea…

from whateverable.

AlexDaniel avatar AlexDaniel commented on July 3, 2024

Anyway, IMO no need to use lz4, just leave the build uncompressed.

from whateverable.

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.