Host data transfer limit calculations and network protocol headers
Posted
by
UpTheCreek
on Server Fault
See other posts from Server Fault
or by UpTheCreek
Published on 2012-09-07T12:37:34Z
Indexed on
2012/09/07
21:40 UTC
Read the original article
Hit count: 191
OK, this might be a really stupid question, but...
I'm building a web app that utilises websockets. There's fairly rapid messaging going on, so I've been taking a look at the network traffic with wireshark, to see if there's any way of reducing the amount of data we are sending over the wire, and hence costs.
A typical message has approx 150 byte data payload, and according to wireshark the lower layer stuff takes up about: Ethernet: 14 bytes IP: 20 Bytes TCP: 20 Bytes
My question is, are these network headers included in data transfer calculations? What about TCP ACK messages? (another 54 bytes according to wireshark)
This may seem petty, but because we have so much messaging going on, and because the payload is a similar size to these headers, it's significant.
© Server Fault or respective owner