Operations | Monitoring | ITSM | DevOps | Cloud

Ruby

10 Best Practices for Ruby on Rails Development

There is much to learn when coding with Ruby on Rails, and the steep learning curve is not always easy. Fortunately, as an open-source web development framework, there is a large community backing RoR that can always be sought out with questions. Chances are someone has already written a tutorial or has the advice to streamline what you're trying to do with Ruby on Rails. Here are the best practices for Ruby on Rails development for your web development project.

Optimize Ruby garbage collection activity with Datadog's allocations profiler

One Ruby feature that embodies the principle of “optimizing for programmer happiness” is how the language uses garbage collection (GC) to automatically manage application memory. But as Ruby apps grow, GC itself can become a big consumer of system resources, and this can lead to high CPU usage and performance issues such as increased latency or reduced throughput.

How To Integrate Ruby with Logit.io

Developed in the mid-1990s, Ruby is a dynamic, open-source programming language. The tool has grown in popularity from its initial release, having been used in modern systems covering a variety of corporate and academic use cases. Ruby gained further traction after the release of Ruby on Rails, a powerful web application framework written in pure Ruby.

Setting Up Custom Metrics with Effective Alerts for a Ruby App in AppSignal

Most of the time, the default application monitoring metrics, graphs, and visualizations provided by AppSignal will do for your Ruby app. However, you might be the kind of user who likes a bit of control over what is measured, how it’s displayed, and how critical information about your app should be relayed. AppSignal allows you to customize app metrics and dashboards as you wish. In this guide, we’ll learn all about AppSignal's custom metrics, including: And more!

Monitor the Performance of Your Ruby on Rails Application Using AppSignal

In the first part of this article series, we deployed a simple Ruby on Rails application to DigitalOcean's app platform. We also hooked up a Rails app to AppSignal, seeing how simple errors are tracked and displayed in AppSignal's Errors dashboard. In this part of the series, we'll dive into how to set up the following for your Ruby on Rails application using AppSignal: Let's get into it!

How to Rescue Exceptions in Ruby

Exceptions are a commonly used feature in the Ruby programming language. The Ruby standard library defines about 30 different subclasses of exceptions, some of which have their own subclasses. The exception mechanism in Ruby is very powerful but often misused. This article will discuss the use of exceptions and show some examples of how to deal with them.

Deploying Hanami 2.0 Ruby application on AWS

The deployment of Ruby on Rails and Rack frameworks is embedded in Cloud 66’s DNA, but we are always interested to see other Ruby frameworks becoming popular, and happy to support developers who prefer to use them instead of Rails. In this post, we’re going to show you how easy it is to deploy a Hanami Ruby application on AWS cloud with Cloud 66. The recent Hanami v2.0 release brought a lot of incremental upgrades to the framework, which made it more mature.