Giter Site home page Giter Site logo

json_cold_storage_comparison's Introduction

json_cold_storage_comparison

Comparing cold storage solutions for 1000 ~1Mb JSONs

Results

The test folder had 1772 files, half being matches and the others timelines.

The table is ordered by raw storage used.

Method Dump time Read time Raw storage used ZSTD on filesystem
raw 513M 77M
diskcache - default 5.8s 1.6s 515M 150M
diskcache - FanoutCache 6s 1.6s 339M 98M
mongo 23s 6.8s 110M 94M
zsdt - individual files lvl3 1s 0.5s 53M
zsdt - full folder lvl3 1s 0.5s 52M
diskcache + zstd lvl 15 27s 4s 37M
zsdt - individual files lvl 15 18s 0.5s 36M
lzma - python, individual files 64s 1.9s 34M
lzma - tar, full folder 92s 3s 31M

Conclusion

  • ZSTD is heavily customisable and is the best performer in all use cases
  • LZMA is too slow compared to zstd at similar compression levels
  • Mongo is a good balance of queriyability and compression, but still uses ~3x more storage than true compression

json_cold_storage_comparison's People

Contributors

mrtolkien avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.