Philippe Monnet | 19 Dec 2009 16:46

Edited some metadata for the Camping topic on Freebase

I use Freebase in one of my web apps and I noticed that the Camping topic needed a bit of "love" to keep things accurate. I just made the edits at: http://www.freebase.com/edit/topic/guid/9202a8c04000641f8000000004731038
_______________________________________________
Camping-list mailing list
Camping-list@...
http://rubyforge.org/mailman/listinfo/camping-list
Philippe Monnet | 29 Dec 2009 16:10

Is anyone hosting any Camping apps on Heroku?

Over the last couple months ago I opened an account on Heroku and was pretty impressed with the capabilities. In the last couple days I have been trying their various addons such as for example the NewRelic application management features that allow you to report performance metrics on an application.
NewRelic currently supports Rails out of the box but they are also working on supporting Rack and Sinatra.

Who else is using Heroku with their Camping apps? Could we share discoveries on how to improve Camping support on Heroku?

For example I decided to try integrating my Camping demo app with NewRelic by invoking their APIs directly. I managed to get my Camping controller methods to show up on their dashboard. I am now going to try to help provide a plugin so that a Camping app can hook directly to NewRelic. I was thinking of hooking up to the service(*a) method. Has anyone been extending or hooking things on to service(*a)? What are some of the tricks of the trade?

Philippe
_______________________________________________
Camping-list mailing list
Camping-list@...
http://rubyforge.org/mailman/listinfo/camping-list
Philippe Monnet | 31 Dec 2009 03:32

Created a small instrumentation NewRelic plugin for Camping controllers

After a bit over a day of both looking at the way NewRelic implemented their plugin for Rack and Sinatra, as well as digging deep in the core Camping code of the service and M methods, I managed to get something working. See http://github.com/techarch/rpm/blob/master/lib/new_relic/agent/instrumentation/camping.rb

It took me many tests to understand that the M method actually include some of the Camping modules in the controller classes. I have been reading the entire framework back to back a bunch of times and I keep being amazed at the overall design. There are so many Rubyisms to be learned from the code.

Let me know if you end up using the plugin and if there are ways to improve it.
If you are using Heroku you should definitely give NewRelic a try since the Bronze edition comes for free.

Philippe
_______________________________________________
Camping-list mailing list
Camping-list@...
http://rubyforge.org/mailman/listinfo/camping-list

Gmane