Re:Show HN: BinaryRPC – Lightweight WebSocket-based RPC fram...
by inetknght on Saturday July 12, 2025 @11:20PM
(#44547220)
> Compression helps
It's generally unwise to use compression for encrypted transport such as TLS or HTTP/S.
Re:Show HN: BinaryRPC – Lightweight WebSocket-based RPC fram...
by efecan0 on Sunday July 13, 2025 @03:40AM
(#44548321)
Good point, thank you.
You’re right—no compression over TLS by default. If I add deflate support later it will be opt-in and disabled when the connection is encrypted.
Appreciate the insights!
Re:Show HN: BinaryRPC – Lightweight WebSocket-based RPC fram...
by efecan0 on Sunday July 13, 2025 @03:40AM
(#44548314)
Agree: for small devices every byte counts.
Plan is to keep WebSocket for zero-config use, but add a raw-TCP
handshake (~24-40 bytes) so embedded clients can skip the HTTP preamble.
I’ll note that on the transport roadmap. Appreciate the insights!
Compression helps but I think if you want to win over the embedded crowd, having a pure TCP alternative is going to be a huge win. That said, do NOT abandon the HTTP support, WebSockets are still extremely useful. WebRTC is too. ;)