But… this does drop data? Only the start and end timestamp are preserved; the middle ones have no time. How can this be called lossless?
Genuinely lossless compression algorithms like gzip work pretty well.
Genuinely lossless compression algorithms like gzip work pretty well.
If I want something like per-transaction rollup of events into one log message, I build it and use it explicitly.
I worked at a magnificent 7 company that compressed a lot of logs; we found that zstd actually did the best all-around job back in 2021 after a lot of testing.
I laugh every time I see it.
If you used something like sequential IDs (even in some UUID format) it can compress pretty well.