Updates to memcached, nginx monitoring

By Derek Bullet_white Comments Comments

Colin Surprenant did some quality GitHub forking today, enhancing the monitoring for memcached and nginx.

The memcached stats plugin reports the following data:
  • Current connections
  • Current data MB
  • Evictions
  • Get count
  • Get hits
  • Get misses
  • Max data MB
  • Set count
  • Total items
...and alerts you if the plugin can’t connect to memcached.

The ngix status plugin reports the following data:
  • Reading
  • Requests
  • Requests per/second
  • Total
  • Waiting
  • Writing

Thanks to Mike Mangino and Luc Castera for their original work on the memcached and ngix plugins, respectively.

Scout Install Urls:

And just how did Colin, Mike, and Luc magically add this functionality to Scout? It’s easy – see our guide.


See Scout's big changes at Golden Gate Ruby Conference and RailsConf

By Derek Bullet_white Comments 2 comments

It’s been almost a year since we launched Scout, and over the past couple of months, we’ve been working on a big new release. We’ll be showing off Scout’s new features at the Golden Gate Ruby Conference on April 17th and 18th and at RailsConf on May 4th-7th.

Hope to see you in our booth!


Hardware Upgrade - Downtime 3pm-3:30pm

By Derek Bullet_white Comments Comments

A quick note that we are continuing our hardware upgrades, and we’ll have downtime from 3pm-3:30pm PST today, February 12.


Scout reviewed in French

By Derek Bullet_white Posted in Updates Bullet_white Comments Comments

If French suites you better than English (or you just like imagining yourself coding in a Paris coffee shop), Raphaël Emourgeon has penned a review of Scout in French.

Raphaël sums up Scout nicely:

Après avoir installé un gem et ajouté une tâche cron sur le serveur à surveiller, tout se fait à distance via le site Internet de Scoutapp. Il suffit de quelques clics pour installer un plugin sur une machine et commencer la surveillance. Les plugins font toute l’originalité du système puisqu’un plugin est un script Ruby qui peut faire tous les traitements imaginables et qui utilise ensuite l’API (très simple) de Scoutapp pour renvoyer des résultats.

P.S. If you’re like me and struggle with French, here’s Google’s attempt at the translation


Bigger Hardware = Downtime today, 1PM PST

By Derek Bullet_white Comments Comments

We’re upgrading our infrastructure and Scout will be down from approximately 1PM – 1:30 PM PST.

Sorry for any inconvenience this may cause.


Solving the random Rails performance problem

By Derek Bullet_white Comments Comments

Last week I uncovered a tricky performance problem on Scout I wanted to share.

In seemingly random fashion, when accessing my account home page, the render time was 5-6 seconds – way too slow. Other times, the render time would be far less than a second.

Here’s what I did to debug:

  1. Tailed my production log
  2. Opened up the mysql console
  3. Generated a slow request
  4. Ran the mysql SHOW PROCESSLIST command


Plain as day, I saw a query taking 30+ seconds. A simple mysql EXPLAIN on the query revealed a missing index. A new index fixed the issue. This query was outside the Rails application – a background job – so I never saw the query when optimizing the application.

Checkout the impact on the DB server load:

It’s a great lesson that you really need the complete picture of your infrastructure when something goes wrong – just looking at the Rails application often doesn’t cut it.

P.S. You’ll love what’s coming up with Scout – finding these problems gets a lot easier.



Older posts: 1 ... 56 57 58 59 60 ... 68