Field notes — essays & research notes

Things I've written down.

Ruby, Rails, performance, security and applied machine learning. Updated when something feels finished.

31 posts in Ruby & Rails
RUBY & RAILS 12 / 17 / 25

Changing an API without breaking anyone

You cannot make clients upgrade. Every change has to work for consumers who will never read your changelog.

2 min
RUBY & RAILS 12 / 03 / 25

Three questions your monitoring should answer

Is it broken, what is slow, and why did this one request fail? Most setups answer the first and leave you grepping for the third.

2 min
RUBY & RAILS 10 / 22 / 25

The server was fast and the page still felt slow

Server time is a fraction of what a user experiences. The rest is fonts, images, and what the browser is blocked on.

2 min
RUBY & RAILS 09 / 16 / 25

Elasticsearch wasn't the problem. My queries were.

Halving search response time while raising result accuracy 35% — mostly by rewriting what I was asking for, not what I was asking it on.

4 min