Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lsorber
· 6y ago · 0 comments
Have you benchmarked this against pickling those data files? In our experience, parquet's overhead isn't worth it for smaller data files.
Comments
[–]
alfalfasprout
6y ago
I just did some benchmarks and it's pretty similar for small files. The difference would only be noticeable if you're serializing a ton of small files.
[–]
lsorber
OP
6y ago
Huh, makes a pretty big difference for us. We were using pandas' built-in to_parquet though, which seems to suffer from some overhead.
[–]
EdwardDiego
6y ago
I'm not surprised, Parquet's columnar encoding and compression won't really kick in significantly for smaller files.
[–]
kylebarron
6y ago
But with pickling you can only read the data in Python.
[–]
cbsmith
6y ago
If pickling is what is working best for you, it can't be much data.