Talking head
RailsConf 2015

This presentation, by Dan Kozlowski, Colin Kelley, is licensed under a Creative Commons Attribution ShareAlike 3.0
80x15

We had a real-time API in Rails that needed much lower latency and massive throughput. We wanted to preserve our investment in business logic inside ActiveRecord models while scaling up to 1000X throughput and cutting latency in half. Conventional wisdom would say this was impossible in Ruby, but we succeeded and actually surpassed our expectations. We'll discuss how we did it, using Event-Machine for the reactor pattern, Synchrony to avoid callback hell and to make testing easy, Goliath as the non-blocking web server, and sharding across many cooperative processes.

Rated: Everyone
Viewed 880 times
Tags: There are no tags for this video.