hacking on graphs 2.0 is fun and easy

Posted by rhelmer on 24 May 2011 | Tagged as: mozilla, perf-o-matic

Interested in adding features/fixing bugs/using your own data with perf-o-matic 2.0? It’s easy!

git clone git://github.com/rhelmer/graphs.git
open graphs/graph.html # in your favorite browser; on Mac "open" will do the right thing

You can now hack on graph.html, js/common.js and js/graph-2.js (maybe js/embed.js and js/dashboard.js, if you’re working on the embed or dashboard components). You’ll be pulling live data from graphs-new.mozilla.org by default.

For most cases, that’s it! If you need more, read on:
Continue Reading »

production graphs 2.0 server ready for use

Posted by rhelmer on 23 May 2011 | Tagged as: mozilla, perf-o-matic

Hello,

The 2.0 version of graphs.mozilla.org is ready for use:
http://graphs-new.mozilla.org

We’re not quite ready to take over graphs.mozilla.org yet – the plan is to do a phased rollout starting with this post, followed by advertising the new URL on graphs.m.o, and finally taking over graphs.m.o and moving the old server to graphs-old.m.o

This is the same version (with some minor tweaks based on feedback) as described in this webdev blog post:
http://blog.mozilla.com/webdev/2011/02/04/perfomatic2-0/

The primary difference between this and the staging server (now at graphs.allizom.org), is that graphs-new.m.o has realtime access to the production DB rather than using a nightly snapshot. The dashboard images are refreshed on 5-minute intervals, custom charts are pretty much real-time (with several layers of caching, could be a few minutes old in reality).

Thanks to everyone who has tested and provided feedback! More is welcome, we plan to continue making incremental (and perhaps not-so-incremental) improvements.

You can find more information at https://wiki.mozilla.org/Perfomatic:UI

Thanks!
rhelmer

P.S. one thing I should call out specifically – old-style graph URLs are not compatible, primarily because the new graphserver automatically shows the average of all machines in a platform rather than a separate line for each, and the old-style URLs refer to individual machines. If this is a show-stopper for anyone let’s discuss, it’s certainly in the realm of possibility to support.

Socorro development VMs available

Posted by rhelmer on 18 May 2011 | Tagged as: Uncategorized

I have been working on a Vagrant virtual machine config for Socorro:

https://github.com/rhelmer/socorro-vagrant

Vagrant (http://vagrantup.com/) is a tool to automate setup of the VirtualBox VMs. It uses puppet to set up and maintain the VM (the puppet manifests are based on what we use at Mozilla for staging and production). Puppet will install and set up all dependencies such as HBase, Postgres, etc. and make sure the latest Socorro trunk is installed and configured for your dev environment.

This is still a work-in-progress and I am hoping to get continous integration up soon, (which will have the side-effect of generating downloadable VM appliances!), so in the meantime please let me know how it goes if you try it out.

Posted by rhelmer on 16 May 2011 | Tagged as: Uncategorized

The perfomatic 2.0 staging server, http://graphs.allizom.org, is going
down tomorrow at 11 AM Pacific for an OS upgrade.

We’re trying to deploy to production and having some issues with
reproducing the staging environment since it’s a different OS version.

I expect it to take a few hours, and will send an update if it’s not
up by 3 PM (or when it’s done, whichever comes first).

See also: newsgroup post

perf-o-matic 2.0 news

Posted by robert on 23 Mar 2011 | Tagged as: mozilla, perf-o-matic

First of all, thank you for all the feedback for the new perf-o-matic 2.0 interface! It has been overwhelmingly positive and is utterly invaluable.

To avoid the time and expense of having to wheedle information out of me, here are the answers to some frequently asked questions:

  • the data on staging updates every night from production, at 00:01 Pacific. This can take a few hours, expect data to be spotty until 3 or so.
  • staging has been moved to graphs.allizom.org (the old advertised link will redirect)
  • Still using wiki.m.o/Perfomatic:UI for tracking high-level issues, but have started moving over to bugzilla and also triaging open bugs targeted for the older (current) version
  • production machine acquired (bug 627446), waiting on database access (bug 642258)

Current plan is to have the new production server hosted at graphs-new.m.o, which will have read-only access to production at first (I’d like to get some good automated tests in place before we start receiving data, since outages can mean tree closure).

Any thoughts? Feel free to comment here, ping me in irc, or file a bug in product Webtools component Graphserver version 2.0

gzip-encoding on tinderbox-stage needs testing

Posted by rhelmer on 29 Jun 2010 | Tagged as: mozilla, tinderbox

Bug 574524 should make loading pages from Tinderbox much faster, especially the brief and full log reports. If you use Tinderbox and are interested in faster load times, please help test tinderbox-stage and comment in the bug if you think anything is broken due to this change.

testing bug 529456

Posted by rhelmer on 24 Nov 2009 | Tagged as: Uncategorized

Just making sure that the change in bug 52946 worked, if so this post should not show up on Planet Mozilla…

canvas love

Posted by rhelmer on 18 Feb 2009 | Tagged as: mozilla, open web

I am reading about Bespin all over the place, with a lot of focus on SVG versus canvas, canvas not working in Internet Explorer, etc.

I don’t know Bespin’s plans in this area, but lots of projects which use canvas (such as flot) also test with and provide excanvas, which uses IE’s VML support to provide the basic canvas API. I have read that excanvas does not work in IE8′s standards mode, however it does work in quirks mode.

There seems to be lots of little explosions of creativity around the combination of faster Javascript interpreters and canvas, like these “3D in 2D” demos, Box2D physics (this works in IE8 thanks to excanvas).

I’ve been working on a project which does graphs and other data visualization in the browser. I ended up using jquery and flot although raphael (which uses SVG or VML, so supports IE) was in the running as well. Working with raphael is neat because everything you create is a DOM object so it’s a lot like working with HTML, but in the end flot just has many more out-of-the-box features like selection support, timescales, and so on. Not having IE support is not an option, and I’d rather not depend on Flash or other plugin if at all possible; I am quite pleased that there are a ton of reasonable ways to acheive this given those constraints.

I know this stuff is obvious to most of us around here, but I’m surprised that excanvas doesn’t come up more in these discussions. It is obviously not as ideal as having honest-to-goodness canvas or SVG support in all major browsers, but it’s a very creative way to drag IE along, putting a Javascript wrapper around their similar-but-different native feature.

Tinderbox

Posted by robert on 15 Feb 2009 | Tagged as: mozilla, tinderbox

I have been meaning to respond to a bit of Aki’s post which linked to me a while back.

I totally agree on quite a bit, although I’d argue that unless someone really steps up, takes a leadership role, and sets a clear future direction, then sticking with Tinderbox indefinitely is going to continue to give you diminishing returns. Tinderbox 1 has been in maintenance mode for a very long time, although cls, bear and reed do a great job of keeping it secure and limping along. Tinderbox 2 was maintained by bear for a while when he was at OSAF but he suggested Buildbot as a better alternative, and Tinderbox 3 looks like a great proof of concept but has been inactive for a very long time.

I feel that it’s better to contribute to an already active community that has a lot of momentum behind it, instead of trying to build support behind home-grown products like Tinderbox and Bonsai, given the amount of work it is to build and maintain an active community and the current state of these projects. There were no active competing projects when these tools were released, and they really set the bar at a time when “continuous integration” had yet to be coined. Overall they’ve been hugely successful and delivered a lot of value to Mozilla and others, but without a driving force behind new development, they are not keeping up with demand. I could give you a bunch of little examples, but I think that the fact that the “blame” column (which is a critical feature) has been empty since the switch to hg says it all.

rhelmer covered the current tinderbox/buildbot split, and is among the voices I’ve heard/read calling for a move away from the waterfall view, which I don’t completely understand. I do understand that the waterfall is far from ideal as a solitary view. But it does represent the activity of builds and build machines over a brief amount of time quite well. Even better when you have a guilty column ;-)

So, why not have both? Or multiple? Not to clutter, but to present different ways of accessing the data. Each with their own strengths.

I don’t think that the waterfall is bad, it is actually quite brilliant for certain use cases; however the waterfall is at one end of the spectrum, with something like Dolske’s isthetreegreen.com on the other side, and things like tinderboxpushlog somewhere in the middle. So in essence I agree, but I think the waterfall is actually not that useful in most cases. It’s a pretty low-level, diagnostic type of interface.

Why do people visit Tinderbox? Here is what I think:

  1. Should I pull the tree (“Will It Build?”)
  2. Can I check in (“Is the tree open?”)
  3. Who broke the build (and how)?
  4. Has there been a regression in performance or other metrics?

Out of these, only the latter two are served by the waterfall, and that’s only a starting point for this kind of investigation (which the waterfall does an OK job at).

I think that the first two are a much larger subset of users, and a huge and complex display is actively hurting them. Regression hunters need a much larger arsenal of tools, and the waterfall may not be the best place for them to start, and certainly isn’t the last place to visit (they’ll need build logs, graphs, etc.).

There’s a ton of innovation going on around build and release right now, for example I really like how Hudson approaches the problems here, and also has direct support for release processes. Like Buildbot, it doesn’t do everything Tinderbox does, and it has it’s own tradeoffs. It’s not a drop-in replacement for Tinderbox.

A drop-in replacement for Tinderbox is an interesting notion, but I think it’s worth taking a step back and figuring out if you’re really getting the value you could be. I think this says it better than I can:

The telephone destroyed the telegraph.

Here’s why people liked the telegraph: It was universal, inexpensive, asynchronous and it left a paper trail.

The telephone offered not one of these four attributes. It was far from universal, and if someone didn’t have a phone, you couldn’t call them. It was expensive, even before someone called you. It was synchronous–if you weren’t home, no call got made. And of course, there was no paper trail.

If the telephone guys had set out to make something that did what the telegraph does, but better, they probably would have failed. Instead, they solved a different problem, in such an overwhelmingly useful way that they eliminated the feature set of the competition.

The list of examples is long (YouTube vs. television, web vs. newspapers, Nike vs. sneakers). Your turn.

I accidentally the whole Meme(me)

Posted by rhelmer on 19 Sep 2008 | Tagged as: Uncategorized

From blizzard.

1. Take a picture of yourself right now.
2. Don’t change your clothes, don’t fix your hair…just take a picture.
3. Post that picture with NO editing.
4. Post these instructions with your picture.

Next Page »