RSSAmplifier

Blog

(untitled)

Fractional Postgresql DBA, Ruby on Rails Developer, and Data Engineer.

shey.caRSS feed ↗10 posts

Latest posts

The Hidden Cost of Pagination

As developers, we love pagination. It is a familiar UX pattern, it is simple to implement, and we have libraries that make it easy. Give users a few filters, show them how many pages of results there are, and you have an interface flexible enough for almost everyone.

Five PostgreSQL Anti-Patterns

As Rails developers, we’re taught that code is the expensive part and that the database will mostly take care of itself, as long as you throw enough RAM, CPU, and indexes at it. But that approach doesn’t lead to high performance.

UUIDv4: My Biggest Database Performance Mistake

A long time ago, I made a call I thought was smart and scalable: using UUIDv4 as the primary key for alerting data. It seemed forward-looking.

Controlled Failure / Practice Before It Breaks

Some recent conversations touched on building a culture of reliability. This post explores one piece of that: practice.

Performance First Rails – Lessons From Production

Performance First Rails – Lessons From Production

Improving Asset Delivery Times with gzip_static

So, HTTPScout’s JavaScript bundle is 1.9MB.

Cleaner Mailer Views in Rails with the Presenter Pattern

I love the presenter pattern. I use it in all my mailer views.

Daily Docker Prune with Systemd

I use Docker. I used to manually prune Docker every few weeks to keep it from eating up all my disk. Annoyed I eventually put it in cron, but, have you used cron? It wasn’t fun, and I just can’t anymore with cron. I was complaining about it on Mastadon and the adam12 showed me a better way: use systemd timers to schedule the prune. Here’s how it works: first, two files—one for the service, one for…

No Appreciable Difference

Pre-pandemic DevOps was a strange place with stranger rules, rituals, and prayers. Here’s one I said regularly—something I thought would give me faster builds and smaller images.

5 Gems That I Use to Simplify Development on HTTPScout

When I was building HTTPScout, the goal was to keep things simple. Every extra service, integration, or dependency meant more things to break, more bugs to chase, more overhead. I’ve spent enough time cleaning up after “clever” setups to know that fewer moving parts is usually the better choice. These five gems helped me stay focused on building.