flipper
How to benchmark your ruby gem
With a folder, some scripts, and some tools, you can make your ruby gem/code faster. Measure, improve and repeat.
π Anything related to improving performance in software. Fewer & Faster. Do something less often or make something faster.
flipper
With a folder, some scripts, and some tools, you can make your ruby gem/code faster. Measure, improve and repeat.
rails
Get your hands dirty with some SQL and native postgres partitioning.
flipper
The query, cache, code, feature flag, graph and point: control your code, even the tiny bits.
flipper
Even when you have a fully functioning product, there are a few hurdles to launching it. Read on to learn how we tackled them.
TIL
Postgres has a nice feature where you can index only the values you want to query on. Today I learned that Rails has a nice shortcut for taking advantage of said feature.
TIL
TIL something new about Rails. You can now use insert_all and upsert_all for efficient writes. But that's not all. Read on for what "just worked" and what didn't.
performance
In a recent post, I talked about how I used Postgres DISTINCT ON to remove a pesky N+1 query. That was actually one of the final touches in immproving the Graphics#index action for Box Out. Prior to that, I whipped together a pretty good amount of custom data
performance
I have talked about limiting everything [https://www.johnnunemaker.com/database-performance-simplified/] before, but I love examples, so I thought I would start bringing some out of the woodwork. How many times have you whipped out backticks or one of the million other ways you can shell out in Ruby? If
performance
By day, I am a mild mannered owner/programmer at Box Out Sports [https://boxoutsports.com]. By no means do you need to understand all that we do there or how we do it, but recently I fixed a tricky N+1 query and thought I should write it up.
performance
For the second half of 2014 and 2015, most of my time at GitHub was spent working on moving the notifications feature off the primary MySQL cluster on to a new MySQL cluster and making the feature resilient to failure of that cluster. When all your data is stored in
performance
Sometimes I feel developers think that performance is a dark art. It is not. In my experience, well performing systems come down to this: fewer and faster. If you are doing something a lot, do it fewer times. If you are doing something that is slow, make it faster. It
performance
deβ’cay noun - the state or process of rotting or decomposition. Let us kick off the new year with a lovely post on decay. All systems decay. Even when you continually work on improving the system, it decays. That said, in my experience, not all decay is equal with