Ask YC: what's the best way to model a threaded comment system like YC?
https://news.ycombinator.com/item?id=138149I'was thinking that maybe the best way would be use some king of nested set, but all the structures that i know are faster for reading purposes. And the tree here changes very often here, because voting changes it's structure.
Any idea?
This theory does not apply very well to a system like this (http://dev.mysql.com/tech-resources/articles/hierarchical-data.html)