Lightweight Web Services
summary
Argues that breaking a monolith into tiny HTTP services avoids Rails boilerplate by using Sinatra and simple tools, showing a real blog at ~20–30 lines, GetWiki at 355 lines (including views), and a metrics service RiffGraph at 61 lines that stores its own DB and serves graphs; client-side RestClient acts like an interactive curl with logging and a console; GitHub Services handles post-receive hooks for over 5,000 users with just a few mongrels; CouchDB and Heroku clients are implemented easily via Rack/HTTP.
AI-written summary · about
chapters (15)
- 0:00Intro
- 2:29Web Services
- 5:32Sinatra
- 9:22Sinatra Features
- 10:17Sinatra Commitment to Small
- 11:51Sinatra is a Ruby Citizen
- 13:26Git Wiki
- 14:31Inline Templates
- 17:26GetUp Services
- 19:33Active Resource
- 22:08Reverse Sinatra
- 24:15Examples
- 26:15Principles
- 34:18Sinatra Documentation
- 38:03Sinatra Roadmap
related talks
23mAbstracting a Service - A Case Study in Forward Thinking with SOA
33mServices and Rails: The Sh*t They Don't Tell You
33mServices and Rails: The Shit They Don't Tell You
28mNitty Gritty Service Building
50mLiving Social Lightning Talks
34mSimple and Elegant Rails Code with Functional Style
27mScaling a Rails Monolith w/Event Driven Microservices
26mMonolith-ifying perfectly good microservices
