okay, so @owenb needs a tighter protocol for socket-stream.
ideas:
- use numbers to indicate message types or, the first character.
- drop ids if the message is from the same id as the previous one.
- use a length delimited protocol, not JSON.
I think that should get the protocol down pretty small, without changing the semantics.
okay, so @owenb needs a tighter protocol for socket-stream.
ideas:
I think that should get the protocol down pretty small, without changing the semantics.