Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

davidmparrott/newrelic-ruby-kata

 
 

Repository files navigation

newrelic-ruby-kata

Using New Relic and Heroku, see how many things you can find and fix to make this app perform fast!

Step 1

Get the code. The code is waiting to be forked on Github

Step 2

Load the sample DB locally:

bundle exec rake db:create
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U $USER -d newrelic-ruby-kata_development public/sample-data.dump
bundle exec rails s

Step 3

Deploy your app to Heroku, and load the database:

First,

Deploy

Then, you can load the sample data via:

heroku addons:create heroku-postgresql:hobby-dev
heroku addons:create memcachier
heroku config:set NEW_RELIC_APP_NAME=<NAME>
heroku pg:credentials DATABASE_URL
pg_restore --verbose --clean --no-acl --no-owner -h <HOSTNAME> -U <USER> -d <DATABASE> -p <PORT> --password public/sample-data.dump

Step 4

You can watch a video on getting started with the New Relic agent to help get you started. 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.

Step 5

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.

Step 6

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.

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 59.3%
  • HTML 29.7%
  • CSS 5.8%
  • CoffeeScript 3.8%
  • JavaScript 1.4%