Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Binary data over Phoenix sockets | Better HN
Binary data over Phoenix sockets
(nerds.stoiximan.gr)
101 points · by
qubitcoder
· 10y ago · 2 comments
Comments
[–]
brightball
10y ago
Very 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 ago
Interesting, I implemented a MessagePack plugin for SocketCluster that did the same thing just 3 days ago
https://github.com/socketcluster/sc-codec-min-bin