Re:Issue 87 – google-compute-engine – UDP Packet Fragments c...
by kerr23 on Monday November 16, 2015 @07:22PM
(#10578336)
AWS de-prioritizes UDP packets making it not a great choice for UDP based applications as well.
[ Parent
| on HN ]
Re:Issue 87 – google-compute-engine – UDP Packet Fragments c...
by akent on Monday November 16, 2015 @07:24PM
(#10578346)
Do you have a reference or a link for this?
Re:Issue 87 – google-compute-engine – UDP Packet Fragments c...
by kerr23 on Monday November 16, 2015 @08:49PM
(#10578694)
AWS is always super closed mouthed about their infrastructure.
The info I have came from a conversation with an AWS Solutions Architect.
It's a couple of years old, but based on my experience it's still true today.
Re:Issue 87 – google-compute-engine – UDP Packet Fragments c...
by cbsmith on Monday November 16, 2015 @08:22PM
(#10578592)
Yeah, I've run in to this. The point about NAT makes me wonder though if it is really de-prioritization or just the network straining to handle all that recalculation of checksums.
Re:Issue 87 – google-compute-engine – UDP Packet Fragments c...
by api on Monday November 16, 2015 @09:08PM
(#10578751)
It's legal to send UDP packets with a zero checksum, indicating "no checksum." This can be set at a UDP socket level in Linux. I wonder if that would make any difference?
(Of course this assumes your protocol has some alternate method of verifying transferred data, which many do.)
Re:Issue 87 – google-compute-engine – UDP Packet Fragments c...
by cbsmith on Monday November 16, 2015 @09:41PM
(#10578859)
That is an interesting idea. I'd love to see an experiment to determine if it makes a difference.
Re:Issue 87 – google-compute-engine – UDP Packet Fragments c...
by majke on Monday November 16, 2015 @07:31PM
(#10578374)
That doesn't sound right. Consider DNS.
Re:Issue 87 – google-compute-engine – UDP Packet Fragments c...
by dfc on Monday November 16, 2015 @08:06PM
(#10578536)
Whenever people talk about behavior/treatment of UDP traffic I consider DNS as a special case. I have no idea how AWS handles UDP but I will never use DNS as a generalizable example of UDP traffic.
Re:Issue 87 – google-compute-engine – UDP Packet Fragments c...
by cbsmith on Monday November 16, 2015 @08:24PM
(#10578599)
At least in the past, it really was true. I've been burned by this before using UDP in AWS. In AWS, I've learned to be skeptical of using protocols other than TCP. That said, it consequently has been a long time since I've tested UDP over AWS.
Re:Issue 87 – google-compute-engine – UDP Packet Fragments c...
by kerr23 on Monday November 16, 2015 @08:48PM
(#10578691)
DNS was precisely the area where we got bit by it.
We were using a Non-AWS DNS resolver (aka Google) and we would often get dns resolution errors despite our NAT not being remotely taxed by the traffic.