RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

PostgreSQL and Rails, sitting in a tree: working with huge datasets

A post on working with large hierarchical structures in a Ruby on Rails + PostgreSQL application. The author does an overview of the most popular patterns, benchmarks them, and proves why the Closure Tree pattern, while not being very popular, sometimes outperforms the competition by far.

https://evilmartians.com/chronicles/postgresql-and-rails-sitting-in-a-tree

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in