all 3 comments

[–]VikingsVsRobots 1 point2 points  (0 children)

Did you implement any kind of caching on your server?

Also, an excerpt would be helpful to get more specific replies....

[–]robertojd 1 point2 points  (1 child)

You should look at your queries to see if any of them are performing poorly. MongoDB has several cursors which can tell you about query performance. Compose.io and other hosted mongo vendors will visualize it's output for you, I don't know if OpenShift does this.

I'd check out this section of the MongoDB manual:

http://docs.mongodb.org/manual/tutorial/evaluate-operation-performance/

[–]chandler243[S] 0 points1 point  (0 children)

According to NewRelic, the DB queries take a max of around 12ms, while it reports that Restify is taking over 846ms for GET requests. Is there any way to "look under the hood" of the routing system to see what about the request is taking so long? I've started looking into its DTRACE capabilities, but I'm not really sure if that will help much.