channable / icepeak

Icepeak is a fast JSON document store with push notification support.
BSD 3-Clause "New" or "Revised" License
126 stars 5 forks source link

Add compression on state file #95

Open diegodiv opened 1 year ago

diegodiv commented 1 year ago

Latency can prove to be a problem when writing a bigger file to disk. We can add compression when syncing the .json file to disk.

ruuda commented 1 year ago

Helpful page that compares various compression algorithms, you’d want to look at transfer + compression time in this case. (Change the settings at the top to best match your use case first.)