Recent Snippets

2025-01-07: A silly optimization: adding opt_respond_to to the Ruby VM, part 6

2024-12-31: Defining an instruction: adding opt_respond_to to the Ruby VM, part 5

2024-12-28: Peephole optimizations: adding `opt_respond_to` to the Ruby VM, part 4

2024-12-26: The Ruby Syntax Holy Grail: adding `opt_respond_to` to the Ruby VM, part 3

2024-12-23: Finding the compiler: adding `opt_respond_to` to the Ruby VM, part 2

SolidQueue Batches: evolution and architecture

When Rosa first released SolidQueue, she did a fantastic talk on the internals of how it works and what trade-offs she made when building it. You should give it a watch. It’s where I first learned how the SolidQueue approach works, and why it performs as well as it does. I wrote the batch …

A comprehensive guide to PgBouncer/Postgres compatibility

My previous post, PgBouncer is important, useful, and fraught with peril, was a deep dive into Postgres feature compatibility with different modes of PgBouncer. I’m happy with how it came out and it was well received. I think it is the most comprehensive guide to Postgres/PgBouncer compatibility …