Blogs

Intro - Ruby, Ractors, and Lock-Free Data Structures
This story is about concurrent data structures in the context of Ruby. The goal here is to demonstrate how true parallelism can be achieved with global mutable state (which at the time of writing, is not supported by built-in Ruby primitives).
Fa...

Matching Regexps 200 Times Faster · On the Edge of Ruby
You might have seen @byroot’s excellent blog post series on optimizing the json gem. From the first blog post it’s clear most of the time for generating JSON is spent in generate_json_string() and specifically in convert_UTF8_to_JSON(), i.e., in c...


An Opinionated Guide to Configuring Rails on Heroku
So you’re firing up a new Rails application and you’ve chosen Heroku as your preferred hosting solution. First, congrats! Taking a new app to production is exciting and one of the best times of a developer’s application-cycle. Our little team of t...

Imagine: Rails 8 Solid Trifecta: Cache, Cable, Queue
The "Solid Trifecta" is a suite of database-backed solutions—Solid Cache, Solid Cable, and Solid Queue—added in Ruby on Rails 8 to simplify application architecture by reducing the need for external services like Redis and Memcached. These compone...

Four choices for packaging Ruby binary distributions
When I’m building new products, I like to keep as much of it in the “same language” as possible. This usually isn’t a problem because applications live on the server, but Terminalwire is different—it requires users to install the Terminalwire Clie...

Better Know A Ruby Thing: Method Lookup – Noel Rappin Writes Here
Before we get fully started here, a couple of notes on Better Know Singleton Classes, which, among other things, got mentioned on Hacker News, giving me comments there for the first time in years, maybe for the first time ever.
One Hacker News co...

