I have an Elastic Load Balancer paired to a set of instances one is persistant and the other is a variable number of spot instance. When i access the servers directly using their end points, the server behaves normally and loads the pages properly. When i access it via ELB, the pages load very slowly (relatively).
Ec2/Spot direct: connecting: 89ms ssl: 50ms sending: 1ms waiting: 1.53sec recieving: 23ms
ELB served: sending: 0ms waiting: 430ms recieving: 1.11sec
Numbers via google chrome network timeline tool, they vary but not by much
The result of this long recieving period is my pages html loads and takes 'forever' before it runs the javascript and applies the css. Clients see the page load and then after the end of what my gut says is 1.1sec it will apply the formatting... This is no good.
Anyone have an idea of what i'm doing wrong?