Currently, I am experiencing some problems on getting a server to run efficiently on an EC2 instance. On my local machine everything runs as expected, but on AWS the servers experience some latency, 30ms on servers connected locally to each other, and start to drop connections. My local machine uses Windows 7, and the EC2 instances use Windows Server 2012 R2. After searching online and reading over ways to tune a Windows Server 2012 R2 machine, I am still experiencing a noticeable latency between connected servers and several connections dropping.
One of the things that caught my eye was the Receive-Side Scaling option on Network Adapters. Since the server is going to experience a high load from network messages, it seems that it would benefit a lot from having the work offloaded among all its virtual cores. Has anyone been able to configure RSS, or to be more specific Virtual Receive-Side Scaling, for a Windows Server 2012 R2 instance on EC2? Does anyone have any suggestions on what I could do to reduce the network latency the server experiences or how to tune it?
[EDIT 4/27/2016]
I think I need to describe my current test and setup a little better.
At the moment I am running a test in which I have multiple server programs running on the same machine. I only have one EC2 instance, a c4.4xlarge machine running Windows Server 2012 R2.
On my local machine, I run all of my server programs and experience 0 ms latency between the server programs that communicate with each other using localhost ip.
On AWS, when I replicate my local test and run all of the server programs on one instance, I get a 30 ms latency between server programs that are running on the same machine and using localhost.
I guess my confusion is how can there be such a large latency between 2 server programs that are running on the same machine.
One more thing to clarify, by server I mean software application. So in my current setup I have multiple software applications running on the same instance and communicating to each other using localhost ip.