enthought / tabs

Default Repo description from terraform module
0 stars 0 forks source link

Use msgpack instead of plain JSON for shipping arrays around #67

Closed johntyree closed 8 years ago

johntyree commented 8 years ago

msgpack has solid support for in both python and javascript. It's also way denser and should help with the bandwidth problem.

johntyree commented 8 years ago

Turns out msgpack performance is awful in JS. Maybe we can just gzip everything?

johntyree commented 8 years ago

I take that back, it's probably comparable in performance, however given that we trim the json down to 4 digits and gzip is happening transparently over the wire, it comes off worse on file size alone. I think we can't do much better than we already are w.r.t. bandwidth