FiveRuns Blog

On Rails production performance and monitoring

Posts by Section
Partners

Ramping RAMP - New Opportunities for Added Margin with FiveRuns

This week at RailsConf, we’re ramping up our Rails Application Management Partner (RAMP) program – providing even more benefits for Rails hosters and development organizations looking to add Ruby on Rails application performance management as a service offering.

We’re also happy to announce two new additions to the FiveRuns partner roster – HostingRails and SpeedyRails.

So, what’s new with RAMP?

To coincide with the general availability of FiveRuns Manage 2.0 and the beta release of FiveRuns TuneUp, we’ve added new pricing and service offerings for all types of hosters, from slice-hosters to full managed Rails hosters, as well as Rails development organizations. Key features of the RAMP program include:

  • Aggressive reselling margins, with flexible slice pricing for managed hosters
  • Free internal usage of Manage 2.0 for hosters and developers
  • Ability to offer free FiveRuns TuneUp product links and 30-day trials of FiveRuns Manage to customers
  • Lucrative referral fees for Rails developers and hosters who refer directly to FiveRuns
  • Profiles and links on the FiveRuns website partner pages
  • No up-front sales commitments to get started

To find out more, just visit our partner page or shoot us a email at ramp@fiveruns.com.

Bookmark and Share

FiveRuns Developer Adam Keys in This Week's Rails Envy Podcast

FiveRuns developer Adam Keys joined Jason Seifer and Gregg Pollack in this week’s Rails Envy podcast. Tune in and hear the guys talk about git-me-up, Ezra and Rack, and more.

Bookmark and Share

Discussing Ruby on Rails with Robert Dempsey of ADS

FiveRuns partner Atlantic Dominion Solutions is a premier web development firm that specializes in the use of Ruby on Rails to solve real business problems. A few months ago, ADS launched the Mantis service to provide continuous monitoring and management for Rails apps deployed onto Amazon EC2. Combining ADS services, RightScale and FiveRuns, ADS Mantis customers can have their EC2-deployed Rails applications continuously monitored, and rely on the the ADS team to prevent and, when necessary, quickly respond to issues.

Mantis is just one example of the great work ADS is doing to support the growth of the Ruby on Rails community. In this podcast, Robert Dempsey, Project Director of ADS discusses Ruby on Rails, the efforts ADS has taken to support the Rails community, application scalability with Amazon EC2, and how ADS is using FiveRuns to monitor their customers’ application environments.

FiveRuns interview with Robert Dempsey of ADS

Bookmark and Share

Highlighting Brightbox, a FiveRuns Partner

Wanted to highlight a nice video from Fritz Nelson at InformationWeek that features one of FiveRuns’ partners – Brightbox. Jeremy Jarvis and the team at Brightbox are doing a fantastic job with their virtual dedicated hosting business that is optimized for Ruby on Rails. If you’re building your Ruby on Rails application and looking for hosting services in the UK and Europe, you should definitely check out the team at Brightbox.

Direct link to the video

Bookmark and Share

Discussing Ruby on Rails Scalability with Blue Box Group

Every once in a while, we like to highlight some of the awesome work our customers and partners are doing with Ruby on Rails, so we’re kicking off something new this week. Blue Box Group is a dedicated and virtual hosting company focused on Ruby on Rails. They specialize in working with Ruby on Rails developers on everything from small deployments on virtual servers, to large 10+ server clusters pushing close to 45 million hits a day.

In this podcast, Jesse Proudman, the CEO of Blue Box discusses the unique challenges his customers face with scaling their Ruby on Rails applications, and how he uses FiveRuns Manage to troubleshoot scalability issues, streamline database performance and nip problems in the bud before they present themselves to the general public. Take a listen and let us know what you think!

FiveRuns interview with Jesse Proudman of Blue Box Group

Bookmark and Share

Sneak Peek at the FiveRuns Rails Application Partner Dashboard

Early next week we will be releasing a Partner Dashboard as part of the FiveRuns RM-Manage service. With the new dashboard, our reseller partners can see all of their FiveRuns customers in a single view and quickly drill down into events that need resolution.

With the new dashboard, a partner simply logs into their FiveRuns domain and they will see a list of all of their customers with the most vital information – availability and events – by server. Plus, there are quick links to the events and the individual customer accounts. Time is the one thing we can never have enough of and if we can save our partners a few clicks, we consider that a good thing.

Here is the first look at the Partner Dashboard. Just don’t tell marketing we showed it to you early ;-).

So, if you are a hoster, development shop, a consultant, or anyone who is monitoring systems for multiple customers, this is one more reason to join our RAMP Partner Program.

Bookmark and Share

Engine Yard Raises $3.5 Million

Congratulations to FiveRuns partner Engine Yard on their recent funding from Benchmark Capital. This is great news for Engine Yard, as well for the Ruby and Rails communities. We’ve been investing in and betting on a future filled with Rails production applications and this news completely validates our common view of the market and the opportunity that it represents to the community.

We’re firm believers that continued investments in the ecosystem around Ruby and Rails are needed, whether they are used to propel the continued progress of Rubinius and Merb, or used to build out the tools needed to deploy and monitor Rails applications in production environments.

While Rails continues its awesome momentum, we still see many businesses waiting on the sidelines to benefit from this great framework. What are they waiting for? A better development environment? Not really. They tell us that they are waiting for an ecosystem of tools, services, support, and best practices that will ensure that if they build a business-critical Rails application it will integrate into their existing environments, scale, be available, and perform. For many companies, their desire to use Rails is mitigated by the early adopter risks associated with thoughts of having an important Rails application operating without the safety net of a supportive ecosystem. The opportunity to address this concern is why we’re excited to work in this space.

Congrats again to Lance and the team at Engine Yard. Here’s to more investment in our community!

Bookmark and Share

ADS Spawns Mantis to Manage EC2 Deployments

FiveRuns partner, Atlantic Dominion Solutions announced today a new service to provide continuous monitoring and management for Rails apps deployed onto Amazon EC2. ADS Mantis combines dedicated 24×7 service with management and monitoring tools from RightScale and FiveRuns. The only solution of its kind, ADS Mantis minimizes downtime by continuously monitoring EC2-deployed Rails applications, thus enabling the ADS team to prevent and, when necessary, quickly respond to issues.

This is great news for EC2 customers, many of whom have been attracted to EC2 for its flexibility. With ADS Mantis, they can now get peace of mind that their Rails applications will operate at optimal performance. We are excited to be a part of this offering and look forward to working with ADS to help EC2 customers monitor, manage and scale their Rails applications.

Bookmark and Share

Brightbox Bundles FiveRuns

We’re happy to welcome the newest partner to the FiveRuns family: Brightbox, a UK-based provider of virtual dedicated servers optimized for hosting Ruby on Rails applications. Each Bightbox comes with a Ruby on Rails stack preinstalled, managed MySQL database servers and is based on the Xen virtualization platform. Brightbox will bundle FiveRuns RM-Manage Rails application monitoring software with their Ruby on Rails hosting plans (512 and above).

Brightbox is quickly becoming the premier Rails hoster in the UK, and we couldn’t be more excited to partner with them. Combining their scalable Rails hosting environments with FiveRuns Rails application monitoring software will enable customers to ensure their Rails applications operate at peak performance in a fully monitored server environment.

From Brightbox Director Jeremy Jarvis:

“We are very excited about this new partnership and the value it adds to our Ruby on Rails hosting solutions. We first used the FiveRuns management tool a few months ago and were incredibly impressed with the level of detail, functionality and ease of use. This partnership really gives Brightbox a competitive advantage.”

Together, Brightbox and FiveRuns provide a unique, intelligent and scalable solution to hosting Ruby on Rails applications.

For more information, see the announcement, or visit Bightbox directly.

Bookmark and Share

FiveRuns sponsors acts_as_conference

We’re pleased to announce that we’ve signed on as a Gold sponsor for the upcoming acts_as_conference event, February 8-9 in sunny Orlando. Thanks to Robert and all the folks at Rails for All for the opportunity. We’ll be there to answer questions about how to monitor and improve performance of Rails applications with our Rails application monitoring software...

...and enjoying the sunshine. Hope to see you there!

Bookmark and Share

ELC Technologies and FiveRuns Partner on Rails Applications

We are happy to announce that FiveRuns and ELC Technologies have partnered to deliver monitored Rails applications to global businesses.

The team at ELC Technologies has established themselves as a leader in the Rails application development space, and we’re pleased to join them in combining our Rails application monitoring tools to the mix.

Bookmark and Share

Monitoring JRuby on Rails Applications with FiveRuns RM-Manage

FiveRuns has been working with the JRuby team to make sure that our Rails instrumentation layer works seamlessly with JRuby on Rails. We’re excited to announce that our customers can now monitor JRuby on Rails applications with the latest JRuby 1.0.2 release just like they could with the standard Ruby interpreter.

This post will show you how to monitor a JRuby on Rails application with FiveRuns. We’ll use the Radiant content management system as our example.

Please make sure you have the latest JRuby 1.0.2 release installed and configured.

Here are the versions of Rails and Radiant we are using:

demo:~$ jruby -S gem list | egrep "radiant|rails" 
radiant (0.6.4)
rails (1.2.5)

Let’s create a new Radiant site:

demo:~$ jruby -S radiant --database=mysql newsite
create  
...

For this example we will use a MySQL 5.0.45 database server installed locally. Initially, we will use the MySQL ActiveRecord adapter written in Ruby that comes with Rails. In a later blog post we’ll show how to configure the JDBC adapter.

Following this example, further standard Radiant configuration steps include the creation of a database instance and the initial preparation of all necessary database structures:


demo:~/newsite$ mysql -u root -e "create database newsite_production" 
demo:~/newsite$ rake production db:bootstrap
...

Now we come to the FiveRuns specific configuration steps. If you haven’t installed the FiveRuns client on the server hosting the Radiant application please do so now.

The client collects the metric data locally and sends it to the FiveRuns service. Once installed it will discover your local Rails applications including this Radiant site.

After a fresh client installation you will find the Radiant application listed in the Subsystem section at “Settings > Active Systems”. Please activate monitoring of this application by enabling both check boxes. Only if the Rails application is enabled will the service collect metrics.

Screenshot showing Subsystem configuration dialog

If you already have the FiveRuns client installed please trigger a local rescan by restarting the client. On a Linux system you can do this with the following command:


demo:~/newsite$ sudo /etc/init.d/fiveruns_client restart

In order for the FiveRuns client to collect the detailed application metrics you will have to download the Rails instrumentation plugin into the vendor/plugins directory. The latest plugin version is available via the FiveRuns subversion repository.

To download it, start by getting your subversion login information from the Subsystems pane in the FiveRuns web console. It provides account-specific details and a link to further documentation. For this example we use the following steps:


demo::~/newsite$ svn export --username demo \
  http://svn.fiveruns.com/svn/public/fiveruns/tags/1.0.0 \
  vendor/plugins/fiveruns
Authentication realm: <http://svn.fiveruns.com> FiveRuns Subscribers
Password for 'demo': 
...

Now you can start this Radiant application like any other JRuby on Rails application. You can access the application at port 3000. The Radiant admin interface is available under ”/admin”.


demo:~/newsite$ jruby script/server -e production

To verify that the Rails instrumentation is working please take a look at the log directory. You should see at least one file that begins with “rails_monitor.json”. This is the location where the FiveRuns’ Rails monitoring plugins writes its instrumentation metrics. These are then picked up by the FiveRuns client and sent to the host service. This is what we see on our demo system:


demo:~/newsite$ ls log
production.log  rails_monitor.json.4699264

After five minutes the web interface will update the Rails metrics in the web console. They can be viewed either under “Browse > Systems” or “Browse > Applications”. The latter location, called Application Browser, provides a detailed view into the Rails application while running in production. Here is a screenshot:

Application Browser highlighting the Radiant application

The left pane breaks an application down into controllers and their associated actions. The right hand side details individual action invocations by average model, view and controller execution times.

Please make sure that traffic is hitting the application. Otherwise, the instrumentation layer will not send updates. Ideally, the traffic should be actual user traffic so real application bottlenecks can be identified.

We designed the instrumentation layer to minimize any overhead or impact on the production application. It is resourceful in how it collects, aggregates and send metrics back to the FiveRuns service.

In this blog entry we highlighted a simple JRuby on Rails configuration. In a follow up post we will explore a more advanced setup that includes Glassfish and JDBC. Such a configuration will mimic more closely a typical JRuby on Rails production application. However, the basics as outlined above will stay the same.

Bookmark and Share

FiveRuns Partners with ADS, Robert Dempsey comments

We are very excited to not only have a little extra cash in the bank thanks to Austin Ventures, but also to announce that ADS (Atlantic Dominion Systems) is our newest RAMP partner!

ADS is a premier web development firm that specializes in using Ruby on Rails to build advanced, scalable, database-backed applications for organizations of all sizes. We are looking forward to forming a great partnership with Robert Dempsey and the entire ADS team.

Check out Robert Dempsey’s comments here.

Bookmark and Share

Using Glassfish and JRuby

I’m going to be giving a short talk next week at the monthly Austin on Rails meeting on using Glassfish and JRuby as an alternative deployment stack to Mongrel and MRI. On one side we have the battle scarred veteran and on the other, the corporate upstart. Who will win in this epic battle of deployment stacks? I invite our loyal readers to come to the meeting and find out!

Read all the details in the Meeting Announcement.

Bookmark and Share