We've been recently experiencing unexplained latency issues as refelcting from the ELB latency metric with our AWS setup.
Our setup includes and 3 EC2 c1.medium machines (each running an NGINX which talks to a uWSGI handler on the machine) behind an ELB.
Now, our traffic has peaks in morning and evening times but that doens't explain what we're seeing, i.e peaks of 10 seconds in latency well into the the traffic peak.
Our NGINX logs and uWSGI stats show that we are not queuing any requests and response times are solid under 500 ms.
Some config details:
ELB listens on port 8443 and transfers to 8080
NGINX has the following config on each EC2:
worker_processes 2;
pid /var/run/nginx.pid;
events {
worker_connections 4000;
multi_accept on;
use epoll;
}
http {
server {
reset_timedout_connection on;
access_log off;
listen 8080;
location / {
include uwsgi_params;
uwsgi_pass 127.0.0.1:3031;
}
}
}
I was wondering if someone had experienced something similar or can maybe supply an explanation.
Thank you..