0

I got a problem about ec2 and route 53. I setup my website using node with keystonejs framework. It works fast in my local server and work well before I bind the domain name with route 53. But after I succeed binding domain name, it loads very slow and I use pindom to do speed test and find the following problem: View Pingdom website speed test result

When it requests firstly, it has been waited for at least 8 seconds. Anyone know what's going wrong ? Why after I got this? I think it is not because of node js. My website is nexstartup.org( http://nexstartup.org)

Arafat Nalkhande
  • 8,663
  • 7
  • 35
  • 57
  • 2
    It looks like you have a very long [Time To First Byte](https://varvy.com/pagespeed/ttfb.html). This is most likely due to the backend processing (DB calls etc.) required to build the page. The DNS lookup is not the issue (Route53). You may want to [attach a profiler](http://stackoverflow.com/questions/1911015/how-do-i-debug-node-js-applications/16512303#16512303). Are you running a micro instance; is your DB on the same instance? – Jedi Aug 04 '16 at 04:11
  • 1
    Your external files return relatively fast. This is most likely a problem with your node.js app. – datasage Aug 04 '16 at 05:13
  • what instance type are you running? – Skaperen Aug 04 '16 at 06:00
  • I am running Ec2. But before I bind dns, it works fast – Lightman Wang Aug 04 '16 at 12:51
  • This has nothing to do with Route53 the issue is with your app and instance type you are using. – error2007s Aug 04 '16 at 21:38
  • I have solved....... Because the failure of npm install. Thank you guys – Lightman Wang Aug 05 '16 at 04:11

0 Answers0