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