We usually try to solve performance problems by using #includes to get rid of N + 1 queries but this doesn’t always fix the issue; in fact, it can even create more queries under some circumstances. This post shows a few examples of when that happens and how to deal with it.
Introduction In the first part of this blog post we talked about how Rails and Phoenix compare on the web layer, if you haven’t read it go and check it out. Following on from that, we’ll see how data and the business layer are implemented on both frameworks. Migrations Let’s start
This is an introductory post to Phoenix, Elixir’s web framework. It is not intended to be a complete guide since it’s a big framework with lots of things to dive into, but rather to show a side by side comparison of how things are done in both frameworks using the