Skip to main content

Scout apm

  • Our development server already comes with Scout APM preinstalled and you can find a little tool tip towards left hand side corner of the page.

Screen Shot 2020-07-08 at 5.31.19 PM.png

  • Click on it and select the Controller#action with higher response time, it usually will show you number of redis get/set calls

Screen Shot 2020-07-08 at 5.35.28 PM.png

*Why is this a problem? Well, redis is hosted on external server, even though redis is a good thing to have, if we are making 100's of redis queries, 100 different times, it has to connect to remote server and each of these will add up, instead we should combine all the keys we would like to check and make just one query.