Debugging hidden memory leaks in Ruby
This article covers some advanced techniques you can use to debug memory leaks in Ruby.
Writing about software, performance, Ruby, Discourse, and technology.
This article covers some advanced techniques you can use to debug memory leaks in Ruby.
Over the years one of the most complex issues we have had to deal with at Discourse was flaky tests, in this post I would like to talk a bit about the various patterns we have come across and ways we tackle this issue.
I stuck with Windows 10 as my primary OS for 6 years, despite being a Ruby developer. In this blog post I would like to cover why this happened.
Effectively dealing with logs is a critical skill you should hone. In this blog post I will cover how we handle web application error logs at Discourse, both in production and in development.
Often in development we have an annoying message in our console that we simply can not find the source of, here is a little trick you can use to hunt messages like this down.
In this post I would like to cover a severe, extremely hard to debug vector for memory bloat in Ruby which can be triggered by the PG gem.
Current patterns in Active Record lead to enormous amounts of resource usage. Here is an analysis of Rails 5.2
How we manage schema changes at Discourse minimizing downtime
It is very likely your Rails application is full of duplicate strings, here are some tricks you can use to get rid of them.
How we instrument Rails at Discourse and how you can, too.