NetLogo / Teletortoise

NetLogo on the JVM, mirrored to your browser
8 stars 7 forks source link

use binary format or compressed JSON over the wire to save bandwidth? #14

Open TheBizzle opened 9 years ago

TheBizzle commented 9 years ago

From @SethTisue on May 13, 2013 22:11

we already have a binary format that model runs uses for storing runs, both in memory and on disk.

or, if we want to stick with JSON, we could compress and decompress it on the fly, perhaps using Snappy: http://code.google.com/p/snappy/

Copied from original issue: NetLogo/Galapagos#44

TheBizzle commented 9 years ago

From @SethTisue on May 27, 2013 19:11

a recent roundup of serialization formats: http://blog.daniellobato.me/2013/03/an-overview-of-serialization-formats-with-numbers-and-anecdotes/

TheBizzle commented 9 years ago

From @qiemem on October 27, 2013 21:14

This might solve our problems: https://github.com/tcorral/JSONC

Of course, we'd either have to run js on the server, or translate the compression algorithm to Scala.