ruby - Rubyzip vs native OS compression -
i wondering performance difference when zipping data using rubyzip compared using native os libraries performing compression. fetching data compressed url , using zipoutputstream create zip file. in case of native os utilities thinking of using zip tool. nice hear pros , cons both approaches.
it turns out there not of difference in terms of time taken operation or cpu usage. there significant difference when came memory usage. rubyzip process ended using lot more memory compared when using zip util. in our use case memory usage significant concern , hence ended using zip util.
Comments
Post a Comment