Ask YC: what's the best way to model a threaded comment system like YC?

https://news.ycombinator.com/item?id=138149
by pibefision • 18 years ago
30 28 18 years ago

I'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)

Related Stories

Loading related stories...

Source preview

news.ycombinator.com