Main Content

How to migrate a web API to Erlang, change databases, and not have your customers notice

About the Talk

March 30, 2012 9:25 AM

Marines’ Memorial Club & Hotel 609 Sutter Street San Francisco

Marines’ Memorial Club & Hotel 609 Sutter Street San Francisco

In this case study, we'll describe how and why we ported Opscode's high-volume Hosted Chef API from Ruby/CouchDB to Erlang/MySQL and share insights on:

  • Writing high-volume web APIs in Erlang with webmachine
  • Scripting with gen_fsm to coordinate loosely coupled back-end systems during a datastore migration.
  • Performance and operational comparisons between Ruby/Erlang and CouchDB/MySQL.

Talk objectives: Share our experience and results of porting a web service from Ruby to Erlang. Describe how we used Erlang to coordinate a datastore migration and the impacts of switching from CouchDB to MySQL. Discuss operations related characteristics of web services written in Erlang.

Target audience: Anyone considering writing or porting a web service to Erlang. Engineers interested in operational aspects of Erlang-based web services.

Ratings and Recommendations

Avg. Rating

Average based
on 1 rating

comments powered by Disqus