New Relic Ruby Kata
Code Kata is a term coined by Dave Thomas, co-author of the book The Pragmatic Programmer in a nod to the Japanese concept of kata in the martial arts. A code kata is an exercise in programming which helps a programmer hone their skills through practice and repetition.
Of course the code in some areas of this application is intentionally bad, but what fun would this be if everything worked the way it should?
heroku apps:create git push heroku master
Add New Relic to your Heroku app. The New Relic agent will help you find and solve the performance issues in this application as well as help you see the complete impact of your changes.
heroku addons:add newrelic:stark heroku config:set NEW_RELIC_APP_NAME="YOUR APP NAME GOES HERE"
Populate the sample database and setup memcache.
heroku addons:add heroku-postgresql:dev heroku addons:add pgbackups:plus heroku addons:add memcachier heroku pgbackups:restore DATABASE 'http://newrelic-ruby-kata.herokuapp.com/sample-data.dump'
Fix the code / Solve as many of the Katas as you can. There are seven distinct Katas in this application that can be torn apart and fixed by using your awesome dev abilities and the deep metrics that New Relic provides.
- Generate traffic a.k.a. click around
- Discover a slow page
- Investigate the problem (using New Relic)
- Resolve with code changes
- Push the revised code to Heroku.
Let us know how you did, what you liked or disliked, what helped you find problems or what were the challenges, what you like about New Relic and what you don't - we just want to hear from you and see what we can do to get better.
We'll even send you something for demonstrating your geek super powers when you complete the Kata - just provide us with your thoughts and a link to your forked repo (with your answers).