irq-1 parent
Looks nice. Does it have compression? Retries and latency are whatever TCP does, right? Have you thought about a go:generate format for the commands?
Thanks for the thoughtful questions.
Compression: cmd-stream-go doesn’t currently include built-in compression, but it’s a potential feature for future versions.
Retries & Latency: You're right, basic packet retries are handled by TCP. cmd-stream-go doesn't implement application-level retries directly, since those are typically left to business logic where factors like idempotency and error semantics come into play. Also, it uses the standard Go net.Conn without modifying TCP options like TCP_NODELAY.
go:generate for Commands: Good suggestion, this could be added in the future.