Ratings by sethherr

7 Matching Ratings

Rated ↓ Article

Dear Rubyists: Shopify Isn’t Your Enemy

I’ve been meaning to write a post about my perspective on Open Source and corporate entities. I already got the rough outline of it; however, I’m suffering from writer’s block, but more importantly, the whole post is a praise of how Shopify engages with Open Source communities. Hence, given the current climate, I don’t think I could publish it without addressing the elephant in the room first anyway.

2025-10-8 10:03pm byroot’s blog 4,000 words

Rated 2025-12-25 6:15am

What’s wrong with the JSON gem API?

As I mentioned at the start of my Optimizing Ruby’s JSON series of posts, performance isn’t why I candidated to be the new gem’s maintainer.

2025-8-2 2:03am byroot’s blog 3,000 words

Rated 2025-8-5 4:30pm

The Pitchfork Story

A bit more than two years ago, as part of my work in Shopify’s Ruby and Rails Infrastructure team, I released a new Ruby HTTP server called Pitchfork.

2025-3-4 2:03am byroot’s blog 10,000 words

Rated 2025-3-11 10:07am

The Mythical IO-Bound Rails App

When the topic of Rails performance comes up, it is commonplace to hear that the database is the bottleneck, so Rails applications are IO-bound anyway, hence Ruby performance doesn’t matter that much, and all you need is a healthy dose of concurrency to make your service scale. But how true is this in general?

2025-1-23 2:17am byroot’s blog 2,000 words

Rated 2025-1-26 6:42am

Optimizing Ruby’s JSON, Part 4

In the previous post, we established that as long as ruby/json wasn’t competitive on micro-benchmarks, public perception wouldn’t change. Since what made ruby/json appear so bad on micro-benchmarks was its setup cost, we had to find ways to reduce it further.

2024-12-29 10:21am byroot’s blog 4,000 words

Rated 2025-1-3 9:11am

Optimizing Ruby’s JSON, Part 2

In the previous post, I covered my motivations for improving ruby/json’s performance, and detailed the first 4 notable optimizations applied to speed up JSON generation.

2024-12-18 8:05am byroot’s blog 3,000 words

Rated 2024-12-18 7:12pm

Optimizing Ruby’s JSON, Part 1

I was recently made maintainer of the json gem, and aside from fixing some old bugs, I focused quite a bit on its performance, so that it is now the fastest JSON parser and generator for Ruby on most benchmarks.

2024-12-15 11:19am byroot’s blog 3,000 words

Rated 2024-12-18 7:04pm