Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

The Complete Guide to Building Highly Scalable, Services-Based Rails Applications

Ruby on Rails deployments are growing, and Rails is increasingly being adopted in larger environments. Today, Rails developers and architects need better ways to interface with legacy systems, move into the cloud, and scale to handle higher volumes and greater complexity. In Service-Oriented Design with Ruby and Rails Paul Dix introduces a powerful, services-based design approach geared toward overcoming all these challenges. Using Dix’s techniques, readers can leverage the full benefits of both Ruby and Rails, while overcoming the difficulties of working with larger codebases and teams.

Dix demonstrates how to integrate multiple components within an enterprise application stack; create services that can easily grow and connect; and design systems that are easier to maintain and upgrade. Key concepts are explained with detailed Ruby code built using open source libraries such as ActiveRecord, Sinatra, Nokogiri, and Typhoeus. The book concludes with coverage of security, scaling, messaging, and interfacing with third-party services.

Service-Oriented Design with Ruby and Rails will help you

  • Build highly scalable, Ruby-based service architectures that operate smoothly in the cloud or with legacy systems

  • Scale Rails systems to handle more requests, larger development teams, and more complex code bases

  • Master new best practices for designing and creating services in Ruby

  • Use Ruby to glue together services written in any language

  • Use Ruby libraries to build and consume RESTful Web services

  • Use Ruby JSON parsers to quickly represent resources from HTTP services

  • Write lightweight, well-designed API wrappers around internal or external services

  • Discover powerful non-Rails frameworks that simplify Ruby service implementation

  • Implement standards-based enterprise messaging with Advanced Message Queuing Protocol (AMQP)

  • Optimize performance with load balancing and caching

  • Provide for security and authentication

Subscriber Reviews

Average Rating: 5 out of 5 rating Based on 4 Ratings

"Emphasizes all the right points" - by Michael on 13-MAR-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book emphasizes all the right points: the benefits that come from building multiple smaller services/applications instead of giant monolithic systems, common issues that come from such approach and what Ruby tools fit what problem well.

Highly recommended to every developer working with Ruby: over time practices described in this book will be even more relevant because we are seeing whole business models developing around providing highly-specialized RESTful services to 3rd parties.

Report as Inappropriate

Table of Contents

 Index