Tutorials
The Fastest Way to Generate a Heap Dump on Heroku
You’ve got an app with runaway memory use, what do you do hotshot? What do you do? If you’ve exausted the usual suspects it might be time to take drastic steps. It might be time to take a production heap dump. I previously wrote about doing this o...
3 ways to do eager loading (preloading) in Rails 3
You are probably already familiar with the method #includes for eager loading data from database if you are using Rails and ActiveRecord. But do you know why you someties get few small and nice SQL queries and sometimes one giant query with every ...
Reliable notifications between two apps or microservices
Let’s say you have 2 systems or microservices (or processes). And one of them needs to be notified when something happened in another one. You might believe it is not so hard unless you start thinking about networking, reliability, and consistency.
Conditionality is filtering. Don't filter control flow, filter data.
A few weeks ago our client decided to change the URL structure of some of the most important pages. There were a few reasons to do it. They don’t matter so much right now. The business just decided to prioritize one kind of benefits over another k...