Blazingly fast querying on huge tables by avoiding joins

Tl;dr: Avoid joins on large tables and evaluate parts of queries beforehand to get 100–10,000x performance gains! As mentioned in a previous post, because of some of our tables growing in size, our queries started performing poorly which resulted in a performance hit to our most used APIs. It was time we revisit some of … Continue reading Blazingly fast querying on huge tables by avoiding joins

Estimated counts for faster Django Admin change_list

Short story of how we reduced the response time of some of our admin pages by 1000x. The Problem One of our tables grew to over 25 million rows. Which, while not a large number, makes the most frequent queries slow. A direct effect it had was on our Admin panel. The change_list form for … Continue reading Estimated counts for faster Django Admin change_list

Building Habits, with a lot of help from Github

I suck at habits. I start out a dozen different things every week, and I drop them as easily soon after. I needed to do something about it. I have used any.do (irritating), keep, inbox reminders, and many other lists. Nothing works for me. What? I thought I needed something to keep me motivated. Now … Continue reading Building Habits, with a lot of help from Github