Re: Unexplained slow sending

2019-08-29 Thread Tim Bain
You're right that the network might be congested (noisy neighbors), but I was asking if you were saturating your host's NIC with your own traffic. Both could be a problem, but the latter is possible to investigate without support from Amazon's technical support team. Tim On Thu, Aug 29, 2019, 11:

Re: Unexplained slow sending

2019-08-29 Thread James Green
Tim, The NIC issue is a potential issue. We're trying to deploy via Fargate where possible to shift the operational burden away from our developer staff, so noisy neighbours is entirely possible, as is cross-AZ latency. Touch wood, I seem to be in a place where throughput is at least as good as e

Re: Unexplained slow sending

2019-08-29 Thread Tim Bain
Might the choke point be the NIC on the EC2 instance? If you run the consumers for A and B on different EC2s, how does that throughput compare to what you're seeing? Also, I'd recommend you use JVisualVM or similar to capture a CPU sampling (not profiling!) snapshot of your producer program to see