addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

B'more on Rails Message Board › QA/Performance Projects Referenced by John and Nick at the last Meetup

QA/Performance Projects Referenced by John and Nick at the last Meetup

John T.
San Diego, CA
Post #: 3
Hey guys,

Nick Gauthier demonstrated slow-actions (­) which is a wonderful log parsing and analysis tool. It's not the fastest guy out there, but it will plow through a 1GB file in a few minutes. It's got a nice feature set that allows you to tell it which date range you even care about in the logfile, which is nice for when you need to verify that a performance tweak you deployed actually worked.

He also brought up active-listener (­) later on, which is a tool that we use to do some background polling and other cron-like stuff. It basically starts a companion daemon with your rails app that runs rake tasks at specified intervals (we often have these rake tasks poll the db for certain conditions). He has plans to add support for generic "event firing" from within your rails app, which would hand off a job to the daemon's queue, but this is still unimplemented.

I first spoke about timecop (­, which is a handy tool for testing time-dependent code. It's a tool that we use on practically every project. Note that timecop is simply a ruby library. There is nothing whatsoever tying it to rails, so feel free to use it in any ruby application.

I then spoke about sanitize_email (­, which allows you to re-route your email with a few lines of configuration. It's very helpful for working with production datasets locally, or for setting up a destination for all email triggered from a staging/qa server. Note that this gem is subject to a name change (been trying to think of one for a while now). The current name isn't really representative.

Lastly, I spoke about rails-caddy (­, which is the tool that brings timecop, sanitize_email, and the ability to edit your session variables to your browser. I think there are a lot of cool ideas that could be worked into this tool. For example, it might not be that hard to create a browser-based "irb" or sorts, allowing you to actually get ruby code evaluated on the backend right from your browser.

Thanks to all those who attended. Nick and I had a fun time presenting.

Powered by mvnForum

Our Sponsors

  • Allovue

    Hosting curious Rubyists!

  • SmartLogic

    Providing sustenance for hungry Rubyists.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy