Websocket Slow Issue



I am running the default app on my local machine. I found an issue that the WebSocket is loading really slow. Then I put my app on the AWS EC2 which is m2.2xlarge. It is even slower than my local machine. The main content is showing up in 10s after I refresh my page.

Does anyone have any idea about how to reduce the WebSocket loading time? Cause once I use this website as the production web, this will become a big problem.

Thank you.