Web API's with ERLANG a Ruby Dev's POV
summary
Shows concrete claims and proven choices: a Rails developer rewrites a web API in Erlang, keeps Ruby tooling by using rebar and a Sinatra‑style router, implements per‑user processes so a game backend handles roughly 20 million monthly users with peaks of 6500 requests per second, uses hot code reloading and flogger for readable logs, tests with eunit extensions, builds a tiny custom web server, and successfully deploys the codebase to Heroku with the repository available for inspection.
AI-written summary · about
chapters (38)
- 0:00Intro
- 0:45More than SYNTAX
- 0:56web apis with ERLANG a ruby dev's POV
- 1:25terence lee IS NOT a liar
- 2:02SNOW BOARDING
- 2:29SURFING
- 5:00this is not an ERLANG introduction
- 5:43erlang REFRESHER
- 6:07RUNTIME SYSTEM
- 6:34why ERLANG?
- 8:11seriously CONCURRENT
- 8:34with built in ACTORS
- 9:34fault TOLERANT
- 10:39HOT SWAPING
- 11:02remote SHELL
- 11:22erlang at WOOGA
- 11:53technical CHALLENGES
- 12:16backend traffic up to 6.500 RPS for Monster World
- 13:02different ARCHITECTURES
- 13:15STATEFUL
- 14:30processes are CHEAP in erlang
- 15:21erlang WEB APIS
- 15:42REBAR
- 17:30What WEBSERVER shall we use?
- 19:40you're doing it WRONG!!!
- 19:55PATTERN MATCHING
- 21:49does it support MIDDLEWARE?
- 23:52AWESOME MONITORING
- 24:34how about ENVIRONMENTS?
- 26:02LOGGING?
- 27:55how about UNIX STYLE?
- 30:59UNIT TESTING?
- 31:16no STACKTRACE the easy way
- 34:31MOCHIWEB
- 36:05GUARD
- 37:28HEROKU BUILDPACK
- 38:09PROCFILE
- 39:50FOREMAN
related talks
42mBuilding Better Web APIs with Rails
47mBERT and Ernie: Scaling your Ruby site with Erlang
30mRails Sojourn: One Man's Journey
16mOne Ruby App to Rule Them All
35mBuilding Ambitious APIs with Ruby
43mPolyglot Paralellism: A Case Study in Using Erlang and Ruby at Rackspace
54mLiving in a Polyglot World
53mBuilding Performant Backends with Elixir
