Blogs

Very-nearly-free HTTPS redirects for Heroku and DNSimple | justin․searls․co
Tuesday, while recording an episode of The Changelog, Adam reminded me that my redirects from possyparty.com to posseparty.com didn't support HTTPS. Naturally, because this was caught live and on air and was my own damn fault, I immediately rushed...

A Practical Guide to Postgres Isolation Anomalies and How To Tame Them | Dan Svetlov’s blog
Postgres is a powerful and versatile database management system, now ubiquitously used in all types of applications, most notably web services. In this context, its most important property is the ability to serve multitudes of users at the same ti...

Simple Declarative Presence for Hotwire apps with AnyCable—Martian Chronicles, Evil Martians’ team blog
Learn how to seamlessly integrate online presence tracking into a Rails application powered by Hotwire and AnyCableIf Margaret had a more transparent line of communication, “Are you there?” would have been an unnecessary question, and we’d never h...



Better stability with Rails load testing in Apache JMeter - Honeybadger Developer Blog
Before we can release our software to end users, we must perform different kinds of tests to ensure that the application is bug-free and meets business requirements. When users begin using the application, various things can cause the application ...

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...