O'Reilly logo
live online training icon Live Online training

Adding Ruby microservices to your app

Learn how to build scalable microservices that speed up your app

Gonzalo Maldonado

As your applications grow in size, their complexity increases exponentially. Microservices are a proven solution for making your applications easier to understand and scale.

Join Gonzalo Maldonado to learn how an example Rails app can grow organically into a microservices architecture. Drawing from a real-life use case, Gonzalo explains the patterns that emerge (it all starts with adding a Rails engine) and shows how any team can implement these tricks with tools already at their disposal.

The two-hour course uses a mix of lectures, Q&A sessions, and live-coding examples. Gonzalo will review your exercises during the course to track your progress, and will be ready to answer any questions during the Q&A.

What you'll learn-and how you can apply it

By the end of this live, online course, you’ll understand:

  • What is meant by a microservices architecture
  • What you’ll need to create one
  • Gotchas

And you’ll be able to:

  • Create a microservice in Ruby
  • Integrate it into an existing Rails app
  • Evaluate whether a microservices architecture works for your app or not

This training course is for you because...

  • You are a Rails architect or technical lead working with increasingly complex applications
  • You work with Rails and want to understand what a microservices architecture can do for you
  • You want to be able to scale parts of your app independently


An advanced understanding of Rails will be useful to get the most from this course

Materials and downloads needed:

Recommended Preparation:

Advanced Rails

About your instructor

  • Gonzalo Maldonado has been hacking every Turing-complete device he has stumbled upon since the days when computers had green screens. From Apple IIs and Raspberry Pis to iOS devices and distributed Ruby systems (yes, Ruby can be concurrent), Gonzalo has managed to tame any system to create fun and useful software that makes people happy. He now is a lead engineer at Must Win, a consultancy specializing in helping companies build and maintain scalable systems.


The timeframes are only estimates and may vary according to how the class is progressing


  • Lecture — You are already doing (or almost) Microservices
  • Exercise — Creating an Image Processing Micro Service
  • Lecture — How to use Microservices to scale your app
  • Exercise — Writing a Microservice that uses SQS to delay scraping data
  • Q&A