hardlight
hardlight copied to clipboard
Consider shipping modded tungstenite
We’re using tokio-tungstenite currently for websockets. We should consider forking it into this repo to make any optimisations. For example, integrating the decompressor using async-compression may reduce the latency of enabling compression as we can decompress frame payloads by streaming them off the tokio socket. This would mean there would be no separate step to decompress the data by the time it reaches our business logic.