TL;DR How to send raw binary data through channels in the Phoenix framework and read the data on the client. We will be using the MessagePack format to deliver the payload, gzipping when it makes sense to do so. MessagePack you say? Well, what's wrong with JSON? Nothing! No, really! Except... it could be leaner. You see over here at Stoiximan we are delivering lots and lots of data to our customer
![Binary data over Phoenix sockets](https://cdn-ak-scissors.b.st-hatena.com/image/square/c78b257cc4a51ddc70c9c273978694d9455cca45/height=288;version=1;width=512/https%3A%2F%2Fnerds.stoiximan.gr%2Fcontent%2Fimages%2F2016%2F11%2Fphoenix_msgpack.png)