Service-Oriented Design with Ruby and Rails and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $2.13 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading Service-Oriented Design with Ruby and Rails on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Service-Oriented Design with Ruby and Rails (Addison-Wesley Professional Ruby Series) [Paperback]

Paul Dix
4.4 out of 5 stars  See all reviews (10 customer reviews)

List Price: $49.99
Price: $33.97 & FREE Shipping. Details
You Save: $16.02 (32%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 6 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Wednesday, May 29? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $22.79  
Paperback $33.97  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

August 27, 2010 0321659368 978-0321659361 1
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

Frequently Bought Together

Service-Oriented Design with Ruby and Rails (Addison-Wesley Professional Ruby Series) + Eloquent Ruby (Addison-Wesley Professional Ruby Series)
Price for both: $60.97

Buy the selected items together


Editorial Reviews

About the Author

Paul Dix is co-founder and CTO at Market.io. In the past, he has worked at Google, Microsoft, McAfee, Air Force Space Command, and multiple startups, filling positions as a programmer, software tester, and network engineer. He has been a speaker at multiple conferences, including RubyConf, Goruco, and Web 2.0 Expo, on the subjects of service-oriented design, event-driven architectures, machine learning, and collaborative filtering. Paul is the author of multiple open source Ruby libraries. He has a degree in computer science from Columbia University.

Product Details

  • Paperback: 320 pages
  • Publisher: Addison-Wesley Professional; 1 edition (August 27, 2010)
  • Language: English
  • ISBN-10: 0321659368
  • ISBN-13: 978-0321659361
  • Product Dimensions: 7.1 x 0.7 x 9.1 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (10 customer reviews)
  • Amazon Best Sellers Rank: #212,287 in Books (See Top 100 in Books)

More About the Author

I've been using Ruby and involved with the NYC.rb meetup since the fall of 2005. During that time I've done Rails applications for the New York Jets, Flavorpill, BBC, Channel 4 UK, KGB, Efficiency 2.0, and my current employer Benchmark Solutions. I first started working with service architectures in Ruby at KGB. There we had a complex application with search, real-time indexing, and machine learning. That was in addition to all the standard web application stuff. Due to the complexity of the various pieces, we split it off into multiple services and I've been interested in the topic since.

My formal background is in CS with an emphasis on AI, machine learning, search, and natural language processing. I suppose that accounts for my other passion: machine learning. I organize the machine learning meetup in NYC which regularly features speakers from leading universities and labs giving talks about the latest in the field.

I'm pauldix on Twitter, Github, and most every other service on the web. Feel free to drop me a line to talk about Ruby, services, or machine learning.

Customer Reviews

4.4 out of 5 stars
(10)
4.4 out of 5 stars
Share your thoughts with other customers
Most Helpful Customer Reviews
13 of 14 people found the following review helpful
5.0 out of 5 stars Great intro to scalable designs for Ruby programmers September 11, 2010
Format:Kindle Edition|Amazon Verified Purchase
I'm a little tired right now to give a thorough review, but I wanted to get something down to benefit other potential buyers. First off, let me give some background on myself so you have a point of reference. I've been programming web software and services as a hobby for the last 10 years. My forte has always been with Perl, with a recent desire to try newer languages like Python and Ruby. My particular interest in this book stems from a new project I'm working on that lends itself to a service-oriented design from the get-go. I have no other experience with Ruby or Rails except for short periods of "play time" with Rails when it first became popular, years ago. But I'm *very* experienced with service-oriented and scalable internet architectures (I work for OmniTI), so I expected much of the book to be a rehash of what I'm exposed to on a daily basis anyways.

The author (Paul Dix) immediately throws the reader into a sample web service, typical to any modern REST web application. What I really appreciated was how he stressed the test-driven development approach via rspec, although it might have been beneficial to give a bit more background into the advantages of TDD and the specifics of rspec within Ruby and Rails testing. Nevertheless there is sufficient coverage of the process to get the reader off on the right foot. There are a few bugs in the included code examples that have either been fixed in the github repository ([...]).

Chapter 2 describes the philosophies and methodologies behind service-oriented designs and the differentiators to SOA, XML-RPC and related books such as "RESTful Web Services". Paul makes a sane argument for service-oriented designs with Ruby over the monolithic Rails applications we've seen as Rails has continued to grow in popularity, introduced to larger production loads. The reader learns about isolating services and the benefits (testing, resiliency, performance) associated with various levels of separation.

Chapter 3 gives experienced Rails developers an example migration by segmenting a "typical" Rails installation into independent services. This had limited value to me, since I plan to write Ruby web applications from scratch. But there is still value in a series of well-presented diagrams demonstrating the MVC equivalence of service-oriented design.

Chapter 4 (along with the "RESTful Primer" appendix) provide an excellent overview of RESTful web services and API design. As there is no formal REST specification, much of this is based on accepted industry practices, but the coverage is thorough and very digestible.

This is all I have time to write up at the moment. Suffice it to say I'm very pleased with this book and will continue to refer back to it as I develop in Ruby. Although the book is designed for experienced Rails programmers, I have no reservation in suggesting this to beginner Ruby/web developers... so long as they have another core Ruby reference at their disposal.
Comment | 
Was this review helpful to you?
12 of 13 people found the following review helpful
Format:Paperback
I never review books on Amazon. But I wrote a review for Metaprogramming Ruby (Feb 2010 Pragmatic Programmers) because it was just such a must-read. And I'm writing one for this, because it's also a must-read. The target audience for this book is the intermediate Rails developer who has his all-in-one app with background processing, and is wondering "what next"? "What if tomorrow users start joining my site by the droves?" "What if I'm written up on TC / Digg / Slashdotted tomorrow?"

If I HAD to give criticism, the only thing I could think of is that this book goes into implementation details for some subjects but not others. For example, it has pages and pages of code to illustrate how to write a service in rails, Sinatra, Rack, but skips over a lot of ops related stuff. If you were going about implementing the ideas in this book, those issues would confront you far before you write your services, do your load balancing and edge caching, etc. I would love for Dix to write a second book on that topic. That's just nitpicking, though - part of the reason I think Dix went into depth with the code goes back to the target audience: it is very helpful to show Sinatra and Rack analogues to a guy who has only used Rails.
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
5.0 out of 5 stars The best ruby book I've read in a long time October 27, 2010
Format:Paperback|Amazon Verified Purchase
It's rare that I read a ruby book these days and learn something new in every chapter, but I did from this book. The title doesn't do the book justice. The ruby examples use Rack, Sinatra and Rails (including Rails 3 examples) to demonstrate how to quickly build and test REST services and service clients.

It covers everything from high-level architecture decisions, like when to introduce services and how to decide what goes where, to seemingly small details, like dealing with serving pagination links in apis.

The only downside is that it could have gone into more detail about how to run apps with multiple services locally.

I read it cover to cover, and frequently refer to it. I highly recommend it to anyone working on moderate to large Rails apps. It completely demystified SOA for me.
Was this review helpful to you?
Most Recent Customer Reviews
4.0 out of 5 stars A solid overview of how to implement SOA in Rails
Despite being a few years old, this book holds up pretty well. Great coverage of big picture concepts. Wish there was more code.
Published 2 months ago by Marshall Yount
3.0 out of 5 stars Relatively superficial introduction
As a software engineer tasked with implementing a new service-oriented design in Ruby, I was really hoping this book was going to teach me something new. Read more
Published 4 months ago by tomblomfield
5.0 out of 5 stars No hypothetical fluff, but real-life examples how to architect...
I have researched many books on the subject and I NEVER find time to do a book review but the work done on this book by Paul Dix is amazing. Read more
Published 7 months ago by rs13
5.0 out of 5 stars Valuable information
At first, I was a little skeptical of this book. I wasn't sure if it would be able to answer all my questions and how it would compare to the knowledge I already had. Read more
Published 11 months ago by Andrew Havens
2.0 out of 5 stars Lacks depth
I was disappointed reading this. It does have patches of good information but I felt that nearly every chapter would mention a problem space or an area of interest, mention 6 or... Read more
Published 18 months ago by David Barri
5.0 out of 5 stars Excellent book for web API and backend designers
While this book is ostensibly about Rails, it's a whole lot more than that. It's an excellent general introductory resource for experienced developers in other areas who want to... Read more
Published on May 25, 2011 by Raj Bandyopadhyay
5.0 out of 5 stars A key acquisition!
Paul Dix with Trotter Cashion, Bryan Helmkamp and Jake Howerton's SERVICE-ORIENTED DESIGN WITH RUBY AND RAILS is for any programmer's collection where Ruby and SOA are basic... Read more
Published on December 12, 2010 by Midwest Book Review
Search Customer Reviews
Only search this product's reviews


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category