I would not say that binary formats are processed faster. If you look at the text format CSV or text format with a fixed field - it can still be quickly processed.
I would say it all depends on who the consumer is. If the person is at the end (for example, for HTTP or RSS), then there is no need to compress the data in any way, with the possible exception of compression.
Binary protocols require parsers / converters; they are difficult to extend and maintain backward compatibility. The higher you use the protocol stack, the more human-centered the protocols are (TCP is binary, because packets must be processed by routers at high speed, but XML is more user-friendly).
I think size variations today are not a big deal. For your example, hello will accept the same amount in binary format as in text format, since the text format is also βbinaryβ for the computer - just the way we interpret the data.
dma_k Mar 02 '10 at 16:17 2010-03-02 16:17
source share