Comment CPU vs. Bandwidth (Score 1) 481
While
If you gzip the stream, you save bandwidth, but gunzip on the receiver makes the problem worse. However, bandwidth is usually not a concern within clusters. You want to something with the data you received, right? This takes CPU cycles as well.
What we need is a combination of XML and binary, fixed data streams.
is indeed much smaller as<a><b><c>
, it takes the same amount of CPU cycles (more or less) to PARSE that string. If you have a really fast data stream (say 1 Gbit/s or more), you will have a problem on the receiver's end.<FirstName><CompanyName><Address>
If you gzip the stream, you save bandwidth, but gunzip on the receiver makes the problem worse. However, bandwidth is usually not a concern within clusters. You want to something with the data you received, right? This takes CPU cycles as well.
What we need is a combination of XML and binary, fixed data streams.