3 ms·
Binary data over Phoenix sockets
- brightball 10y agoVery thorough read. First time I've seen Message Pack used in conjunction with gzip. I like the use of the threshold approach to invoking it. Similar to how Postgres only compresses TEXT types over a certain size.
- jondubois 10y agoInteresting, I implemented a MessagePack plugin for SocketCluster that did the same thing just 3 days ago https://github.com/socketcluster/sc-codec-min-bin https://github.com/socketcluster/sc-codec-min-bin