• wewbull@feddit.uk
    link
    fedilink
    English
    arrow-up
    1
    ·
    24 hours ago

    It all depends on the data entropy. Formats like JSON compress very well anyway. If the data is also very repetitive too then 2000x is very possible.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      23 hours ago

      In my experience taking an inefficient format and copping out by saying “we can just compress it” is always rubbish. Compression tends to be slow, rules out sparse reads, is awkward to deal with remotely, and you generally always end up with the inefficient decompressed data in the end anyway, whether in temporarily decompressed files or in memory.

      I worked in a company where they went against my recommendation not to use JSON for a memory profiler output. We ended up with 10 GB JSON files, even compressed they were super annoying.

      We switched to SQLite in the end which was far superior.