I just set up a db.t2.micro instance on Amazon's AWS. I am using sinatra to load a localhost webpage. I am using Active Record to do maybe about 30~ queries and it's taking 92 seconds to load. It's extremely slow. I tried doing custom parameters as listed here: http://ift.tt/1LKbSjN
This didn't help speed anything up. I'm not sure how I can speed up this instance. This is my first time hosting a database. Any help would be appreciated.
It is only slow running through localhost. When I do queries in Postgres it is very fast.
Aucun commentaire:
Enregistrer un commentaire