0

I wanted to write a ASCII string file to a remote redis server (this isnt really important, key point is redis writes strings) using the least amount of bandwidth possible. What is the best form of compression to do this? The file has rows like:

"Employee One - blah -blah" and I want to somehow compress each one, before a write since I have a severe bandwidth limitation.

A large file sample:

EMP1,500000,125670205,21.50,20.50

EMP2,215500,125670205,21.50,20.50

EMP3,251200,125670205,21.50,20.50

EMP4,234600,125670205,21.50,20.50

EMP5,735000,125670205,21.50,20.50

EMP6,134600,125670205,21.50,20.50

Its a CSV with string and numbers, I want to write it with the whole file and/or row by row.

4

0 回答 0