mashraqi

+1.408.FRANKMASH (408.372-6562)
[ This is my personal blog so all opinions expressed here are mine. I am a product, scalability, operations and monetization advisor and currently employed as Director of Business Operations & Technical Strategy for a top 50 website that delivers billions of page views per month. I was a keynote panelist for Scaling Up or Out keynote at MySQL Conference and speak regularly at conferences and user groups. ]
Farhan "Frank" Mashraqi

Saturday, July 05, 2008

Jiffy: Real World Performance Measurement

Continuation of my notes from Velocity Conference.

Next up is Scott Ruthfield (WhitePages.com) talking about Jiffy: Open Source Performance Measurement and Instrumentation. WhitePages.com is a people search power. They own 411.com. They have data on 180 million people doing 2 billion searches / year and 500 searches per second during peak. A top-50 comscore site.



Very important performance lessons:
Scott says "Slow is bad." Customers just don't want you to be slow. "We're slow." A detailed analysis on their end revealed that the slowness wasn't their fault.

Reflection:
  • YSMV: Your slowness may vary
  • YCMWYCM: You can't manage what you can't measure
Jiffy:
  • means: Small unit of time; tick between system clock interrupts
  • is an end-to-end system for measuring and reporting on page load activity
Four goals:
  • real data at scale: what are customers seeing?
  • measure anything.
  • real/near time reporting
  • ~0 impact on page performance
    • he says "it works"
What are the components of Jiffy?:
  • jiffy.js - library for instrumenting your pages and reporting measurements
  • apache (httpd.conf) config - receive and log measuremens
  • database schema and rollup scripts
  • ingestor: parse logs and store in any db
  • reporting toolset
  • firebug plugin.
Jiffy: mark and measure
  • mark - start timing from this point
  • measure - report elapsed time since mark.
  • one mark:: many measures
misc:
  • immediate or batch submits
  • default browser event measurements
What is available today?:
  • code.whitepages.com (project link + slides)
  • Open Source. Apache 2.0 license
  • Firebug plugin by Bill Scott of Netflix
What's planned?:
  • more database support
  • automated configuration
  • auto-timeout tools
Great work, Scott!

Also see:

Labels: , , , ,

0 Comments:

Post a Comment

<< Home

  • View Farhan 'Frank' Mashraqi's profile on LinkedIn
  • Structure 08
  • Graphing Social Patterns - East 2008
  • Velocity Conference
    follow me on Twitter

    © 2006 The Mashraqi's.