RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

How I Monitor My Website With Syslog Alerts and Monit [video]

System failure is not binary - your application may be slow, or restarting too often, or teetering on the edge of disaster. System monitoring is how you detect these issues - either before or after the fact. I show you how I scan my aggregated logs from multiple components for certain logged error conditions (e.g. hacking attempts). If serious ones crop up, an email alert is triggered. Next I demonstrate how to use Monit to get real-time stats on your system’s CPU and RAM usage. Following that I use another tool to graph my RAM usage patterns over the last week. Zooming out again, I introduce response time stats. [more inside]

Eventide Test Abstractions: Testing So Easy It Feels Like Cheating

Introducing Eventide fixtures, a test abstraction that greatly reduces the effort required to write tests by providing a set of specialized assertions that dramatically improve the ease of verifying the operation of all aspects of Eventide systems. And Eventide fixtures are just plain old Ruby objects, which can be tested like any other object.

Loading older posts