Oddbean new post about | logout
 i'm not sure-AFAIK, the protocol sends only one event per message

deflate is very good in catching repeated text within a message, compressed JSON will get pretty close to a naively implemented binary protocol, for large data
it's also very fast

with lots of small messages it will be less effective because the same text repeated over and over won't be compressed, this would ideally need some kind of shared dictionary like HTTP2's header compression