It Looks Like You're Writing A Service: Would You Like Help?
summary
Union Metrics extracts seams from a Rails app into a stand-alone service called spectator with a concrete spec (URI, params, request body, and status codes 201 409 403). Development follows a client-first approach, a unified HTTP client (HTTParty) and simple YAML config, tests with WebMock and rack‑test, and a demo fixture shortcut to return canned JSON. Integration uses a get_local_response stub for local production data. Ops rely on a JSON health check that verifies Redis and the database.
AI-written summary · about
chapters (13)
- 0:00Start
- 2:00REUSABLE
- 2:28CONSUMABLE
- 6:07ERROR HANDLING
- 7:38CONNECTION
- 8:25UNIFIED ACCESS
- 12:50DEMO INTERFACE
- 14:59HEALTH & MONITORING
- 19:40DEV ENVS
- 20:46CONTEXT
- 22:26SMALL DEPLOYS
- 23:06EXPERIMENTS
- 24:11PARALLEL WORK
related talks
22mNitty Gritty Service Building
33mServices and Rails: The Shit They Don't Tell You
23mAbstracting a Service - A Case Study in Forward Thinking with SOA
28mNitty Gritty Service Building
33mServices and Rails: The Sh*t They Don't Tell You
37mRails as an SOA Client
28mServices and Rails: The Shit They Don't Tell You
42mLightweight Web Services
